/*
 Theme Name:   VORT Foods Child
 Theme URI:    https://vortfoods.com
 Description:  VORT Foods — child theme for Divi. Personal chef, event
               catering, meal prep plans and cooking classes. "Good Food.
               Made Personal."
 Author:       VORT Foods
 Author URI:   https://vortfoods.com
 Template:     Divi
 Version:      1.0.0
*/

/* ============================================================
   VORT FOODS DESIGN TOKENS — Char & Ember
   Taken directly from the brand mark: warm orange on near-black,
   with a soft cream for breathing space. Appetising, not clinical.
   ============================================================ */

:root {
  /* Brand core — char (near-black, warm undertone) */
  --char:        #0C0A08;   /* primary near-black — hero, footer, nav */
  --char-soft:   #17130F;   /* elevated dark surfaces */
  --char-line:   #2A2319;   /* hairlines on dark */
  --charcoal:    #1F1912;   /* secondary dark panels */

  /* Accent — ember orange, sampled from the mark's centre dot */
  --ember:       #F28122;   /* primary orange — buttons, accents */
  --ember-lt:    #F7A85C;   /* light orange — hovers, hero highlight */
  --ember-pale:  #F2A65E;   /* soft orange — icon fills */
  --ember-dk:    #C2600F;   /* deep orange — links, borders on light */

  /* Warm neutrals */
  --cream:       #FBF5EC;   /* warm panel */
  --cream-deep:  #F3E7D5;   /* deeper warm panel */

  /* Ink */
  --ink:         #201A14;   /* body text on light */
  --ink-soft:    #5B5044;   /* muted body text */
  --ink-faint:   #8F8375;   /* captions / meta */

  /* Lines */
  --line:        #EAD9C0;   /* hairline on light surfaces */
  --line-dark:   rgba(255,255,255,0.12);

  --white:       #FFFFFF;

  /* Type */
  --font-display: 'Fraunces', 'Iowan Old Style', 'Georgia', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Shape — a touch softer than a precision brand; food should feel warm */
  --radius:      12px;
  --radius-lg:   18px;
  --radius-pill: 999px;

  --shadow-sm:   0 2px 12px rgba(12,10,8,0.08);
  --shadow:      0 12px 38px rgba(12,10,8,0.14);
  --shadow-lg:   0 26px 70px rgba(12,10,8,0.24);
  --shadow-ember: 0 8px 26px rgba(242,129,34,0.36);

  --wrap:        1180px;
}

/* ============================================================
   GLOBAL BASE
   ============================================================ */

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }

/* ============================================================
   TYPOGRAPHY
   Fraunces is a warm, characterful display serif — it carries the
   "Foods" script logotype's personality into headings without
   trying to imitate it directly.
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--char);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: 3.9rem; font-weight: 700; }
h2 { font-size: 2.6rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

p { line-height: 1.78; color: var(--ink-soft); }

a { color: var(--ember-dk); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--ember); }

strong { color: var(--ink); font-weight: 700; }

/* ============================================================
   GLOBAL FONT OVERRIDE — force the VORT Foods pairing everywhere
   ============================================================ */

body, body p, body li, body td, body th, body label, body input,
body textarea, body select, body button,
.et_pb_module, .et_pb_text, .et_pb_blurb_content, .et_pb_toggle_content,
.et_pb_button, .et_pb_contact_form_label,
#main-header, #et-secondary-nav, .nav li ul, .et_mobile_menu li a,
.et_pb_widget, #footer-widgets, #et-footer-nav {
  font-family: var(--font-body) !important;
}

h1, h2, h3, h4, h5, h6,
.et_pb_module h1, .et_pb_module h2, .et_pb_module h3,
.et_pb_module h4, .et_pb_module h5, .et_pb_module h6,
.et_pb_toggle_title {
  font-family: var(--font-display) !important;
}

/* ============================================================
   DIVI CORE FIXES
   ============================================================ */

.et_pb_section { padding: 0; }
.et_pb_row { padding: 0; width: 90%; max-width: var(--wrap); }
.et_pb_column { margin-bottom: 0; }

