/*
 * Dekorez Branding System 1.0.0
 * Designed for The7, Elementor, and standard WordPress content.
 */

@font-face {
  font-family: "Montserrat Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Inter Variable";
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-italic.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Inter Variable";
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-italic.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  /* Logo-derived palette */
  --dkz-brand-blue: #2db5ff;
  --dkz-action-blue: #0077b8;
  --dkz-deep-blue: #005b8f;
  --dkz-architectural-beige: #d7c7b7;
  --dkz-ink: #0b1720;
  --dkz-text: #42515c;
  --dkz-muted: #6b7882;
  --dkz-line: #dfe4e8;
  --dkz-canvas: #f7f4f0;
  --dkz-white: #ffffff;

  /* Typography */
  --dkz-font-heading: "Montserrat Variable", Montserrat, "Century Gothic", Arial, sans-serif;
  --dkz-font-body: "Inter Variable", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --dkz-display: clamp(3.5rem, 7vw, 6.5rem);
  --dkz-h1: clamp(2.65rem, 5.2vw, 5rem);
  --dkz-h2: clamp(2.25rem, 4vw, 3.75rem);
  --dkz-h3: clamp(1.75rem, 2.6vw, 2.5rem);
  --dkz-h4: clamp(1.35rem, 1.8vw, 1.75rem);
  --dkz-h5: 1.25rem;
  --dkz-h6: 1rem;
  --dkz-body-large: 1.125rem;
  --dkz-body: 1rem;
  --dkz-small: 0.875rem;
  --dkz-kicker: 0.75rem;

  /* Shape, motion, and spacing */
  --dkz-radius-sm: 4px;
  --dkz-radius-md: 8px;
  --dkz-radius-lg: 14px;
  --dkz-shadow: 0 18px 55px rgba(11, 23, 32, 0.10);
  --dkz-transition: 180ms ease;
  --dkz-content-width: 1280px;

  /* WordPress preset aliases */
  --wp--preset--color--dekorez-blue: var(--dkz-brand-blue);
  --wp--preset--color--dekorez-action: var(--dkz-action-blue);
  --wp--preset--color--dekorez-beige: var(--dkz-architectural-beige);
  --wp--preset--color--dekorez-ink: var(--dkz-ink);
  --wp--preset--color--dekorez-canvas: var(--dkz-canvas);
}

/* Elementor's four standard global tokens. Widget-level styling still wins. */
body[class*="elementor-kit-"] {
  --e-global-color-primary: var(--dkz-ink);
  --e-global-color-secondary: var(--dkz-architectural-beige);
  --e-global-color-text: var(--dkz-text);
  --e-global-color-accent: var(--dkz-action-blue);
  --e-global-typography-primary-font-family: var(--dkz-font-heading);
  --e-global-typography-primary-font-weight: 700;
  --e-global-typography-secondary-font-family: var(--dkz-font-heading);
  --e-global-typography-secondary-font-weight: 600;
  --e-global-typography-text-font-family: var(--dkz-font-body);
  --e-global-typography-text-font-weight: 400;
  --e-global-typography-accent-font-family: var(--dkz-font-heading);
  --e-global-typography-accent-font-weight: 700;
}

