/*!
Theme Name: TartTattoo
Theme URI: http://underscores.me/
Author: DEV
Author URI: https://web-dev.dev/
Description: Tema custom pentru site-ul de prezentare a studioului de tatuaje TartTattoo.
Version: 3.4.1
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tarttattoo
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

TartTattoo is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
  - Normalize
  - Box sizing
# Utilities
  - Accessibility
  - Alignments

Component styles live next to each custom component.
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type='checkbox'],
[type='radio'] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type='search'] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex='-1']:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Global header
--------------------------------------------------------------*/
:root {
  --paper: #f0eadc;
  --paper-deep: #e4dccb;
  --paper-soft: #f5efe3;
  --ink: #14110d;
  --ink-2: #332c24;
  --mute: #6b6353;
  --mark: #4e3a8a;
  --mark-soft: #8e7cc5;
  --rail: clamp(20px, 5vw, 72px);
  --display-font: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --sans: 'Space Grotesk', sans-serif;
  --script: 'Rajdhani', 'Arial Narrow', sans-serif;
  /* Mobile size for Bebas display headings: 100px from 390px wide, scaled down on narrower phones.
     js/theme.js shrinks a single heading further only when its longest word would not fit. */
  --tart-display-mobile: min(100px, 25.7vw);
}

/* Mobile: page content starts 8px from the screen edge (see ELEMENTOR-MOBILE-RULES.md).
   Header, top band and footer keep their own 20px rail. */
@media (max-width: 767px) {
  :root {
    --rail: 8px;
  }

  .top-band,
  .site-header,
  footer.site-footer {
    --rail: 20px;
  }
}

