/*
Theme Name: Angel Ortiz
Theme URI: http://localhost/angel
Author: Codex
Description: Tema personalizado para consultoria tecnica panadera e industrial.
Version: 1.6.2
Requires at least: 6.0
Tested up to: 6.8
Text Domain: angel-ortiz
*/

:root {
  --ink: #061721;
  --ink-soft: #102735;
  --paper: #f6f0e6;
  --paper-soft: #fbf8f0;
  --gold: #b78a3d;
  --gold-dark: #8a6428;
  --line: rgba(6, 23, 33, 0.14);
  --white: #fff;
  --muted: #52636a;
  --shadow: 0 18px 50px rgba(7, 20, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper-soft);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

/*
 * Legacy subscription campaigns were covering the complete homepage for
 * first-time visitors. The book remains promoted in the hero with a direct
 * product link, so these duplicate overlays are intentionally suppressed.
 */
.jetpack-subscribe-overlay,
.jetpack-subscribe-floating-button {
  display: none !important;
}

body.jetpack-subscribe-overlay-open,
body[class*="pb_disable_scroll_"] {
  overflow: auto !important;
}

.ays-pb-modals.av_pop_modals_2 {
  display: none !important;
  padding: 18px;
}

.ays-pb-modals.av_pop_modals_2.angel-popup-open {
  display: block !important;
}

.ays-pb-modals.av_pop_modals_2 .ays-pb-modal_2 {
  position: fixed !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  left: 50% !important;
  width: min(440px, calc(100vw - 36px)) !important;
  height: auto !important;
  max-height: calc(100vh - 36px) !important;
  overflow: auto !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38) !important;
  animation: none !important;
  transform: translate(-50%, -50%) !important;
}

.ays-pb-modals.av_pop_modals_2 .ays_content_box {
  padding: 24px !important;
}

.ays-pb-modals.av_pop_modals_2 .ays_content_box > p:first-child {
  margin-top: 0 !important;
}

.ays-pb-modals.av_pop_modals_2 .ays_content_box img {
  width: 100% !important;
  max-height: 310px !important;
  object-fit: contain !important;
  margin: 0 auto 16px !important;
}

.ays-pb-modals.av_pop_modals_2 .ays_pb_timer {
  display: none !important;
}

.ays-pb-modals.av_pop_modals_2 .ays-pb-modal-close_2 {
  display: none !important;
}

.angel-popup-close {
  position: sticky;
  top: 10px;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 10px 10px -52px auto;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.angel-popup-close:hover,
.angel-popup-close:focus-visible {
  background: var(--gold);
  outline: 3px solid rgba(183, 138, 61, 0.35);
}

body.admin-bar .site-header {
  top: 32px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.serif {
  font-family: "Playfair Display", Georgia, serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 23, 33, 0.96);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  width: min(1360px, calc(100% - 40px));
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  min-width: 195px;
  flex: 0 0 auto;
}

.brand-name {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.brand-sub {
  display: block;
  margin-top: 5px;
  font-size: 0.61rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.55vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
  font-weight: 700;
}

.nav-wrap nav {
  min-width: 0;
  margin-left: auto;
}

.nav-menu > li {
  position: relative;
  white-space: nowrap;
}

.nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  z-index: 100;
  min-width: 220px;
  margin: 0;
  padding: 10px;
  list-style: none;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, 8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: #0b202c;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-menu .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 22px;
}

.nav-menu .sub-menu li {
  white-space: normal;
}

.nav-menu .sub-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 4px;
  line-height: 1.25;
}

.nav-menu .sub-menu a:hover,
.nav-menu .sub-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 4px;
  background: transparent;
  color: var(--white);
  padding: 10px;
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.86);
}

.nav-menu a:hover {
  color: var(--gold);
}

.header-cta {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  background: linear-gradient(135deg, #d5ad5c, var(--gold));
  color: var(--ink);
}

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

.button-outline {
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--white);
}

.hero {
  background: var(--ink);
  color: var(--white);
}

.hero-eyebrow {
  margin: 0 0 18px;
  color: #d5ad5c;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.25fr);
  min-height: 620px;
}

.hero-copy {
  align-self: center;
  padding: 74px 46px 72px 0;
}

.hero h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.75rem, 5.1vw, 4.85rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--gold);
}