@media (max-width: 980px) {
  .et_pb_column { margin-bottom: 30px; }
  .et_pb_row .et_pb_column:last-child { margin-bottom: 0; }
}

/* ============================================================
   NAVIGATION — char bar, ember underline grow
   ============================================================ */

#main-header {
  background: var(--char) !important;
  box-shadow: 0 1px 0 var(--char-line), 0 6px 30px rgba(0,0,0,0.28) !important;
}

#main-header .logo_container { padding: 8px 0; }

#top-menu li a {
  font-family: var(--font-body) !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,0.86) !important;
  padding-bottom: 20px !important;
  position: relative;
  transition: color .22s ease;
}

#top-menu li a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 12px;
  width: 0; height: 2px;
  background: var(--ember);
  transition: width .28s cubic-bezier(.4,0,.2,1);
}

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

#top-menu li a:hover::after,
#top-menu li.current-menu-item > a::after { width: 100%; }

#main-header.et-fixed-header { background: rgba(12,10,8,0.97) !important; }
#main-header.et-fixed-header #top-menu li a { color: rgba(255,255,255,0.86) !important; }

.mobile_menu_bar:before { color: var(--ember) !important; }

.et_mobile_menu {
  background: var(--char-soft) !important;
  border-top: 3px solid var(--ember) !important;
  box-shadow: var(--shadow);
}

.et_mobile_menu li a {
  color: rgba(255,255,255,0.88) !important;
  font-weight: 600;
  letter-spacing: .03em;
  font-size: 14px;
  padding: 15px 22px !important;
  border-bottom: 1px solid var(--char-line) !important;
}

.et_mobile_menu li a:hover { background: var(--charcoal) !important; color: var(--ember-lt) !important; }

/* ============================================================
   BUTTONS
   ============================================================ */

.et_pb_button {
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  letter-spacing: .05em;
  border-radius: var(--radius-pill) !important;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease !important;
}

.et_pb_button:after { display: none !important; }
.et_pb_button:hover { padding: 17px 38px !important; }

.vort-btn-ember .et_pb_button {
  background-color: var(--ember) !important;
  /* A light diagonal sweep sits in the button's own background layer
     (not a clipped pseudo-element) so it never fights the box-shadow. */
  background-image: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.45) 48%, transparent 66%) !important;
  background-size: 220% 100% !important;
  background-position: 140% 0 !important;
  background-repeat: no-repeat !important;
  color: var(--white) !important;
  box-shadow: var(--shadow-ember);
  transition: background-position .6s ease, transform .22s ease, box-shadow .22s ease, background-color .22s ease !important;
}

.vort-btn-ember .et_pb_button:hover {
  background-color: var(--ember-lt) !important;
  background-position: -40% 0 !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(242,129,34,0.46);
}

.vort-btn-ghost .et_pb_button:hover {
  background: rgba(255,255,255,0.10) !important;
  transform: translateY(-2px);
}

.vort-btn-dark .et_pb_button {
  background: var(--char) !important;
  color: var(--white) !important;
}

.vort-btn-dark .et_pb_button:hover {
  background: var(--charcoal) !important;
  transform: translateY(-2px);
}

/* ============================================================
   SECTION SURFACES
   ============================================================ */

.vort-section-cream { background: var(--cream); }
.vort-section-deep  { background: var(--cream-deep); }
.vort-section-char  { background: var(--char); }

.vort-section-char h1,
.vort-section-char h2,
.vort-section-char h3,
.vort-section-char h4 { color: var(--white); }
.vort-section-char p  { color: rgba(255,255,255,0.72); }

/* Same cursor-follow spotlight as the hero, on every dark section */
.vort-section-char { position: relative; }
.vort-section-char::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 40%), rgba(242,129,34,0.13), transparent 62%);
  pointer-events: none;
  z-index: 0;
}
.vort-section-char > .et_pb_row { position: relative; z-index: 1; }

.vort-eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ember-dk);
}

.vort-section-char .vort-eyebrow { color: var(--ember); }

