/*
Theme Name: NOFILTER Divi Child
Theme URI: https://nofilter.example
Description: Editorial Divi child theme styling for the NOFILTER website.
Author: NOFILTER
Template: Divi
Version: 1.1.0
Text Domain: nofilter-divi
*/

:root {
  --nf-black: #050505;
  --nf-ink: #111111;
  --nf-charcoal: #24211e;
  --nf-paper: #fbf7f1;
  --nf-cream: #f6efe6;
  --nf-stone: #d8cbb9;
  --nf-taupe: #a8957d;
  --nf-muted: rgba(17, 17, 17, 0.62);
  --nf-line: rgba(17, 17, 17, 0.16);
  --nf-white: #ffffff;
  --nf-max: 1328px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--nf-cream);
  color: var(--nf-ink);
  font-family: Mont, Montserrat, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0;
}

body,
p,
.et_pb_text,
.et_pb_blurb_description {
  font-family: Mont, Montserrat, Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--nf-ink);
  font-family: Mont, Montserrat, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

#main-header,
#top-header {
  background: rgba(251, 247, 241, 0.92) !important;
  border-bottom: 1px solid var(--nf-line);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

#main-header .container {
  width: min(calc(100% - 48px), var(--nf-max));
  max-width: var(--nf-max);
}

#logo {
  max-height: 44px;
}

#top-menu a,
.et_mobile_menu li a,
#et_search_icon:before {
  color: rgba(17, 17, 17, 0.68) !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

#top-menu a:hover,
.et_mobile_menu li a:hover,
#top-menu li.current-menu-item > a {
  color: var(--nf-ink) !important;
  opacity: 1;
}

.et_mobile_menu {
  border-top-color: var(--nf-ink);
  background: var(--nf-paper) !important;
}

.nf-page {
  background: var(--nf-cream);
}

.nf-section,
.nf-section-paper,
.nf-section-dark,
.nf-hero-editorial {
  background: var(--nf-paper);
}

.nf-section .et_pb_row,
.nf-section-paper .et_pb_row,
.nf-section-dark .et_pb_row,
.nf-hero-editorial .et_pb_row,
.nf-page-frame .et_pb_row {
  width: min(calc(100% - 48px), var(--nf-max));
  max-width: var(--nf-max);
}

.nf-page-frame {
  background: var(--nf-cream);
}

.nf-page-frame > .et_pb_row {
  background: var(--nf-paper);
}

.nf-rule-top {
  border-top: 1px solid var(--nf-line);
}

.nf-rule-bottom {
  border-bottom: 1px solid var(--nf-line);
}

.nf-hero-editorial {
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(251, 247, 241, 0.98) 0%, rgba(251, 247, 241, 0.9) 40%, rgba(251, 247, 241, 0.16) 100%),
    url("assets/images/nofilter-editorial-hero.png");
  background-position: center;
  background-size: cover;
}

.nf-hero-editorial .et_pb_row {
  padding: 142px 0 76px !important;
}

.nf-hero-editorial h1,
.nf-display h1,
.nf-display h2,
.nf-masthead h1,
.nf-masthead h2 {
  color: var(--nf-ink);
  font-size: clamp(74px, 12vw, 174px);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.nf-page-title h1,
.nf-page-title h2,
.nf-section-title h1,
.nf-section-title h2 {
  color: var(--nf-ink);
  font-size: clamp(54px, 8.5vw, 118px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: none;
}

.nf-eyebrow,
.nf-kicker,
.nf-issue-label {
  margin-bottom: 18px;
  color: rgba(17, 17, 17, 0.54);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.nf-lede p,
.nf-section-title p,
.nf-body-copy p {
  color: var(--nf-muted);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 500;
  line-height: 1.5;
}

.nf-small-copy p {
  color: var(--nf-muted);
  font-size: 16px;
  line-height: 1.62;
}

.nf-button.et_pb_button,
.et_pb_button.nf-button,
.nf-button .et_pb_button {
  border: 1px solid var(--nf-ink) !important;
  border-radius: 999px !important;
  background: var(--nf-ink) !important;
  color: var(--nf-white) !important;
  padding: 0.72em 1.6em !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em;
  text-transform: none;
}

.nf-button.et_pb_button:hover,
.et_pb_button.nf-button:hover,
.nf-button .et_pb_button:hover {
  border-color: var(--nf-ink) !important;
  background: transparent !important;
  color: var(--nf-ink) !important;
}

.nf-text-link a,
a.nf-text-link {
  color: var(--nf-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}

.nf-editorial-image,
.nf-editorial-portrait,
.nf-talent-image {
  min-height: 520px;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.95), rgba(216, 203, 185, 0.72) 48%, rgba(251, 247, 241, 0.86)),
    var(--nf-stone);
  box-shadow: 0 22px 60px rgba(17, 17, 17, 0.13);
}

.nf-editorial-image img,
.nf-editorial-portrait img,
.nf-talent-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04);
}

.nf-editorial-border {
  outline: 1px solid rgba(251, 247, 241, 0.72);
  outline-offset: -36px;
}

.nf-service-card,
.nf-process-card {
  min-height: 250px;
  padding: 28px;
  border-top: 1px solid var(--nf-line);
  background: transparent;
}

.nf-service-card h3,
.nf-process-card h3 {
  margin-top: 54px;
  color: var(--nf-ink);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.08;
}

.nf-service-card p,
.nf-process-card p {
  color: var(--nf-muted);
  font-size: 16px;
  line-height: 1.58;
}

.nf-roster-filter {
  border-top: 1px solid var(--nf-line);
  border-bottom: 1px solid var(--nf-line);
}