.hero-lede {
  max-width: 580px;
  margin: 28px 0 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.hero-note {
  max-width: 520px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 34px 0;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.87rem;
  font-weight: 700;
}

.hero-badge svg,
.service-icon svg,
.about-point svg,
.feature-card svg {
  width: 34px;
  height: 34px;
  color: var(--gold);
  flex: 0 0 auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-media {
  position: relative;
  min-height: 620px;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(6, 23, 33, 0.08) 28%, rgba(6, 23, 33, 0) 52%);
  z-index: 1;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-book-promo {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 0;
  padding: 22px 28px;
  background: #f8efe1;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-book-promo img {
  aspect-ratio: 4 / 3;
  width: 100%;
  max-height: 125px;
  object-fit: contain;
  background: #e7e7e7;
}

.hero-book-promo h2 {
  margin: 0 0 6px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.1;
}

.hero-book-promo p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-book-promo .book-label {
  margin-bottom: 8px;
  color: var(--gold-dark);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-book-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.visual-story {
  background: #fff;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.visual-story-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 12px;
}

.story-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.story-card-large {
  min-height: 260px;
}

.story-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.story-card img.story-img-unilever {
  object-fit: contain;
  object-position: 50% 18%;
  opacity: 0.96;
  filter: brightness(1.08) contrast(1.03);
  background: var(--ink);
}

.story-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 23, 33, 0.08) 0%, rgba(6, 23, 33, 0.86) 100%);
}

.story-card-unilever::after {
  display: none;
}

.story-card-unilever div {
  right: 14px;
  bottom: 14px;
  left: 14px;
  width: auto;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(6, 23, 33, 0.62);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(2px);
}

.story-card:hover img {
  transform: scale(1.035);
  opacity: 0.95;
}

.story-card div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
}

.story-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.story-card h2,
.story-card h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.05;
}

.story-card h2 {
  font-size: 1.9rem;
}

.story-card h3 {
  font-size: 1.2rem;
}