/* Ember rule under a heading */
.vort-rule {
  width: 62px; height: 3px;
  background: var(--ember);
  border-radius: 2px;
  margin: 0 0 22px;
}

.vort-rule--center { margin-left: auto; margin-right: auto; }

/* ============================================================
   HERO
   ============================================================ */

.vort-hero { position: relative; overflow: hidden; }

.vort-hero::before {
  /* Ember sweep in the top-left, breathing gently like a stove light */
  content: '';
  position: absolute;
  top: -230px; left: -230px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,129,34,0.30) 0%, rgba(242,129,34,0) 68%);
  pointer-events: none;
  animation: vort-breathe 8s ease-in-out infinite;
}

/* Cursor-follow spotlight, a warm glow that tracks the pointer like
   standing near an open flame. --mx/--my are set by vort_interactive_
   enhancements() in functions.php; default to the section centre so it
   still looks intentional before the first mousemove. */
.vort-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 30%), rgba(242,129,34,0.16), transparent 62%);
  pointer-events: none;
  z-index: 1;
}

.vort-hero .et_pb_row { position: relative; z-index: 2; }

.vort-hero h1 {
  color: var(--white) !important;
  font-size: 4.2rem;
  line-height: 1.02;
  letter-spacing: -0.01em;
  position: relative;
}

.vort-hero h1 .ember { color: var(--ember); display: block; font-style: italic; }

/* Steam wisps drifting behind the headline, pure decoration, no markup */
.vort-hero h1::before,
.vort-hero h1::after {
  content: '';
  position: absolute;
  width: 70px; height: 150px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
  animation: vort-steam 7s ease-in-out infinite;
}

.vort-hero h1::before { left: -20px; top: -30px; }
.vort-hero h1::after { left: 55%; top: -50px; animation-delay: 2.4s; }

@keyframes vort-steam {
  0%, 100% { transform: translateY(0) scale(1); opacity: .45; }
  50% { transform: translateY(-34px) scale(1.18); opacity: .85; }
}

@keyframes vort-breathe {
  0%, 100% { opacity: .82; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.07); }
}

.vort-hero p { color: rgba(255,255,255,0.78); }

.vort-hero__note {
  display: flex; align-items: flex-start; gap: 10px;
  color: rgba(255,255,255,0.68);
  font-size: 15px; line-height: 1.6;
}

.vort-hero__note i,
.vort-hero__note svg { color: var(--ember); flex-shrink: 0; margin-top: 3px; }

@media (max-width: 980px) { .vort-hero h1 { font-size: 2.9rem; } }
@media (max-width: 600px) { .vort-hero h1 { font-size: 2.2rem; } }

/* ============================================================
   TRUST STRIP — badges under the hero
   ============================================================ */

.vort-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.vort-trust__item {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.vort-trust__item i,
.vort-trust__item svg { width: 24px; height: 24px; color: var(--ember-dk); flex-shrink: 0; stroke-width: 2; }

.vort-trust__item span {
  font-size: 14.5px; font-weight: 700;
  color: var(--ink); line-height: 1.4;
}

/* ============================================================
   SERVICE CARDS — the four service lines, treated like courses on a
   fine-dining menu: numbered with a large pale numeral (CSS counter,
   no markup change) rather than plain icon cards.
   ============================================================ */

#services { counter-reset: vort-svc; }

.vort-svc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px 32px;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  counter-increment: vort-svc;
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s ease, border-color .3s ease;
}

.vort-svc::after {
  content: counter(vort-svc, decimal-leading-zero);
  position: absolute;
  top: 22px; right: 26px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 2.1rem;
  color: var(--line);
  opacity: .85;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}

.vort-svc__ic, .vort-svc h3, .vort-svc p, .vort-svc__tag {
  position: relative;
  z-index: 1;
}

.vort-svc::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--ember) 0%, var(--ember-lt) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .34s cubic-bezier(.4,0,.2,1);
}

.vort-svc:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: var(--ember-lt);
}

.vort-svc:hover::before { transform: scaleX(1); }