:where(#page h1 em, #page h2 em, #page h3 em, .tart-accent) {
  font-family: var(--script);
  font-style: normal;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

/* Links inside Elementor text blocks keep the surrounding color and are marked by an underline. */
.elementor .elementor-widget-text-editor a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.top-band {
  position: relative;
  z-index: 100;
  min-height: 34px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  background: #12100d;
  color: var(--paper);
  font: 600 12px/1 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.top-status,
.top-place {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  white-space: nowrap;
}

.top-status {
  position: relative;
  z-index: 2;
  background: #12100d;
  padding-right: 14px;
}

.top-place {
  position: relative;
  z-index: 2;
  min-width: max-content;
  justify-self: end;
  background: #12100d;
  color: #8e7cc5;
}

.top-status-trigger {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.status-dot {
  width: 18px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #21351f;
}

.status-dot:before {
  content: '';
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #83d279;
  box-shadow: 0 0 14px #83d279;
}

.is-closed .status-dot:before {
  background: #d36c61;
  box-shadow: 0 0 14px #d36c61;
}

.hours-dropdown {
  position: absolute;
  left: var(--rail);
  top: calc(100% + 8px);
  width: min(330px, calc(100vw - 32px));
  padding: 18px;
  background: #12100d;
  border: 1px solid #554f47;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-5px);
  transition: opacity 0.18s, transform 0.18s;
  z-index: 50;
}

.top-status:hover .hours-dropdown,
.top-status:focus-within .hours-dropdown,
.is-hours-open .hours-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.hours-dropdown-head {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #403b35;
}

.hours-dropdown dl {
  display: grid;
  gap: 9px;
  margin: 0;
}

.hours-dropdown dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.hours-dropdown dt,
.hours-dropdown dd {
  margin: 0;
}

.top-marquee {
  min-width: 0;
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-inline: 1px solid #302d29;
}

.top-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.top-group {
  display: flex;
  flex: 0 0 auto;
}

.top-group span {
  padding: 0 22px;
  white-space: nowrap;
}

.top-group span:before {
  content: '*';
  margin-right: 14px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.site-header.site-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 126px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px var(--rail);
  background: rgba(240, 234, 220, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font: 500 12px/1.2 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-branding .custom-logo {
  display: block;
  width: 114px;
  height: 114px;
  object-fit: contain;
  transition:
    width 0.24s ease,
    height 0.24s ease;
}

.site-header.site-nav.is-stuck .site-branding .custom-logo {
  width: 97px;
  height: 97px;
}

.site-branding .site-title {
  margin: 0;
}

.main-navigation.nav-links ul {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 42px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation.nav-links a {
  position: relative;
  padding: 9px 0;
  color: var(--ink);
  font-size: 14px;
}

.main-navigation.nav-links a:after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--mark);
  transform: scaleX(0);
  transition: 0.2s;
}

.main-navigation.nav-links a:hover:after {
  transform: scaleX(1);
}

.nav-tools {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tart-nav-action {
  position: relative;
  z-index: 35;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  isolation: isolate;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.tart-nav-action::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  border: 1px solid rgba(20, 17, 13, 0.42);
  background: rgba(240, 234, 220, 0.48);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}

.tart-nav-action svg {
  position: relative;
  z-index: 1;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.tart-nav-action>span {
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  z-index: 3;
  width: max-content;
  padding: 10px 12px;
  border: 1px solid rgba(20, 17, 13, 0.2);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 10px 24px rgba(20, 17, 13, 0.18);
  font: 700 14px/1 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.tart-nav-action:hover,
.tart-nav-action:focus-visible,
.tart-nav-action.is-current {
  color: var(--paper);
  transform: translateY(-1px);
}

.tart-nav-action:hover::before,
.tart-nav-action:focus-visible::before,
.tart-nav-action.is-current::before {
  border-color: var(--mark);
  background: var(--mark);
}

.tart-nav-action:hover>span,
.tart-nav-action:focus-visible>span {
  opacity: 1;
  transform: translate(-50%, 0);
}

.tart-nav-cart__count {
  position: absolute;
  top: -5px;
  right: -5px;
  z-index: 3;
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border: 2px solid var(--paper);
  border-radius: 20px;
  background: var(--mark);
  color: var(--paper);
  font: 800 12px/1 var(--sans);
  letter-spacing: 0;
}

.tart-nav-cart__count[hidden] {
  display: none;
}

.tart-nav-cart-wrap {
  position: relative;
  z-index: 38;
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.tart-nav-cart-wrap::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 0;
  width: 76px;
  height: 15px;
}

.tart-nav-cart-wrap>.tart-nav-cart>span {
  display: none;
}

.tart-header-mini-cart {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 80;
  width: min(410px, calc(100vw - 28px));
  border: 1px solid rgba(20, 17, 13, .24);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 54px rgba(20, 17, 13, .2);
  letter-spacing: 0;
  text-transform: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.tart-nav-cart-wrap:hover .tart-header-mini-cart,
.tart-nav-cart-wrap:focus-within .tart-header-mini-cart {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.tart-header-mini-cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(20, 17, 13, .18);
}

.tart-header-mini-cart__head span {
  font: 400 28px/1 "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  text-transform: uppercase;
}

.tart-header-mini-cart__head b {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  background: var(--mark);
  color: var(--paper);
  font: 700 12px/1 var(--mono);
}

.tart-header-mini-cart__items {
  max-height: min(430px, 55vh);
  overflow: auto;
  overscroll-behavior: contain;
}

.tart-header-mini-cart__item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 15px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(20, 17, 13, .13);
}

.tart-header-mini-cart__image {
  display: block;
  width: 76px;
  height: 82px;
  overflow: hidden;
  background: #ded7c9;
}

.tart-header-mini-cart__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tart-header-mini-cart__item>div {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
}

.tart-header-mini-cart__item>div>span {
  color: var(--mark);
  font: 700 12px/1.25 var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.tart-header-mini-cart__item>div>a,
.tart-header-mini-cart__item>div>strong {
  overflow: hidden;
  color: var(--ink);
  font: 650 14px/1.3 var(--sans);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tart-header-mini-cart__item>div>b,
.tart-header-mini-cart__item>div>b .amount {
  color: var(--ink);
  font: 400 20px/1 "Bebas Neue", "Arial Narrow", Impact, sans-serif;
}

.tart-header-mini-cart__footer {
  display: grid;
  gap: 15px;
  padding: 18px 20px 20px;
}

.tart-header-mini-cart__footer>div:first-child {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.tart-header-mini-cart__footer>div:first-child span {
  color: #6b6353;
  font: 700 12px/1 var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.tart-header-mini-cart__footer>div:first-child strong,
.tart-header-mini-cart__footer>div:first-child .amount {
  font: 400 28px/1 "Bebas Neue", "Arial Narrow", Impact, sans-serif;
}

.tart-header-mini-cart__footer>div:last-child {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 8px;
}

.tart-header-mini-cart__footer a {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid rgba(20, 17, 13, .35);
  color: var(--ink);
  font: 700 14px/1.2 var(--mono);
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}

.tart-header-mini-cart__footer a.is-primary {
  justify-content: space-between;
  border-color: var(--mark);
  background: var(--mark);
  color: var(--paper);
}

.tart-header-mini-cart__empty {
  padding: 38px 24px 42px;
  text-align: center;
}

.tart-header-mini-cart__empty>span {
  display: grid;
  width: 55px;
  height: 55px;
  place-items: center;
  margin: 0 auto 17px;
  border: 1px solid var(--mark);
  color: var(--mark);
}

.tart-header-mini-cart__empty svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.tart-header-mini-cart__empty strong {
  display: block;
  font: 400 32px/1 "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  text-transform: uppercase;
}

.tart-header-mini-cart__empty p {
  max-width: 280px;
  margin: 10px auto 0;
  color: #6b6353;
  font: 500 13px/1.5 var(--sans);
}

.lang-switch {
  position: relative;
}

.lang-switch::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 8px;
}

.lang-trigger {
  width: auto;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 15px 0 13px;
  border: 1px solid rgba(20, 17, 13, 0.42);
  background: rgba(240, 234, 220, 0.48);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.lang-trigger:hover,
.lang-trigger:focus,
.lang-switch.is-lang-open .lang-trigger {
  border-color: var(--mark);
  background: var(--paper-soft);
  color: var(--mark);
}

.lang-flag {
  width: 24px;
  height: 16px;
  display: block;
  flex: 0 0 24px;
  border: 1px solid rgba(20, 17, 13, 0.18);
  border-radius: 0;
  object-fit: cover;
  box-shadow: none;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 166px;
  padding: 8px;
  border: 1px solid rgba(20, 17, 13, 0.2);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(20, 17, 13, 0.18);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-5px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
  z-index: 30;
}

.lang-switch:hover .lang-menu,
.lang-switch:focus-within .lang-menu,
.lang-switch.is-lang-open .lang-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-menu a {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: none;
}

.lang-menu a:hover,
.lang-menu a:focus,
.lang-menu a[aria-current='page'] {
  background: rgba(78, 58, 138, 0.1);
  color: var(--mark);
}

.lang-menu strong {
  font: inherit;
}

.tart-menu-measure {
  position: fixed !important;
  top: 0;
  left: -10000px;
  width: max-content !important;
  display: flex !important;
  gap: clamp(16px, 3vw, 42px) !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.tart-menu-measure>li {
  display: block !important;
}

.tart-menu-measure>li>a {
  display: block !important;
  padding: 9px 0 !important;
  font: 500 14px/1.2 var(--mono) !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

.tart-menu-measure ul {
  display: none !important;
}

.tart-tools-measure {
  position: fixed !important;
  top: 0;
  left: -10000px;
  width: max-content !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.tart-tools-measure .nav-cta {
  display: inline-flex !important;
}

.menu-toggle {
  position: relative;
  z-index: 125;
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  flex: 0 0 46px;
  padding: 0;
  border: 1px solid rgba(20, 17, 13, 0.42);
  background: rgba(240, 234, 220, 0.72);
  color: var(--ink);
  cursor: pointer;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible,
.menu-toggle[aria-expanded='true'] {
  border-color: var(--mark);
  background: var(--mark);
  color: var(--paper);
  transform: translateY(-1px);
}

.menu-toggle__icon {
  position: relative;
  width: 21px;
  height: 15px;
  display: block;
}

.menu-toggle__icon span {
  position: absolute;
  left: 0;
  width: 21px;
  height: 2px;
  display: block;
  background: currentColor;
  transform-origin: center;
  transition:
    top 0.24s ease,
    opacity 0.18s ease,
    transform 0.24s ease;
}

.menu-toggle__icon span:nth-child(1) {
  top: 0;
}

.menu-toggle__icon span:nth-child(2) {
  top: 6.5px;
}

.menu-toggle__icon span:nth-child(3) {
  top: 13px;
}

.menu-toggle[aria-expanded='true'] .menu-toggle__icon span:nth-child(1) {
  top: 6.5px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded='true'] .menu-toggle__icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle[aria-expanded='true'] .menu-toggle__icon span:nth-child(3) {
  top: 6.5px;
  transform: rotate(-45deg);
}

.site-header.site-nav.is-menu-compact {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.site-header.site-nav.is-menu-compact .site-branding {
  grid-column: 1;
  grid-row: 1;
}

.site-header.site-nav.is-menu-compact .nav-tools {
  grid-column: 2;
  grid-row: 1;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.site-header.site-nav.is-menu-compact>.menu-toggle {
  grid-column: 3;
  grid-row: 1;
  display: grid;
}

.site-header.site-nav.is-menu-compact .main-navigation {
  position: fixed;
  top: var(--tart-menu-overlay-top, 0px);
  right: 0;
  bottom: auto;
  left: 0;
  z-index: 120;
  width: 100%;
  height: calc(100vh - var(--tart-menu-overlay-top, 0px));
  height: calc(100dvh - var(--tart-menu-overlay-top, 0px));
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(14px, 2vh, 24px);
  padding: calc(var(--tart-nav-header-height, 100px) + clamp(24px, 4vh, 58px)) var(--rail) clamp(28px, 6vh, 72px);
  overflow: hidden;
  background: rgba(240, 234, 220, 0.985);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  /* Enter compact layout immediately; animate only deliberate menu actions. */
  transition: none;
}

.site-header.site-nav.is-menu-compact.is-menu-closing .main-navigation {
  transition:
    opacity 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.36s;
}

.site-header.site-nav.is-menu-compact .main-navigation.toggled {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.36s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

.site-header.site-nav.is-menu-compact .main-navigation.nav-links>ul {
  position: relative;
  z-index: 2;
  width: min(100%, 1420px);
  min-height: 0;
  display: grid;
  height: 100%;
  align-content: stretch;
  justify-content: stretch;
  grid-auto-rows: minmax(clamp(70px, 10vh, 132px), 1fr);
  gap: 0;
  margin: 0 auto;
  padding: 0 max(8px, 1vw) 0 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.site-header.site-nav.is-menu-compact .main-navigation.nav-links>ul>li::before {
  content: none !important;
  display: none !important;
}

.site-header.site-nav.is-menu-compact .main-navigation.nav-links>ul>li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  opacity: 0;
  filter: blur(5px);
  transform: translateY(20px);
  transition:
    opacity 0.34s ease,
    filter 0.42s ease,
    transform 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.site-nav.is-menu-compact .main-navigation.toggled>ul>li {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  transition-delay: calc(0.08s + var(--menu-index, 0) * 0.05s);
}

.site-header.site-nav.is-menu-compact .main-navigation.nav-links>ul>li>a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: clamp(12px, 1.6vh, 20px) 0;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  transition:
    color 0.22s ease,
    opacity 0.22s ease;
}

.site-header.site-nav.is-menu-compact .main-navigation.nav-links>ul>li>a::after {
  display: none;
}

.site-header.site-nav.is-menu-compact .main-navigation.nav-links>ul>li>a:hover,
.site-header.site-nav.is-menu-compact .main-navigation.nav-links>ul>li>a:focus,
.site-header.site-nav.is-menu-compact .main-navigation.nav-links>ul>.current-menu-item>a {
  color: var(--mark);
}

.site-header.site-nav.is-menu-compact .main-navigation.nav-links .sub-menu {
  position: static;
  flex: 0 0 100%;
  width: 100%;
  display: grid;
  gap: 0;
  margin: 0 0 14px;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.site-header.site-nav.is-menu-compact .main-navigation.nav-links .sub-menu a {
  width: 100%;
  padding: 10px 0;
  color: var(--ink-2);
  font: 700 12px/1.3 var(--mono);
}

.tart-menu-actions {
  display: none;
}

.site-header.site-nav.is-menu-compact .tart-menu-actions {
  position: relative;
  z-index: 2;
  width: min(100%, 1420px);
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 auto;
  padding-top: clamp(14px, 2vh, 22px);
  border-top: 1px solid rgba(20, 17, 13, 0.2);
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.28s ease,
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.site-nav.is-menu-compact .main-navigation.toggled .tart-menu-actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.site-header.site-nav.is-menu-compact .tart-menu-action {
  width: 100%;
  height: 46px;
  display: flex;
  flex-basis: auto;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 14px;
}

.site-header.site-nav.is-menu-compact .tart-menu-action>span {
  position: static;
  z-index: 1;
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
  font: 700 12px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 1;
  transform: none;
  clip-path: none;
}

.site-header.site-nav.is-menu-compact .tart-menu-action:hover>span,
.site-header.site-nav.is-menu-compact .tart-menu-action:focus-visible>span {
  transform: none;
}

.site-header.site-nav.is-menu-compact .tart-menu-actions__cta {
  width: 100%;
  min-width: 0;
  position: relative;
  justify-content: center;
  padding: 0 56px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-align: center;
}

.site-header.site-nav.is-menu-compact .tart-menu-actions__cta-label {
  display: block;
  width: 100%;
  text-align: center;
}

.site-header.site-nav.is-menu-compact .tart-menu-actions__cta .btn-icon {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.site-header.site-nav.is-menu-compact .tart-menu-actions__cta,
.site-header.site-nav.is-menu-compact .tart-menu-actions__cta:visited {
  color: #fffaf0;
}

.site-header.site-nav.is-menu-compact .tart-menu-actions__cta:hover,
.site-header.site-nav.is-menu-compact .tart-menu-actions__cta:focus-visible {
  color: var(--paper);
}

.site-header.site-nav.is-menu-open {
  z-index: 120;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header.site-nav.is-menu-open .site-branding,
.site-header.site-nav.is-menu-open .nav-tools,
.site-header.site-nav.is-menu-open>.menu-toggle {
  position: relative;
  z-index: 125;
}

.site-header.site-nav.is-menu-closing .site-branding,
.site-header.site-nav.is-menu-closing .nav-tools,
.site-header.site-nav.is-menu-closing>.menu-toggle {
  animation: tart-header-exit-reveal 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-header.site-nav.is-menu-closing .nav-tools {
  animation-delay: 0.04s;
}

.site-header.site-nav.is-menu-closing>.menu-toggle {
  animation-delay: 0.07s;
}

/* Fade only: a vertical offset here made the logo and toggle jump up on close. */
@keyframes tart-header-exit-reveal {
  from {
    opacity: 0.6;
  }

  to {
    opacity: 1;
  }
}

html.tart-menu-open,
html.tart-menu-open body {
  overflow: hidden;
  overscroll-behavior: none;
}

html.tart-menu-open body {
  /* Keep the sticky header anchored to the viewport while html locks scrolling. */
  overflow: clip;
}

@media (max-width: 680px) {
  .site-header.site-nav {
    gap: 12px;
  }

  .top-band {
    grid-template-columns: auto 1fr;
  }

  .top-place {
    display: none;
  }

  .nav-tools {
    gap: 6px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .lang-trigger {
    width: 46px;
    justify-content: center;
    padding: 0;
  }

  .lang-trigger span {
    display: none;
  }

  .site-branding .custom-logo {
    width: 84px;
    height: 84px;
  }

  .site-header.site-nav.is-stuck .site-branding .custom-logo {
    width: 71px;
    height: 71px;
  }
}

@media (min-width: 580px) {
  .site-header.site-nav.is-menu-compact .main-navigation {
    grid-template-rows: minmax(0, 1fr);
    gap: 0;
  }
}

@media (max-width: 579px) {

  .site-header.site-nav.is-menu-compact .nav-tools>.tart-nav-action,
  .site-header.site-nav.is-menu-compact .nav-tools>.tart-nav-cart-wrap,
  .site-header.site-nav.is-menu-compact .nav-tools>.nav-cta {
    display: none;
  }

  .site-header.site-nav.is-menu-compact .tart-menu-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 12px;
  }

  .site-header.site-nav.is-menu-compact .tart-menu-actions__cta {
    grid-column: 1 / -1;
    display: inline-flex;
  }
}

@media (max-width: 480px) {
  footer.site-footer {
    padding-inline: 8px !important;
  }

  .site-header.site-nav.is-menu-compact .main-navigation {
    gap: 12px;
    padding-top: calc(var(--tart-nav-header-height, 90px) + 16px);
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }

  .site-header.site-nav.is-menu-compact .main-navigation.nav-links>ul {
    grid-auto-rows: minmax(64px, 1fr);
  }

  .site-header.site-nav.is-menu-compact .main-navigation.nav-links>ul>li>a {
    font-size: clamp(38px, 12vw, 60px);
  }

  .site-header.site-nav.is-menu-compact .tart-menu-action {
    padding: 0 9px;
  }

  .site-header.site-nav.is-menu-compact .tart-menu-action>span {
    font-size: 12px;
    letter-spacing: 0.035em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-track {
    animation: none;
  }

  .site-branding .custom-logo {
    transition: none;
  }

  .menu-toggle,
  .menu-toggle__icon span,
  .site-header.site-nav.is-menu-compact .main-navigation,
  .site-header.site-nav.is-menu-compact .main-navigation.toggled,
  .site-header.site-nav.is-menu-compact.is-menu-closing .main-navigation,
  .site-header.site-nav.is-menu-compact .main-navigation.nav-links>ul>li {
    transition: none;
  }

  .site-header.site-nav.is-menu-compact .tart-menu-actions {
    transition: none;
  }

  .site-header.site-nav.is-menu-closing .site-branding,
  .site-header.site-nav.is-menu-closing .nav-tools,
  .site-header.site-nav.is-menu-closing>.menu-toggle {
    animation: none;
  }
}

/* Component reset: prevent broad theme and plugin selectors from leaking in. */
#page .top-band *,
#page .site-header * {
  box-sizing: border-box;
}

:where(.top-band, .site-header) a {
  color: inherit;
  text-decoration: none;
}

:where(.top-band, .site-header) a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

:where(.top-band, .site-header, .site-footer) button:focus-visible,
.btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

#page .top-band button,
#page .site-header button {
  border-radius: 0;
  box-shadow: none;
}

#page .top-band dl,
#page .top-band dt,
#page .top-band dd,
#page .site-header p,
#page .site-header ul,
#page .site-header li {
  margin: 0;
}

#page .site-header ul {
  padding: 0;
}

/* Exact color and interaction values from preview_v1. */
.top-place {
  color: #8e7cc5;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.top-place:hover {
  color: #f0eadc;
  background: rgba(78, 58, 138, 0.28);
}

.hours-dropdown {
  border-color: rgba(240, 234, 220, 0.24);
  color: #f0eadc;
  box-shadow: 0 18px 46px rgba(20, 17, 13, 0.32);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.hours-dropdown-head {
  border-bottom-color: rgba(240, 234, 220, 0.14);
}

.hours-dropdown-head span {
  color: #8e7cc5;
}

.hours-dropdown-head strong {
  color: #f0eadc;
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: 0.1em;
}

.hours-dropdown dd {
  color: rgba(240, 234, 220, 0.74);
  text-align: right;
}

.top-marquee {
  color: rgba(240, 234, 220, 0.82);
  border-inline-color: rgba(240, 234, 220, 0.1);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.top-group {
  align-items: center;
}

.top-group span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.top-group span::before {
  margin-right: 0;
  color: #f5efe3;
}

.main-navigation.nav-links a::after {
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.main-navigation.nav-links a:hover,
.main-navigation.nav-links a:focus,
.main-navigation.nav-links .current-menu-item>a {
  color: #4e3a8a;
}

.main-navigation.nav-links a:hover::after,
.main-navigation.nav-links a:focus::after,
.main-navigation.nav-links .current-menu-item>a::after {
  transform: scaleX(1);
}

/*--------------------------------------------------------------
# Global page surface
--------------------------------------------------------------*/
body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 16%, rgba(78, 58, 138, 0.08), transparent 28%),
    linear-gradient(180deg, var(--paper), #ebe3d2);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(rgba(20, 17, 13, 0.12) 0.55px, transparent 0.7px),
    radial-gradient(rgba(20, 17, 13, 0.08) 0.45px, transparent 0.65px);
  background-size:
    18px 18px,
    31px 31px;
  background-position:
    0 0,
    9px 13px;
}

.main-navigation.nav-links a {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/*--------------------------------------------------------------
# Global buttons and link buttons
--------------------------------------------------------------*/
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 16px 0 20px;
  border: 1px solid rgba(20, 17, 13, 0.52);
  border-radius: 0;
  box-shadow: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  -webkit-clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
  box-shadow: none;
  text-decoration: none;
}

/* The icon cell absorbs the button's right padding (same total width), so the
   icon sits centred between the divider and the button's right edge. */
.btn:has(.btn-icon) {
  padding-right: 0;
}

.btn .btn-icon {
  width: 48px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 48px;
  border-left: 1px solid currentColor;
}

.btn .btn-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Shared arrows stay independent of the label's font and inherited span styles. */
svg.tart-arrow {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  vertical-align: -0.25em;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  transition: transform 180ms ease;
  --tart-arrow-x: 3px;
  --tart-arrow-y: 0px;
}

svg.tart-arrow--left { --tart-arrow-x: -3px; }
svg.tart-arrow--up { --tart-arrow-x: 0px; --tart-arrow-y: -3px; }
svg.tart-arrow--down { --tart-arrow-x: 0px; --tart-arrow-y: 3px; }
svg.tart-arrow--up-right { --tart-arrow-x: 2px; --tart-arrow-y: -2px; }
svg.tart-arrow--down-right { --tart-arrow-x: 2px; --tart-arrow-y: 2px; }

:is(a, button):is(:hover, :focus-visible):not(:disabled):not([aria-disabled="true"]) .tart-arrow {
  transform: translate(var(--tart-arrow-x), var(--tart-arrow-y));
}

@media (prefers-reduced-motion: reduce) {
  svg.tart-arrow { transition: none; }
  :is(a, button):is(:hover, :focus-visible):not(:disabled):not([aria-disabled="true"]) .tart-arrow { transform: none; }
}

.btn-primary {
  border-color: var(--mark);
  background: var(--mark);
  color: #fffaf0;
  text-shadow: 0 1px 0 rgba(20, 17, 13, 0.2);
}

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

.btn-secondary {
  background: rgba(240, 234, 220, 0.24);
  color: var(--ink);
}

.btn-secondary:hover,
.btn-secondary:focus {
  border-color: var(--mark);
  background: var(--paper-soft);
  color: var(--mark);
}

/* Header-specific positioning; visual styles come from .btn.btn-primary. */
.nav-cta {
  justify-self: end;
}

/*--------------------------------------------------------------
# 404 page
--------------------------------------------------------------*/
.tart-404-page {
  position: relative;
  z-index: 7;
  background: var(--paper);
}

.tart-404 {
  position: relative;
  display: grid;
  min-height: clamp(560px, 72vh, 860px);
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(78, 58, 138, 0.16), transparent 26%),
    linear-gradient(rgba(20, 17, 13, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 17, 13, 0.035) 1px, transparent 1px), var(--paper);
  background-size:
    auto,
    52px 52px,
    52px 52px,
    auto;
}

.tart-404__inner {
  width: min(100%, 1680px);
  display: grid;
  align-content: center;
  gap: clamp(34px, 5vw, 72px);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 126px) var(--rail);
}

.tart-404__kicker {
  width: max-content;
  margin: 0;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .1em;
  text-transform: uppercase;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.tart-404__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: clamp(30px, 6vw, 104px);
}

.tart-404__code {
  color: var(--mark);
  font-family: var(--display-font);
  font-size: clamp(210px, 35vw, 610px);
  font-weight: 400;
  line-height: 0.66;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.tart-404__content {
  display: grid;
  justify-items: start;
  gap: clamp(24px, 3vw, 42px);
  padding: clamp(24px, 3vw, 48px) 0 clamp(8px, 1.2vw, 18px) clamp(24px, 3vw, 48px);
  border-left: 1px solid rgba(20, 17, 13, 0.26);
}

.tart-404__content h1 {
  max-width: 440px;
  margin: 0;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: clamp(62px, 7vw, 118px);
  font-weight: 400;
  line-height: 0.92;
  text-transform: uppercase;
}

.tart-404__mark {
  position: absolute;
  top: clamp(30px, 5vw, 80px);
  right: var(--rail);
  width: clamp(62px, 6vw, 96px);
  aspect-ratio: 1;
  border: 1px solid rgba(78, 58, 138, 0.42);
  border-radius: 50%;
  pointer-events: none;
}

.tart-404__mark::before,
.tart-404__mark::after {
  content: '';
  position: absolute;
  inset: 50% 14%;
  height: 1px;
  background: var(--mark);
}

.tart-404__mark::after {
  transform: rotate(90deg);
}

@media (max-width: 900px) {
  .tart-404__layout {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 38px;
  }

  .tart-404__code {
    font-size: clamp(190px, 58vw, 430px);
  }

  .tart-404__content {
    padding: 0 0 0 24px;
  }
}

@media (max-width: 520px) {
  .tart-404 {
    min-height: 620px;
  }

  .tart-404__inner {
    gap: 46px;
  }

  .tart-404__code {
    font-size: clamp(170px, 58vw, 260px);
  }

  .tart-404__content h1 {
    font-size: clamp(58px, 18vw, 82px);
  }
}

/*--------------------------------------------------------------
# Global footer
--------------------------------------------------------------*/
footer.site-footer {
  position: relative;
  z-index: 7;
  padding: clamp(72px, 7vw, 96px) var(--rail) 32px;
  background: var(--ink);
  color: var(--paper);
}

footer.site-footer,
footer.site-footer * {
  box-sizing: border-box;
}

.tart-footer__inner {
  width: min(100%, 1680px);
  margin: 0 auto;
}

.tart-footer__top {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(0, 2.2fr);
  align-items: start;
  gap: clamp(56px, 8vw, 120px);
  padding-bottom: 72px;
  border-bottom: 1px solid rgba(240, 234, 220, 0.12);
}

.tart-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.tart-footer__logo-link {
  display: inline-flex;
  color: inherit;
  text-decoration: none;
}

footer.site-footer img.tart-footer__logo {
  width: auto;
  max-width: 224px;
  height: 160px;
  display: block;
  margin-left: -12px;
  object-fit: contain;
}

footer.site-footer img.lang-flag {
  width: 24px;
  max-width: 24px;
  height: 16px;
}

.tart-footer__tagline {
  max-width: 460px;
  margin: 0;
  color: rgba(240, 234, 220, 0.85);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(20px, 1.7vw, 26px);
  font-style: italic;
  line-height: 1.4;
}

.tart-footer__meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: #c9b8ff;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tart-footer__meta-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #c9b8ff;
}

.tart-footer__columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3.2vw, 56px);
  padding-top: 12px;
}

.tart-footer__column {
  min-width: 0;
}

.tart-footer__column h2 {
  margin: 0 0 20px;
  color: rgba(240, 234, 220, 0.62);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tart-footer__column p,
.tart-footer__column a {
  color: rgba(240, 234, 220, 0.85);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
}

.tart-footer__column p {
  margin: 0;
}

.tart-footer__coordinates {
  margin-top: 12px !important;
  color: #c9b8ff !important;
  font-family: var(--mono) !important;
  font-size: 12px !important;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tart-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tart-footer__links li {
  margin: 0;
}

.tart-footer__links a,
.tart-footer__links a:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(240, 234, 220, 0.85);
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.tart-footer__links a::before {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  background: #c9b8ff;
  content: '';
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tart-footer__links a:hover,
.tart-footer__links a:focus-visible {
  color: #c9b8ff;
}

.tart-footer__links a:focus-visible,
.tart-footer__logo-link:focus-visible {
  outline: 2px solid #c9b8ff;
  outline-offset: 4px;
}

.footer-lang-switch {
  width: min(100%, 180px);
}

.footer-lang-switch::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  width: 100%;
  height: 8px;
  content: '';
}

#page .footer-lang-trigger {
  width: 100%;
  border-color: rgba(240, 234, 220, 0.32);
  background: rgba(240, 234, 220, 0.06);
  color: var(--paper);
}

#page .footer-lang-trigger span {
  display: inline;
}

#page .footer-lang-trigger:hover,
#page .footer-lang-trigger:focus,
#page .footer-lang-switch.is-lang-open .footer-lang-trigger {
  border-color: #c9b8ff;
  background: rgba(201, 184, 255, 0.12);
  color: #c9b8ff;
}

.footer-lang-menu {
  top: auto;
  right: auto;
  bottom: calc(100% + 8px);
  left: 0;
  border-color: rgba(240, 234, 220, 0.2);
  background: #1a1713;
  color: var(--paper);
  box-shadow: 0 -18px 42px rgba(0, 0, 0, 0.34);
  transform: translateY(5px);
}

.footer-lang-switch:hover .footer-lang-menu,
.footer-lang-switch:focus-within .footer-lang-menu,
.footer-lang-switch.is-lang-open .footer-lang-menu {
  transform: translateY(0);
}

#page .footer-lang-menu a,
#page .footer-lang-menu a:visited {
  color: var(--paper);
}

#page .footer-lang-menu a:hover,
#page .footer-lang-menu a:focus,
#page .footer-lang-menu a[aria-current='page'] {
  background: rgba(201, 184, 255, 0.12);
  color: #c9b8ff;
}

/* Company details and the ANPC badge share the first row; the legal links get a full row below,
   so the company text is never squeezed into a narrow column by the links. */
.tart-footer__legal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px 40px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(240, 234, 220, 0.12);
}

.tart-footer__company {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  color: rgba(240, 234, 220, 0.66);
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: .1em;
  line-height: 1.6;
  text-transform: uppercase;
}

.tart-footer__company strong {
  color: rgba(240, 234, 220, 0.9);
  font-weight: 600;
}

.tart-footer__legal-links {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tart-footer__legal-links li {
  margin: 0;
}

.tart-footer__legal-links a,
.tart-footer__legal-links a:visited {
  color: rgba(240, 234, 220, 0.85);
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: .1em;
  text-decoration: underline;
  text-decoration-color: rgba(240, 234, 220, 0.3);
  text-underline-offset: 3px;
  text-transform: uppercase;
}

.tart-footer__legal-links a:hover,
.tart-footer__legal-links a:focus-visible {
  color: #c9b8ff;
  text-decoration-color: currentColor;
}

.tart-footer__anpc a {
  display: block;
  line-height: 0;
}

.tart-footer__anpc a:focus-visible {
  outline: 2px solid #c9b8ff;
  outline-offset: 4px;
}

.tart-footer__anpc img {
  display: block;
  width: 250px;
  height: 50px;
  object-fit: fill;
}

@media (max-width: 680px) {
  .tart-footer__legal {
    grid-template-columns: 1fr;
  }

  .tart-footer__company {
    flex-direction: column;
  }
}

.tart-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 20px;
  color: rgba(240, 234, 220, 0.58);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media (max-width: 1200px) {
  .tart-footer__top {
    grid-template-columns: 1fr;
  }

  .tart-footer__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  footer.site-footer {
    padding-top: clamp(56px, 14vw, 82px);
  }

  .tart-footer__top {
    gap: 46px;
    padding-bottom: 42px;
  }

  footer.site-footer img.tart-footer__logo {
    height: 120px;
  }

  .tart-footer__columns {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .tart-footer__bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tart-footer__links a {
    transition: none;
  }
}

/*--------------------------------------------------------------
# Global back to top
--------------------------------------------------------------*/
.tart-back-to-top {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 80;
  width: auto;
  min-width: 0;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 7px 0 16px;
  border: 1px solid var(--mark);
  border-radius: 0;
  background: var(--mark);
  color: #fffaf0;
  box-shadow: 0 14px 34px rgba(20, 17, 13, 0.2);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  -webkit-clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.tart-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.tart-back-to-top:hover,
.tart-back-to-top:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
}

.tart-back-to-top:focus-visible {
  outline: 2px solid var(--mark);
  outline-offset: 4px;
}

.tart-back-to-top__icon {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 32px;
  border-left: 1px solid currentColor;
}

.tart-back-to-top__icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

#is-sticky {
  position: sticky;
  top: 143px;
  align-self: flex-start;
}

/* The information-page index stacks above the content at this breakpoint. */
@media (max-width: 1024px) {
  #is-sticky {
    position: static;
    top: auto;
  }
}

#clipped {
  clip-path: polygon(17px 0, 100% 0, 100% calc(100% - 17px), calc(100% - 17px) 100%, 0 100%, 0 17px);
}

.blurred {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Hero text boxes sit on real studio photos: keep them dark enough to read (Elementor sets rgba(0,0,0,.53) per element). */
.e-con.blurred {
  background-color: rgba(14, 12, 9, .8) !important;
}

@media (max-width: 680px) {
  .tart-back-to-top {
    width: 46px;
    padding: 0;
    justify-content: center;
  }

  .tart-back-to-top__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .tart-back-to-top__icon {
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tart-back-to-top {
    transition: none;
  }
}

/* Keep anchored sections visible below the sticky navigation. */
#portofoliu,
#artisti,
#jurnal,
#reviews,
#contact,
#formular-programare {
  scroll-margin-top: 160px;
}

@media (max-width: 680px) {

  #portofoliu,
  #artisti,
  #jurnal,
  #reviews,
  #contact,
  #formular-programare {
    scroll-margin-top: 130px;
  }
}

/*--------------------------------------------------------------
# Mobile: keep long words and wide content inside the screen
--------------------------------------------------------------*/
@media (max-width: 767px) {
  /* Large display headings are shrunk to fit by js/theme.js; breaking a word is only the no-JS fallback. */
  #page h1,
  #page h2,
  #page h3 {
    overflow-wrap: break-word;
  }

  /* Elementor also uses div/span for display subtitles. */
  .elementor-widget-heading .elementor-heading-title {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  /* Wide tables in article text scroll inside their own box instead of widening the page. */
  .elementor-widget-text-editor table,
  .entry-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* WebP delivery (EWWW) wraps images in <picture>: keep it out of layout so the <img> sizes and
   positions exactly as it did on its own. */
picture {
	display: contents;
}

picture > source {
	display: none;
}