.nf-roster-filter p {
  margin: 0;
  color: rgba(17, 17, 17, 0.46);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nf-roster-filter strong {
  color: var(--nf-ink);
}

.nf-talent-card {
  overflow: hidden;
  background: transparent;
}

.nf-talent-card .et_pb_blurb_content {
  max-width: none;
}

.nf-talent-card .et_pb_main_blurb_image {
  display: block;
  margin: 0 0 24px;
}

.nf-talent-card .et_pb_image_wrap,
.nf-talent-card img {
  width: 100%;
}

.nf-talent-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.04);
}

.nf-talent-card h4 {
  color: var(--nf-ink);
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
}

.nf-talent-card .et_pb_blurb_description {
  color: rgba(17, 17, 17, 0.58);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nf-profile-meta {
  border-top: 1px solid var(--nf-line);
}

.nf-profile-meta .nf-proof-item,
.nf-proof-list .nf-proof-item {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--nf-line);
}

.nf-profile-meta span,
.nf-proof-list span,
.nf-proof-item .nf-kicker {
  color: rgba(17, 17, 17, 0.44);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nf-profile-meta strong,
.nf-proof-list strong {
  display: block;
  color: var(--nf-ink);
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 700;
  line-height: 1.24;
}

.nf-dark-panel {
  background: var(--nf-ink);
  color: var(--nf-white);
}

.nf-dark-panel h2,
.nf-dark-panel h3,
.nf-dark-panel h4 {
  color: var(--nf-white);
}

.nf-dark-panel p {
  color: rgba(255, 255, 255, 0.68);
}

.nf-dark-panel .nf-kicker,
.nf-dark-panel .nf-eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.nf-cta-panel {
  padding: clamp(30px, 5vw, 64px);
  background: var(--nf-ink);
  color: var(--nf-white);
}

.nf-cta-panel h2 {
  color: var(--nf-white);
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.025em;
}

.nf-cta-panel p {
  color: rgba(255, 255, 255, 0.68);
}

.nf-cta-panel .nf-button.et_pb_button,
.nf-cta-panel .et_pb_button.nf-button,
.nf-cta-panel .nf-button .et_pb_button {
  border-color: var(--nf-white) !important;
  background: var(--nf-white) !important;
  color: var(--nf-ink) !important;
}

.nf-cta-panel .nf-button.et_pb_button:hover,
.nf-cta-panel .et_pb_button.nf-button:hover,
.nf-cta-panel .nf-button .et_pb_button:hover {
  background: transparent !important;
  color: var(--nf-white) !important;
}

.nf-form-panel {
  padding: clamp(28px, 4vw, 48px);
  background: var(--nf-paper);
  box-shadow: 0 22px 60px rgba(17, 17, 17, 0.1);
}

.nf-form-panel input,
.nf-form-panel textarea,
.nf-form-panel select,
.nf-form-panel .input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--nf-line);
  border-radius: 0;
  background: transparent;
  color: var(--nf-ink);
  font-family: Mont, Montserrat, Arial, sans-serif;
  font-size: 16px;
  padding: 16px 0;
}

.nf-form-panel input:focus,
.nf-form-panel textarea:focus,
.nf-form-panel select:focus {
  border-color: var(--nf-ink);
  outline: none;
}

.nf-mini-masthead {
  color: var(--nf-ink);
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.025em;
}

@media (max-width: 980px) {
  #main-header .container,
  .nf-section .et_pb_row,
  .nf-section-paper .et_pb_row,
  .nf-section-dark .et_pb_row,
  .nf-hero-editorial .et_pb_row,
  .nf-page-frame .et_pb_row {
    width: min(calc(100% - 28px), var(--nf-max));
  }

  .nf-hero-editorial {
    min-height: 78vh;
    background-image:
      linear-gradient(180deg, rgba(251, 247, 241, 0.94) 0%, rgba(251, 247, 241, 0.7) 50%, rgba(251, 247, 241, 0.22) 100%),
      url("assets/images/nofilter-editorial-hero.png");
  }

  .nf-hero-editorial .et_pb_row {
    padding: 116px 0 56px !important;
  }

  .nf-profile-meta .nf-proof-item,
  .nf-proof-list .nf-proof-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .nf-hero-editorial h1,
  .nf-display h1,
  .nf-display h2,
  .nf-masthead h1,
  .nf-masthead h2 {
    font-size: clamp(46px, 16vw, 64px);
    line-height: 0.9;
    letter-spacing: -0.04em;
    max-width: 100%;
    overflow-wrap: normal;
  }

  .nf-page-title h1,
  .nf-page-title h2,
  .nf-section-title h1,
  .nf-section-title h2 {
    font-size: clamp(46px, 16vw, 72px);
  }

  .nf-editorial-image,
  .nf-editorial-portrait,
  .nf-talent-image,
  .nf-editorial-image img,
  .nf-editorial-portrait img,
  .nf-talent-image img {
    min-height: 390px;
  }

  .nf-service-card,
  .nf-process-card {
    min-height: 210px;
    padding: 24px 0;
  }

  .nf-hero-editorial {
    min-height: 72vh;
  }

  .nf-hero-editorial .et_pb_row {
    padding: 76px 0 42px !important;
  }

  .nf-eyebrow,
  .nf-kicker,
  .nf-issue-label {
    font-size: 10px;
    line-height: 1.7;
    letter-spacing: 0.22em;
  }

  .nf-lede p,
  .nf-section-title p,
  .nf-body-copy p,
  .nf-masthead p {
    font-size: 16px;
    line-height: 1.58;
  }
}