.vort-svc__ic {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: var(--char);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background-color .3s ease;
}

.vort-svc__ic i,
.vort-svc__ic svg { width: 26px; height: 26px; color: var(--ember); stroke-width: 1.8; }
.vort-svc:hover .vort-svc__ic { background: var(--ember); }
.vort-svc:hover .vort-svc__ic i,
.vort-svc:hover .vort-svc__ic svg { color: var(--char); }

.vort-svc h3 { margin-bottom: 10px; font-size: 1.3rem; }
.vort-svc p  { font-size: 15px; margin: 0; }

.vort-svc__tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 11.5px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ember-dk);
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}

/* ============================================================
   VISION / MISSION PANELS
   ============================================================ */

.vort-vm {
  background: var(--char-soft);
  border: 1px solid var(--char-line);
  border-left: 4px solid var(--ember);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.vort-vm::after {
  content: '';
  position: absolute;
  right: -60px; bottom: -60px;
  width: 170px; height: 170px;
  border: 2px solid var(--ember);
  border-radius: 4px;
  transform: rotate(18deg);
  opacity: .13;
}

.vort-vm__ic {
  width: 50px; height: 50px;
  border-radius: var(--radius);
  background: rgba(242,129,34,0.14);
  border: 1px solid rgba(242,129,34,0.34);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.vort-vm__ic i,
.vort-vm__ic svg { width: 23px; height: 23px; color: var(--ember); stroke-width: 1.9; }

.vort-vm h3 { color: var(--white) !important; margin-bottom: 12px; font-size: 1.4rem; }
.vort-vm p  { color: rgba(255,255,255,0.76); font-size: 15.5px; margin: 0; position: relative; z-index: 1; }

/* ============================================================
   FEATURE ITEM GRID — icon + title + text
   ============================================================ */

.vort-fgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(262px, 1fr));
  gap: 28px;
}

.vort-fitem { display: flex; gap: 15px; align-items: flex-start; }

.vort-fitem__ic {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--cream);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}

.vort-fitem__ic i,
.vort-fitem__ic svg { width: 20px; height: 20px; color: var(--ember-dk); stroke-width: 1.9; }

.vort-section-char .vort-fitem__ic {
  background: rgba(255,255,255,0.06);
  border-color: var(--line-dark);
}

.vort-section-char .vort-fitem__ic i,
.vort-section-char .vort-fitem__ic svg { color: var(--ember); }

.vort-fitem h4 { font-size: 1.05rem; margin: 0 0 5px; }
.vort-fitem p  { font-size: 14.5px; margin: 0; line-height: 1.68; }

.vort-section-char .vort-fitem h4 { color: var(--white); }
.vort-section-char .vort-fitem p  { color: rgba(255,255,255,0.70); }

/* ============================================================
   PROCESS STEPS — numbered, ember connector
   ============================================================ */

.vort-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}

.vort-step { position: relative; padding-top: 8px; }

.vort-step__n {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--ember);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: var(--shadow-ember);
}

.vort-step h4 { font-size: 1.1rem; margin: 0 0 8px; }
.vort-step p  { font-size: 14.5px; margin: 0; }

/* ============================================================
   STAT BLOCKS
   ============================================================ */

.vort-stat { text-align: center; padding: 8px 12px; }

.vort-stat__n {
  font-family: var(--font-display);
  font-size: 2.9rem; font-weight: 700;
  color: var(--ember);
  line-height: 1; margin-bottom: 8px;
}

.vort-stat__l {
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}

/* ============================================================
   PORTFOLIO — filterable gallery of real plates, prep and events
   Filtering is plain vanilla JS (see functions.php, vort_portfolio_
   filter_script) toggling a [hidden] attribute — no build step, no
   framework, works the moment Divi renders the shortcode HTML below.
   ============================================================ */

.vort-portfolio__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 34px;
}

.vort-portfolio__btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.vort-portfolio__btn:hover { border-color: var(--ember-lt); color: var(--ink); }

.vort-portfolio__btn.is-active {
  background: var(--ember);
  border-color: var(--ember);
  color: var(--white);
}