:where(body:not(.wp-admin), .editor-styles-wrapper) {
  color: var(--dkz-text);
  font-family: var(--dkz-font-body);
  font-size: var(--dkz-body);
  font-optical-sizing: auto;
  font-weight: 400;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

:where(body:not(.wp-admin), .editor-styles-wrapper) :where(h1, h2, h3, h4, h5, h6, .elementor-heading-title) {
  color: var(--dkz-ink);
  font-family: var(--dkz-font-heading);
  font-optical-sizing: auto;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

:where(body:not(.wp-admin), .editor-styles-wrapper) :where(h1) { font-size: var(--dkz-h1); }
:where(body:not(.wp-admin), .editor-styles-wrapper) :where(h2) { font-size: var(--dkz-h2); }
:where(body:not(.wp-admin), .editor-styles-wrapper) :where(h3) { font-size: var(--dkz-h3); letter-spacing: -0.025em; line-height: 1.15; }
:where(body:not(.wp-admin), .editor-styles-wrapper) :where(h4) { font-size: var(--dkz-h4); letter-spacing: -0.02em; line-height: 1.2; }
:where(body:not(.wp-admin), .editor-styles-wrapper) :where(h5) { font-size: var(--dkz-h5); letter-spacing: -0.015em; line-height: 1.25; }
:where(body:not(.wp-admin), .editor-styles-wrapper) :where(h6) { font-size: var(--dkz-h6); letter-spacing: 0.01em; line-height: 1.3; }

:where(body:not(.wp-admin), .editor-styles-wrapper) :where(p, li) {
  color: inherit;
  font-family: var(--dkz-font-body);
}

:where(body:not(.wp-admin), .editor-styles-wrapper) :where(a) {
  color: var(--dkz-action-blue);
  text-decoration-color: rgba(0, 119, 184, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--dkz-transition), text-decoration-color var(--dkz-transition);
}

:where(body:not(.wp-admin), .editor-styles-wrapper) :where(a:hover, a:focus-visible) {
  color: var(--dkz-deep-blue);
  text-decoration-color: currentColor;
}

:where(body:not(.wp-admin), .editor-styles-wrapper) ::selection {
  color: var(--dkz-ink);
  background: var(--dkz-brand-blue);
}

/* Navigation: geometric, quiet, and easy to scan. */
:where(.main-nav > li > a, .mobile-main-nav li > a, .dt-mobile-header a, .elementor-nav-menu a) {
  font-family: var(--dkz-font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

/* Buttons across The7, Elementor, WooCommerce, and WordPress. */
:where(.dt-btn, .elementor-button, .wp-element-button, button:not(.components-button), input[type="button"], input[type="submit"], .button) {
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--dkz-action-blue);
  border-radius: var(--dkz-radius-sm);
  color: var(--dkz-white);
  background: var(--dkz-action-blue);
  box-shadow: none;
  font-family: var(--dkz-font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--dkz-transition), background-color var(--dkz-transition), border-color var(--dkz-transition), transform var(--dkz-transition);
}

:where(.dt-btn, .elementor-button, .wp-element-button, button:not(.components-button), input[type="button"], input[type="submit"], .button):hover,
:where(.dt-btn, .elementor-button, .wp-element-button, button:not(.components-button), input[type="button"], input[type="submit"], .button):focus-visible {
  border-color: var(--dkz-deep-blue);
  color: var(--dkz-white);
  background: var(--dkz-deep-blue);
  transform: translateY(-1px);
}

:where(body:not(.wp-admin), .editor-styles-wrapper) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]), textarea, select) {
  min-height: 50px;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--dkz-line);
  border-radius: var(--dkz-radius-sm);
  color: var(--dkz-ink);
  background: var(--dkz-white);
  font-family: var(--dkz-font-body);
  font-size: 1rem;
  transition: border-color var(--dkz-transition), box-shadow var(--dkz-transition);
}

:where(body:not(.wp-admin), .editor-styles-wrapper) :where(input, textarea, select):focus {
  border-color: var(--dkz-action-blue);
  box-shadow: 0 0 0 3px rgba(45, 181, 255, 0.22);
  outline: 0;
}

/* Opt-in Elementor/HTML utility classes. */
.dkz-display {
  font-family: var(--dkz-font-heading);
  font-size: var(--dkz-display);
  font-weight: 650;
  letter-spacing: -0.052em;
  line-height: 0.96;
  text-wrap: balance;
}

.dkz-kicker {
  color: var(--dkz-action-blue);
  font-family: var(--dkz-font-heading);
  font-size: var(--dkz-kicker);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.dkz-lead {
  max-width: 66ch;
  font-size: var(--dkz-body-large);
  line-height: 1.65;
}

.dkz-button-outline :where(.elementor-button),
:where(.dkz-button-outline.dt-btn, .dkz-button-outline.wp-element-button) {
  border-color: var(--dkz-ink);
  color: var(--dkz-ink);
  background: transparent;
}

.dkz-button-outline :where(.elementor-button:hover, .elementor-button:focus-visible),
:where(.dkz-button-outline.dt-btn, .dkz-button-outline.wp-element-button):hover,
:where(.dkz-button-outline.dt-btn, .dkz-button-outline.wp-element-button):focus-visible {
  border-color: var(--dkz-ink);
  color: var(--dkz-white);
  background: var(--dkz-ink);
}

.dkz-bg-blue { color: var(--dkz-ink); background-color: var(--dkz-brand-blue); }
.dkz-bg-beige { color: var(--dkz-ink); background-color: var(--dkz-architectural-beige); }
.dkz-bg-canvas { color: var(--dkz-ink); background-color: var(--dkz-canvas); }
.dkz-bg-ink { color: var(--dkz-white); background-color: var(--dkz-ink); }
.dkz-text-blue { color: var(--dkz-action-blue); }
.dkz-text-ink { color: var(--dkz-ink); }

@media (max-width: 767px) {
  :root {
    --dkz-display: clamp(3rem, 16vw, 4.5rem);
    --dkz-h1: clamp(2.35rem, 12vw, 3.5rem);
    --dkz-h2: clamp(2rem, 9vw, 2.75rem);
    --dkz-h3: clamp(1.6rem, 7vw, 2rem);
  }

  :where(body:not(.wp-admin), .editor-styles-wrapper) {
    line-height: 1.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  :where(*, *::before, *::after) {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