.story-card p {
  max-width: 360px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.section {
  padding: 78px 0;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
}

.section-title {
  max-width: 780px;
  margin: 0 auto 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  text-align: center;
}

.section-title.align-left,
.section-kicker.align-left {
  text-align: left;
  margin-left: 0;
}

.section-copy {
  max-width: 620px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 1.02rem;
}

.title-rule {
  width: 56px;
  height: 2px;
  margin: 0 auto 54px;
  background: var(--gold);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.pain-points {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 58px;
  align-items: center;
}

.problem-list {
  display: grid;
  gap: 14px;
}

.problem-item {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.problem-item:first-child {
  border-top: 1px solid var(--line);
}

.problem-item strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.18rem;
  line-height: 1.14;
}

.problem-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

.method {
  background: var(--paper-soft);
}

.method-intro {
  max-width: 760px;
  margin: -6px auto 44px;
  color: var(--muted);
  text-align: center;
  font-size: 1.04rem;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-grid-six {
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.method-grid-six .method-step:nth-child(3n) {
  border-right: 0;
}

.method-step {
  padding: 32px 30px;
  border-right: 1px solid var(--line);
}

.method-step:last-child {
  border-right: 0;
}

.method-step span,
.editorial-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold-dark);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.method-step h3,
.editorial-card h3 {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.12;
}

.method-step p,
.editorial-card p {
  margin: 0;
  color: var(--muted);
}

.service h3 {
  margin: 18px 0 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.12;
}

.service p {
  min-height: 74px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.93rem;
}

.read-more {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
}

.metrics {
  background: var(--ink);
  color: var(--white);
  padding: 40px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.7rem;
  line-height: 1;
}

.metric span {
  display: block;
  width: min(180px, 90%);
  margin: 8px auto 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.94rem;
}

.cases {
  background: #fff;
}

.case-subtitle {
  margin: -8px 0 34px;
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 18px;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbf7ef;
  box-shadow: 0 8px 28px rgba(6, 23, 33, 0.05);
}

.case-card-editorial {
  display: block;
  min-height: 290px;
  border-top: 4px solid var(--gold);
}

.case-label {
  margin-bottom: 10px !important;
  color: var(--gold-dark) !important;
  font-size: 0.72rem !important;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dossier-quote,
.editorial-quote {
  max-width: 850px;
  margin: 48px auto 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.editorial-quote {
  color: var(--white);
}

.book-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  align-items: stretch;
  margin: 38px 0 46px;
  background: #f3eadb;
  color: var(--ink);
}

.book-showcase img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.book-showcase figcaption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 58px);
}

.book-showcase figcaption span {
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.book-showcase figcaption strong {
  margin: 12px 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.08;
}

.book-showcase figcaption p {
  margin: 0;
  color: var(--muted);
}

.case-card h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.case-card p {
  margin: 7px 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.case-card b {
  color: var(--ink);
}

.case-result {
  align-self: center;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  background: conic-gradient(var(--gold) var(--value), rgba(183, 138, 61, 0.16) 0);
}

.case-result span {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background: var(--paper-soft);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75rem;
}

.confidential-note {
  max-width: 800px;
  margin: 28px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.94rem;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.05fr);
  gap: 58px;
  align-items: center;
}

.photo-mosaic {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.photo-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-mosaic img:first-child {
  grid-row: span 2;
  min-height: 390px;
}

.about-copy .section-kicker,
.about-copy .section-title {
  text-align: left;
  margin-left: 0;
}

.about-copy .section-title {
  margin-bottom: 22px;
}

.about-copy p {
  color: var(--muted);
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.about-point {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  font-weight: 800;
}

.features {
  background: var(--ink);
  color: var(--white);
  padding: 72px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 0;
}

.editorial-wrap {
  display: grid;
  gap: 34px;
}

.editorial-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 44px;
  align-items: end;
}

.editorial-head h2 {
  margin: 8px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.editorial-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.editorial-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.035);
}

.editorial-card span {
  color: var(--gold);
}

.editorial-card p {
  color: rgba(255, 255, 255, 0.7);
}

.compact-features {
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 12px;
}

.feature-card {
  padding: 24px 42px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.feature-card:last-child {
  border-right: 0;
}

.feature-card .section-kicker {
  text-align: left;
}

.feature-card h2,
.feature-card h3 {
  margin: 8px 0 10px;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.08;
}

.feature-card h2 {
  font-size: 2.2rem;
}

.feature-card h3 {
  font-size: 1.55rem;
}

.feature-card p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.93rem;
}

.newsletter {
  display: flex;
  gap: 0;
}

.newsletter input {
  min-width: 0;
  width: 100%;
  height: 44px;
  border: 0;
  padding: 0 14px;
  border-radius: 4px 0 0 4px;
}

.newsletter button {
  border: 0;
  border-radius: 0 4px 4px 0;
  padding: 0 18px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 900;
}

.contact-strip {
  background: linear-gradient(135deg, #f6dfad, #f8edcf);
  padding: 28px 0;
}

.contact-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.contact-grid h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
}

.contact-grid p {
  margin: 4px 0 0;
  color: #574625;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 12px;
  font-weight: 800;
}

.contact-links a {
  border-bottom: 1px solid rgba(6, 23, 33, 0.35);
}

.contact-page {
  min-height: 70vh;
  background:
    radial-gradient(circle at 92% 8%, rgba(183, 138, 61, 0.14), transparent 28%),
    var(--paper-soft);
}

.contact-page-head {
  max-width: 800px;
  margin-bottom: 42px;
}

.contact-page-head > p:last-child {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 28px;
  align-items: stretch;
}

.contact-details,
.contact-page-note {
  padding: clamp(28px, 5vw, 52px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-details {
  display: grid;
  gap: 28px;
}

.contact-detail {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.contact-detail span {
  display: block;
  margin-bottom: 7px;
  color: var(--gold-dark);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-detail a {
  display: inline-block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 800;
  line-height: 1.15;
}

.contact-detail p {
  margin: 9px 0 0;
  color: var(--muted);
}

.contact-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-page-note {
  background: var(--ink);
  color: var(--white);
}

.contact-page-note h2 {
  margin: 0 0 22px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
}

.contact-page-note ul {
  display: grid;
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-page-note li {
  position: relative;
  padding-left: 25px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-page-note li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
}

.contact-existing-content {
  margin-top: 36px;
}

.cv-page {
  background: var(--paper-soft);
  overflow-x: hidden;
}

.cv-page .container {
  max-width: min(1180px, calc(100vw - 40px));
}

.cv-hero {
  padding: clamp(72px, 10vw, 128px) 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(183, 138, 61, 0.28), transparent 28%),
    var(--ink);
  color: var(--white);
}

.cv-hero-grid,
.cv-intro-grid,
.cv-approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
  min-width: 0;
}

.cv-hero-grid > *,
.cv-intro-grid > *,
.cv-approach-grid > * {
  min-width: 0;
}

.cv-hero h1 {
  max-width: 650px;
  margin: 10px 0 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.95;
}

.cv-hero h1 span {
  display: block;
}

.cv-hero-role {
  max-width: 690px;
  margin: 0;
  color: var(--gold);
  font-weight: 800;
}

.cv-hero-summary {
  margin: 0;
  padding-left: clamp(24px, 4vw, 52px);
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.cv-prose p:first-child {
  margin-top: 0;
}

.cv-prose p {
  color: var(--muted);
}

.cv-prose blockquote {
  margin: 32px 0 0;
  padding: 4px 0 4px 24px;
  border-left: 4px solid var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
}

.cv-specialties {
  background: var(--paper);
}

.cv-specialty-grid,
.cv-achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 46px;
  background: var(--line);
  border: 1px solid var(--line);
}

.cv-specialty-grid article {
  min-height: 230px;
  padding: clamp(25px, 4vw, 42px);
  background: var(--white);
}

.cv-specialty-grid h3 {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
}

.cv-specialty-grid p {
  margin: 0;
  color: var(--muted);
}

.cv-timeline {
  max-width: 980px;
  margin: 52px auto 0;
  border-top: 1px solid var(--line);
}

.cv-timeline article {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 42px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.cv-timeline time {
  color: var(--gold-dark);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.cv-timeline h3 {
  margin: 0 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
}

.cv-timeline p {
  margin: 0;
  color: var(--muted);
}

.cv-achievements {
  background: var(--ink);
  color: var(--white);
}

.cv-achievements .section-title {
  color: var(--white);
}

.cv-achievement-grid {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.16);
}

.cv-achievement-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 190px;
  padding: clamp(25px, 4vw, 42px);
  background: var(--ink-soft);
}

.cv-achievement-grid strong {
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.2rem;
}

.cv-achievement-grid span {
  color: rgba(255, 255, 255, 0.78);
}

.cv-approach {
  background: var(--paper);
}

.cv-approach h2 {
  margin: 8px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.04;
}

.cv-approach p {
  color: var(--muted);
  font-size: 1.08rem;
}

.cv-approach .cv-closing {
  margin: 24px 0 30px;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 800;
}

.content-archive,
.recipe-single {
  background: #fbf7ee;
}

.content-archive-hero,
.recipe-hero {
  padding: clamp(72px, 9vw, 118px) 0 clamp(42px, 6vw, 72px);
  background: radial-gradient(circle at 15% 0%, rgba(183, 138, 61, 0.18), transparent 32%), var(--cream);
  border-bottom: 1px solid rgba(183, 138, 61, 0.22);
}

.content-archive-hero .section-title,
.recipe-hero h1 {
  margin-left: 0;
  text-align: left;
}

.content-archive-hero .title-rule {
  margin-left: 0;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.content-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 0.58fr);
  overflow: hidden;
  border: 1px solid rgba(183, 138, 61, 0.2);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(6, 23, 33, 0.06);
}

.content-card-media {
  min-height: 250px;
  background: var(--ink);
  color: var(--gold);
  text-decoration: none;
}

.content-card-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}

.content-card-media span {
  display: grid;
  min-height: inherit;
  place-items: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.5rem;
}

.content-card-copy {
  padding: 26px;
}

.content-card-meta,
.recipe-date {
  margin: 0 0 10px;
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.content-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.05;
}

.content-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.content-card-excerpt {
  color: var(--muted);
  line-height: 1.72;
}

.content-card-excerpt p {
  margin: 0 0 18px;
}

.content-archive-press .content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-archive-press .content-card {
  display: flex;
  flex-direction: column;
}

.content-archive-press .content-card-media {
  min-height: 0;
  padding: 16px;
  background: #f7f1e8;
}

.content-archive-press .content-card-media img {
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(6, 23, 33, 0.1);
}

.content-archive-press .content-card-copy {
  flex: 1;
  padding-top: 22px;
}

.content-archive-press .content-card h2 {
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
}

.content-pagination {
  margin-top: 42px;
}

.recipe-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.recipe-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  line-height: 0.96;
}

.recipe-hero-image {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.recipe-hero-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.recipe-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) minmax(240px, 0.38fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-top: clamp(48px, 7vw, 84px);
  padding-bottom: clamp(64px, 8vw, 110px);
}

.recipe-content {
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(183, 138, 61, 0.2);
  border-radius: 30px;
  background: var(--white);
  color: #24323a;
  font-size: 1.06rem;
  line-height: 1.82;
  box-shadow: 0 14px 34px rgba(6, 23, 33, 0.06);
}

.recipe-content > *:first-child {
  margin-top: 0;
}

.recipe-content h2,
.recipe-content h3,
.recipe-content h4 {
  margin: 1.7em 0 0.55em;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.12;
}

.recipe-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.recipe-content h3 {
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.recipe-content img,
.recipe-content figure,
.recipe-content .wp-caption {
  max-width: 100%;
  height: auto;
}

.recipe-content img {
  border-radius: 18px;
}

.recipe-content figure {
  margin: 28px 0;
}

.recipe-content table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
}

.recipe-content th,
.recipe-content td {
  padding: 10px 12px;
  border: 1px solid rgba(6, 23, 33, 0.12);
}

.recipe-content pre,
.recipe-content code {
  white-space: pre-wrap;
  word-break: break-word;
}

.recipe-content ul,
.recipe-content ol {
  padding-left: 1.25em;
}

.recipe-navigation {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 24px;
  background: var(--ink);
  color: var(--white);
}

.recipe-navigation a {
  color: var(--white);
}

.recipe-navigation span {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer {
  padding: 28px 0;
  background: #031018;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
    order: 3;
  }

  .nav-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(6, 23, 33, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: max-height 0.22s ease;
  }

  .menu-open .nav-menu {
    max-height: min(78vh, 720px);
    overflow-y: auto;
  }

  .nav-menu li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu a {
    display: block;
    padding: 16px 20px;
  }

  .nav-menu .sub-menu {
    position: static;
    min-width: 0;
    margin: 0;
    padding: 0 0 8px 18px;
    visibility: visible;
    opacity: 1;
    transform: none;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.035);
    box-shadow: none;
  }

  .nav-menu .sub-menu::before {
    display: none;
  }

  .nav-menu .sub-menu li {
    border-top: 0;
  }

  .nav-menu .sub-menu a {
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
  }

  .hero-grid,
  .about-grid,
  .features-grid,
  .split-grid,
  .method-grid,
  .editorial-head,
  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .visual-story-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero-media {
    order: 1;
  }

  .hero-copy {
    order: 2;
  }

  .hero-book-promo {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .hero-book-actions {
    grid-column: 2;
    justify-self: start;
  }

  .services-grid,
  .metrics-grid,
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid .feature-card {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .method-step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .method-grid-six {
    grid-template-columns: repeat(2, 1fr);
  }

  .method-grid-six .method-step,
  .method-grid-six .method-step:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .method-grid-six .method-step:nth-child(2n) {
    border-right: 0;
  }

  .book-showcase {
    grid-template-columns: 1fr;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .cv-hero-grid,
  .cv-intro-grid,
  .cv-approach-grid {
    grid-template-columns: 1fr;
  }

  .cv-specialty-grid,
  .cv-achievement-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .book-showcase img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .method-step:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  .ays-pb-modals.av_pop_modals_2 {
    padding: 8px;
  }

  .ays-pb-modals.av_pop_modals_2 .ays-pb-modal_2 {
    width: calc(100vw - 16px) !important;
    max-height: calc(100vh - 16px) !important;
  }

  .ays-pb-modals.av_pop_modals_2 .ays_content_box {
    padding: 18px !important;
    font-size: 0.9rem !important;
  }

  .ays-pb-modals.av_pop_modals_2 .ays_content_box img {
    max-height: 240px !important;
  }

  .angel-popup-close {
    top: 8px;
    width: 40px;
    height: 40px;
    margin: 8px 8px -48px auto;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav-wrap {
    min-height: 66px;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
  }

  .hero-grid {
    min-height: 0;
  }

  .hero-copy {
    padding: 40px 0 36px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.55rem);
  }

  #gt_float_wrapper {
    left: 8px !important;
    bottom: 8px !important;
  }

  .gt_float_switcher .gt-selected .gt-current-lang {
    padding: 5px 7px !important;
  }

  .gt_float_switcher .gt-selected img {
    width: 28px !important;
    margin: 0 !important;
  }

  .gt_float_switcher .gt-lang-code,
  .gt_float_switcher .gt_float_switcher-arrow {
    display: none !important;
  }

  .hero-eyebrow {
    max-width: 290px;
    font-size: 0.68rem;
  }

  .hero-badges,
  .services-grid,
  .metrics-grid,
  .cases-grid,
  .about-points,
  .problem-item {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 0;
    height: auto;
  }

  .hero-media::before {
    background: linear-gradient(180deg, rgba(6, 23, 33, 0) 82%, var(--ink) 100%);
  }

  .hero-photo {
    height: auto;
    object-fit: contain;
  }

  .hero-book-promo {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
  }

  .hero-book-promo img {
    max-height: 105px;
  }

  .hero-book-promo h2 {
    font-size: 1.25rem;
  }

  .hero-book-actions {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero-book-actions .button {
    flex: 1 1 190px;
  }

  .visual-story {
    padding: 14px 0;
  }

  .visual-story-grid {
    grid-template-columns: 1fr;
  }

  .story-card,
  .story-card-large {
    min-height: 210px;
    max-height: 260px;
  }

  .story-card img {
    min-height: 210px;
  }

  .section {
    padding: 58px 0;
  }

  .case-card {
    grid-template-columns: 1fr;
  }

  .method-grid-six {
    grid-template-columns: 1fr;
  }

  .method-grid-six .method-step,
  .method-grid-six .method-step:nth-child(2n),
  .method-grid-six .method-step:nth-child(3n) {
    border-right: 0;
  }

  .case-result {
    justify-self: start;
  }

  .metric {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .photo-mosaic {
    grid-template-columns: 1fr;
  }

  .photo-mosaic img:first-child {
    min-height: 300px;
  }

  .feature-card {
    padding: 24px 0;
  }

  .method-step,
  .editorial-card {
    padding: 24px 0;
  }

  .editorial-card {
    border-left: 0;
    border-right: 0;
  }

  .contact-grid,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cv-hero {
    padding: 58px 0;
  }

  .cv-page *,
  .cv-page *::before,
  .cv-page *::after {
    max-width: 100%;
  }

  .cv-page .container {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
  }

  .cv-hero-grid,
  .cv-intro-grid,
  .cv-approach-grid,
  .cv-hero h1,
  .cv-hero-role,
  .cv-hero-summary,
  .cv-page .section-title,
  .cv-page p {
    width: 100%;
    max-width: 100%;
  }

  .cv-hero h1 {
    font-size: clamp(2.55rem, 11.5vw, 3.05rem);
    line-height: 1.02;
    overflow-wrap: normal;
  }

  .cv-page .section-title,
  .cv-approach h2 {
    font-size: clamp(2rem, 9.5vw, 2.65rem);
    line-height: 1.07;
  }

  .cv-hero-role,
  .cv-hero-summary,
  .cv-page h2,
  .cv-page p {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .cv-hero-role {
    font-size: 0.98rem;
  }

  .cv-hero-summary {
    padding: 24px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-left: 0;
  }

  .cv-specialty-grid,
  .cv-achievement-grid {
    grid-template-columns: 1fr;
  }

  .cv-specialty-grid article,
  .cv-achievement-grid article {
    min-height: 0;
  }

  .cv-timeline article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 980px) {
  .content-grid,
  .content-card,
  .recipe-hero-grid,
  .recipe-layout {
    grid-template-columns: 1fr;
  }

  .content-archive-press .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recipe-navigation {
    position: static;
  }
}

@media (max-width: 680px) {
  .content-card-media {
    min-height: 220px;
  }

  .content-archive-press .content-grid {
    grid-template-columns: 1fr;
  }

  .content-archive-press .content-card-media {
    min-height: 0;
  }

  .content-card-copy,
  .recipe-content {
    padding: 22px;
  }

  .recipe-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.15rem);
  }
}