.vort-portfolio__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.vort-portfolio__grid a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1 / 1;
}

.vort-portfolio__grid a[hidden] { display: none; }

.vort-portfolio__grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s cubic-bezier(.4,0,.2,1), filter .4s ease;
}

.vort-portfolio__grid a:hover img { transform: scale(1.06); filter: brightness(1.04); }

/* Caption reveal on hover, reads the label straight off the markup
   (data-label) so no separate caption element is needed */
.vort-portfolio__grid a::after {
  content: attr(data-label);
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 14px 10px;
  background: linear-gradient(to top, rgba(12,10,8,0.88), transparent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  transform: translateY(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}

.vort-portfolio__grid a:hover::after { transform: translateY(0); }

@media (max-width: 980px) {
  .vort-portfolio__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .vort-portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .vort-portfolio__filters { gap: 8px; }
  .vort-portfolio__btn { padding: 9px 16px; font-size: 12.5px; }
}

/* ============================================================
   TICKER — a slow, looping strip of brand attributes. Classic
   restaurant-site signal; content is duplicated once in the markup
   for a seamless CSS-only loop (translateX(-50%)).
   ============================================================ */

.vort-ticker {
  overflow: hidden;
  padding: 15px 0;
  background: var(--char);
  border-top: 1px solid var(--char-line);
  border-bottom: 1px solid var(--char-line);
}

.vort-ticker__track {
  display: inline-flex;
  white-space: nowrap;
  animation: vort-marquee 34s linear infinite;
  will-change: transform;
}

.vort-ticker__track span {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: 0 16px;
}

.vort-ticker__track .vort-ticker__dot { color: var(--ember); }

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

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

/* ============================================================
   VIDEO GRID — embeds only (see README: "Video hosting"). Kept as
   a responsive aspect-ratio box so an iframe embed (YouTube/Vimeo)
   scales correctly with no JS.
   ============================================================ */

.vort-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.vort-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--char-soft);
}

.vort-video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

@media (max-width: 780px) {
  .vort-video-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT DETAIL ROWS
   ============================================================ */

.vort-contact-row {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.vort-contact-row:last-child { border-bottom: none; }

.vort-contact-row__ic {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--char);
  display: flex; align-items: center; justify-content: center;
}

.vort-contact-row__ic i,
.vort-contact-row__ic svg { width: 20px; height: 20px; color: var(--ember); stroke-width: 1.9; }

.vort-contact-row__l {
  font-size: 11.5px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 5px;
}

.vort-contact-row__v { font-size: 16px; color: var(--ink); line-height: 1.55; font-weight: 600; }
.vort-contact-row__v a { color: var(--ink); }
.vort-contact-row__v a:hover { color: var(--ember-dk); }

.vort-section-char .vort-contact-row { border-color: var(--char-line); }
.vort-section-char .vort-contact-row__ic { background: rgba(242,129,34,0.14); border: 1px solid rgba(242,129,34,0.32); }
.vort-section-char .vort-contact-row__v,
.vort-section-char .vort-contact-row__v a { color: var(--white); }

/* ============================================================
   FORM WRAPPER — WPForms, VORT Foods styled
   ============================================================ */

.vort-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 42px 42px 36px;
}

.vort-form-wrap .wpforms-field-label {
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink) !important;
  margin-bottom: 8px !important;
}

.vort-form-wrap .wpforms-field-description { font-size: 13px; color: var(--ink-faint); }

.vort-form-wrap input[type=text],
.vort-form-wrap input[type=email],
.vort-form-wrap input[type=tel],
.vort-form-wrap input[type=url],
.vort-form-wrap input[type=date],
.vort-form-wrap input[type=number],
.vort-form-wrap select,
.vort-form-wrap textarea {
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  color: var(--ink) !important;
  background: var(--cream) !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  padding: 13px 15px !important;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.vort-form-wrap input:focus,
.vort-form-wrap select:focus,
.vort-form-wrap textarea:focus {
  background: var(--white) !important;
  border-color: var(--ember) !important;
  box-shadow: 0 0 0 3px rgba(242,129,34,0.20) !important;
  outline: none !important;
}

.vort-form-wrap .wpforms-submit {
  font-family: var(--font-body) !important;
  background: var(--ember) !important;
  color: var(--white) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: none !important;
  border-radius: var(--radius-pill) !important;
  padding: 16px 40px !important;
  cursor: pointer;
  box-shadow: var(--shadow-ember);
  transition: background-color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.vort-form-wrap .wpforms-submit:hover {
  background: var(--ember-lt) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(242,129,34,0.46);
}

.vort-form-wrap .wpforms-confirmation-container-full {
  background: var(--cream) !important;
  border: 1px solid var(--ember) !important;
  border-radius: var(--radius) !important;
  color: var(--ink) !important;
}

@media (max-width: 600px) { .vort-form-wrap { padding: 26px 22px 24px; } }

/* ============================================================
   CTA BAND — the ember booking bar
   ============================================================ */

.vort-cta {
  background: linear-gradient(115deg, var(--ember-dk) 0%, var(--ember) 52%, var(--ember-lt) 100%);
  position: relative;
  overflow: hidden;
}

.vort-cta h2 { color: var(--white) !important; }
.vort-cta p  { color: rgba(255,255,255,0.85); }

.vort-cta__phone {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .01em;
  line-height: 1;
  display: inline-block;
}

.vort-cta__phone:hover { color: var(--white); opacity: .82; }

@media (max-width: 600px) { .vort-cta__phone { font-size: 2rem; } }

/* ============================================================
   GENERIC PAGE HERO (interior pages)
   ============================================================ */

.vort-page-hero {
  background: var(--char);
  position: relative;
  overflow: hidden;
}

.vort-page-hero::before {
  content: '';
  position: absolute;
  top: -180px; right: -140px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,129,34,0.26) 0%, rgba(242,129,34,0) 70%);
  animation: vort-breathe 8s ease-in-out infinite;
}

.vort-page-hero h1 { color: var(--white) !important; font-size: 3.1rem; }
.vort-page-hero p  { color: rgba(255,255,255,0.75); }

@media (max-width: 980px) { .vort-page-hero h1 { font-size: 2.2rem; } }

.vort-crumb {
  font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,0.52);
}

.vort-crumb a { color: var(--ember); }
.vort-crumb span { margin: 0 8px; opacity: .5; }

/* ============================================================
   FAQ — Divi toggles, VORT Foods styled
   ============================================================ */

.vort-faq .et_pb_toggle {
  background: var(--white) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  margin-bottom: 12px;
  padding: 4px 26px !important;
}

.vort-faq .et_pb_toggle_open { border-color: var(--ember) !important; box-shadow: var(--shadow-sm); }

.vort-faq .et_pb_toggle_title {
  color: var(--char) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: .01em;
  padding: 18px 34px 18px 0 !important;
}

.vort-faq .et_pb_toggle_title:before { color: var(--ember-dk) !important; font-size: 22px; right: 0; }
.vort-faq .et_pb_toggle_content { color: var(--ink-soft); font-size: 15px; line-height: 1.75; padding-bottom: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */

#main-footer { background: var(--char); }
#footer-widgets { padding: 64px 0 28px; }

#footer-widgets .footer-widget h4,
#footer-widgets .footer-widget h4 a {
  font-family: var(--font-display) !important;
  color: var(--white) !important;
  font-size: 18px !important;
  letter-spacing: .01em;
  margin-bottom: 16px;
}

#footer-widgets .footer-widget,
#footer-widgets .footer-widget li,
#footer-widgets .footer-widget p {
  color: rgba(255,255,255,0.60);
  font-size: 14.5px;
  line-height: 1.85;
}

#footer-widgets .footer-widget li a { color: rgba(255,255,255,0.60); transition: color .2s ease, padding-left .2s ease; }
#footer-widgets .footer-widget li a:hover { color: var(--ember); padding-left: 5px; }
#footer-widgets .footer-widget li::before { display: none; }

#footer-bottom { background: rgba(0,0,0,0.42); padding: 20px 0; }
#footer-info, #footer-info a { color: rgba(255,255,255,0.46); font-size: 13.5px; }
#footer-info a:hover { color: var(--ember); }

/* ============================================================
   LUCIDE ICONS
   ============================================================ */

/* Lucide REPLACES <i data-lucide> with <svg class="lucide"> at runtime,
   so any rule written only against `i` stops matching once the script
   runs. Every icon rule in this file therefore lists both selectors.
   The svg draws with stroke="currentColor", so `color` is what tints it. */

i[data-lucide],
svg.lucide {
  display: inline-block;
  width: 20px; height: 20px;
  stroke-width: 1.9;
  vertical-align: middle;
}

/* Fallback tint for any icon with no component rule of its own, so a
   stray icon can never inherit near-black body ink and vanish on char.
   :where() keeps this at zero specificity — every rule above beats it,
   including the --ember-dk icons that need the darker tone on cream. */
:where(i[data-lucide], svg.lucide) { color: var(--ember); }

/* ============================================================
   SOCIAL BUTTONS
   Lucide removed brand icons in v1.x, so Facebook and Instagram
   are inlined as SVG using Lucide's own original glyph paths —
   same 24px grid and stroke weight, so they sit correctly
   alongside the rest of the icon set.
   ============================================================ */

.vort-socials { display: flex; gap: 10px; }

.vort-social {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--char);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .22s ease, transform .22s ease;
}

.vort-social svg {
  width: 20px; height: 20px;
  color: var(--ember);
  stroke-width: 1.9;
  transition: color .22s ease;
}

.vort-social:hover { background: var(--ember); transform: translateY(-2px); }
.vort-social:hover svg { color: var(--char); }

.vort-section-char .vort-social,
.vort-page-hero .vort-social {
  background: rgba(242,129,34,0.14);
  border: 1px solid rgba(242,129,34,0.32);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 980px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  .vort-form-wrap { padding: 32px 26px 28px; }
  .vort-vm { padding: 30px 26px; }
}

@media (max-width: 600px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.65rem; }
  .vort-stat__n { font-size: 2.2rem; }
  .vort-svc { padding: 28px 24px; }
}

/* ============================================================
   SCROLL REVEAL — cards, panels and stats rise into place as they
   enter the viewport. The hidden starting state only applies under
   .js-reveal (added to <html> by vort_interactive_enhancements() in
   functions.php) so content already defaults to fully visible if JS
   fails or is disabled — it can never get stuck at opacity:0. That
   same script also resolves anything already in the viewport at
   load synchronously, before first paint, so above-the-fold content
   never flashes hidden-then-visible.
   ============================================================ */

.js-reveal .vort-svc, .js-reveal .vort-vm, .js-reveal .vort-fitem,
.js-reveal .vort-trust__item, .js-reveal .vort-step, .js-reveal .vort-stat,
.js-reveal .vort-portfolio__grid a {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}

.vort-reveal-visible { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  .js-reveal .vort-svc, .js-reveal .vort-vm, .js-reveal .vort-fitem,
  .js-reveal .vort-trust__item, .js-reveal .vort-step, .js-reveal .vort-stat,
  .js-reveal .vort-portfolio__grid a {
    opacity: 1; transform: none; transition: none;
  }
}

/* ============================================================
   GRAIN — a faint fixed noise layer over the whole site for a
   tactile, less-digital feel. Injected once via wp_body_open() in
   functions.php so it isn't duplicated per page.
   ============================================================ */

.vort-grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ember); color: var(--white);
  padding: 12px 22px; z-index: 100000;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 800;
}

.skip-link:focus { left: 0; color: var(--white); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.et_pb_button:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .vort-svc:hover { transform: none; }
  .vort-gallery a:hover img { transform: none; }
}

/* ============================================================
   PRINT
   ============================================================ */

@media print {
  #main-header, #main-footer, .vort-cta, .et_pb_button, .vort-float-wa { display: none !important; }
  body { color: #000; background: #fff; }
}

@font-face { font-display: swap; }
