/*
 Theme Name:   Luxury Refinery
 Theme URI:    https://luxuryrefinery.com
 Description:  Divi child theme for Luxury Refinery (Nessim Works). Editorial luxury: Cormorant Garamond display, DM Sans body, near-monochrome.
 Author:       Nessim Works
 Author URI:   https://nessimworks.com
 Template:     Divi
 Version:      0.1.0
*/

:root {
  --lr-ink: #121212;
  --lr-ink-soft: #3a3a3a;
  --lr-stone: #7d7872;
  --lr-line: #e4dfd7;
  --lr-paper: #f6f3ee;
  --lr-white: #ffffff;
  --lr-brass: #ad5319; /* brand copper, sampled from the LR logo kit */
  --lr-serif: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --lr-sans: 'DM Sans', Helvetica, Arial, sans-serif;
}

body, #et-main-area, #main-content { background: var(--lr-white); font-family: var(--lr-sans); color: var(--lr-ink-soft); font-size: 16px; line-height: 1.7; font-weight: 400; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .et_pb_module h1, .et_pb_module h2, .et_pb_module h3, .et_pb_module h4 { font-family: var(--lr-serif); font-weight: 400; color: var(--lr-ink); letter-spacing: 0; }
h1, .et_pb_module h1 { font-size: 64px; line-height: 1.05; }
h2, .et_pb_module h2 { font-size: 44px; line-height: 1.1; }
h3, .et_pb_module h3 { font-size: 28px; line-height: 1.2; }
h4, .et_pb_module h4 { font-size: 20px; line-height: 1.3; }
h1 em, h2 em { font-style: italic; font-weight: 300; }
.lr-eyebrow, .lr-eyebrow p { font-family: var(--lr-sans); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--lr-stone); font-weight: 500; margin-bottom: 18px; }
.lr-lede, .lr-lede p { font-family: var(--lr-serif); font-size: 24px; line-height: 1.45; color: var(--lr-ink-soft); }
.lr-body p { max-width: 62ch; }
.lr-paper { background: var(--lr-paper); }
.lr-dark { background: var(--lr-ink); color: #cfcac2; }
.lr-dark h1, .lr-dark h2, .lr-dark h3, .lr-dark h4, .lr-dark .et_pb_module h2, .lr-dark .et_pb_module h3 { color: var(--lr-white); }
.lr-dark .lr-eyebrow, .lr-dark .lr-eyebrow p { color: #9c968d; }
.lr-dark .lr-lede, .lr-dark .lr-lede p { color: #d8d3cb; }
.lr-dark .et_pb_text, .lr-dark .et_pb_text p { color: #cfcac2; }

/* Buttons: hairline, square, tracked caps */
body .et_pb_button, .lr-btn { font-family: var(--lr-sans) !important; font-size: 11px !important; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; border-radius: 0 !important; border: 1px solid var(--lr-ink) !important; background: transparent; color: var(--lr-ink) !important; padding: 15px 30px !important; transition: background .25s, color .25s; line-height: 1.2; display: inline-block; text-decoration: none; }
body .et_pb_button:after { display: none !important; }
body .et_pb_button:hover, .lr-btn:hover { background: var(--lr-ink); color: var(--lr-white) !important; padding: 15px 30px !important; }
.lr-dark .et_pb_button, .lr-btn-light { border-color: var(--lr-white) !important; color: var(--lr-white) !important; }
.lr-dark .et_pb_button:hover, .lr-btn-light:hover { background: var(--lr-white); color: var(--lr-ink) !important; }
.lr-btn-solid { background: var(--lr-ink); color: var(--lr-white) !important; border-color: var(--lr-ink) !important; }
.lr-btn-solid:hover { background: transparent; color: var(--lr-ink) !important; }
.lr-link { font-family: var(--lr-sans); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--lr-ink); text-decoration: none; border-bottom: 1px solid var(--lr-ink); padding-bottom: 4px; }
.lr-link:hover { border-color: var(--lr-brass); color: var(--lr-brass); }

/* Rhythm */
.lr-hr { border: 0; border-top: 1px solid var(--lr-line); margin: 0; }
.et_pb_section { padding: 110px 0; }
.et_pb_section.lr-tight { padding: 60px 0; }
.et_pb_row { max-width: 1320px; width: 90%; }

/* Header */
.lr-header .et_pb_section { padding: 0; }
.lr-header .et_pb_row { padding: 22px 0; }
.lr-header .et_pb_menu__menu > nav > ul > li > a { font-family: var(--lr-sans); font-size: 11px !important; letter-spacing: 0.22em; text-transform: uppercase; color: var(--lr-ink) !important; font-weight: 500; padding-bottom: 6px; }
.lr-header .et_pb_menu__menu > nav > ul > li > a:hover { opacity: 1; border-bottom: 1px solid var(--lr-ink); }
.lr-header .et_pb_menu .et-menu .menu-item-has-children > a:first-child:after { font-size: 12px; top: 2px; }
.lr-header .et_pb_menu .et_mobile_menu li a { font-family: var(--lr-sans); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.lr-wordmark { display: inline-flex; align-items: center; gap: 16px; font-family: var(--lr-serif); font-size: 22px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--lr-ink); line-height: 1; text-decoration: none; }
.lr-mark { width: 46px; height: 46px; flex: 0 0 46px; }
.lr-wordmark-text { display: block; }
.lr-wordmark small { display: block; font-family: var(--lr-sans); font-size: 9px; letter-spacing: 0.38em; color: var(--lr-stone); margin-top: 7px; }
.lr-topbar, .lr-topbar p { font-family: var(--lr-sans); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--lr-stone); }

/* Hero */
.lr-hero { min-height: 92vh; display: flex; align-items: flex-end; }
.lr-hero .et_pb_row { padding-bottom: 70px; }
.lr-hero h1 { font-size: clamp(48px, 7vw, 96px); color: var(--lr-white); line-height: 0.98; margin-bottom: 26px; }
.lr-hero .lr-eyebrow, .lr-hero .lr-eyebrow p { color: #d9d3c8; }
.lr-hero .lr-lede, .lr-hero .lr-lede p { color: #e9e4db; max-width: 48ch; }
.lr-hero .et_pb_button { border-color: var(--lr-white) !important; color: var(--lr-white) !important; }
.lr-hero .et_pb_button:hover { background: var(--lr-white); color: var(--lr-ink) !important; }
.lr-page-hero { padding: 180px 0 90px; }
.lr-page-hero h1 { margin-bottom: 20px; }

/* Collection grid */
.lr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 36px; }
.lr-card { display: block; color: inherit; text-decoration: none; }
.lr-card figure { margin: 0 0 20px; background: var(--lr-paper); aspect-ratio: 4 / 5; overflow: hidden; position: relative; }
.lr-card figure img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2,.6,.2,1); }
.lr-card:hover figure img { transform: scale(1.04); }
.lr-card .lr-brand { font-family: var(--lr-sans); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--lr-stone); margin-bottom: 8px; }
.lr-card .lr-name { font-family: var(--lr-serif); font-size: 24px; line-height: 1.2; color: var(--lr-ink); margin: 0 0 8px; padding: 0; }
.lr-card .lr-price { font-family: var(--lr-sans); font-size: 13px; letter-spacing: 0.08em; color: var(--lr-ink-soft); }
.lr-badge { position: absolute; top: 14px; left: 14px; font-family: var(--lr-sans); font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase; padding: 7px 10px; background: var(--lr-white); color: var(--lr-ink); }
.lr-badge.sold { background: var(--lr-ink); color: var(--lr-white); }
.lr-badge.por { background: var(--lr-paper); }

/* Product single */
.lr-spec { width: 100%; border-collapse: collapse; font-family: var(--lr-sans); font-size: 14px; }
.lr-spec th, .lr-spec td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--lr-line); vertical-align: top; background: transparent; }
.lr-spec th { width: 38%; font-weight: 500; color: var(--lr-stone); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; }
.lr-price-lg { font-family: var(--lr-serif); font-size: 34px; color: var(--lr-ink); margin: 6px 0 26px; }
.lr-status { font-family: var(--lr-sans); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--lr-stone); }
.lr-status:before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lr-brass); margin-right: 10px; vertical-align: 1px; }
.lr-status.sold:before { background: var(--lr-ink); }
.lr-gallery { display: grid; grid-template-columns: 1fr; gap: 12px; }
.lr-gallery img { width: 100%; height: auto; display: block; background: var(--lr-paper); }
.lr-sticky { position: sticky; top: 120px; }

/* Services */
.lr-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; border-top: 1px solid var(--lr-line); }
.lr-service { padding: 40px 0 44px; border-bottom: 1px solid var(--lr-line); }
.lr-service .lr-num { font-family: var(--lr-serif); font-style: italic; color: var(--lr-stone); font-size: 18px; margin-bottom: 20px; display: block; }
.lr-service h3 { font-size: 26px; margin-bottom: 12px; padding: 0; }
.lr-service p { font-size: 15px; color: var(--lr-ink-soft); margin-bottom: 18px; }
.lr-brands { display: flex; flex-wrap: wrap; gap: 14px 44px; font-family: var(--lr-serif); font-size: 22px; color: var(--lr-stone); letter-spacing: 0.04em; }
.lr-quote { font-family: var(--lr-serif); font-size: 30px; line-height: 1.35; color: var(--lr-ink); font-style: italic; max-width: 32ch; }
.lr-cite { font-family: var(--lr-sans); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--lr-stone); margin-top: 24px; }
.lr-disclaimer, .lr-disclaimer p { font-family: var(--lr-sans); font-size: 11px; line-height: 1.7; color: #8d887f; }
.lr-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.lr-steps li { counter-increment: step; padding: 26px 0 26px 64px; border-top: 1px solid var(--lr-line); position: relative; font-size: 15px; }
.lr-steps li:before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 24px; font-family: var(--lr-serif); font-style: italic; font-size: 22px; color: var(--lr-stone); }
.lr-steps li strong { font-family: var(--lr-serif); font-weight: 400; font-size: 22px; color: var(--lr-ink); display: block; margin-bottom: 4px; }

/* Forms (Divi contact form) */
.et_pb_contact_form .et_pb_contact_field { margin-bottom: 18px; }
.et_pb_contact p input, .et_pb_contact p textarea, .et_pb_contact_form_container select { background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--lr-line) !important; border-radius: 0; padding: 14px 0 !important; font-family: var(--lr-sans); font-size: 15px; color: var(--lr-ink); }
.et_pb_contact p input:focus, .et_pb_contact p textarea:focus { border-bottom-color: var(--lr-ink) !important; outline: 0; }
.et_pb_contact_form_label { font-family: var(--lr-sans); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--lr-stone); display: block; }
.et_pb_contact_submit { margin-top: 10px; }

/* Footer */
.lr-footer { background: var(--lr-ink); color: #a7a199; }
.lr-footer .et_pb_section { padding: 90px 0 40px; }
.lr-footer a { color: #d8d3cb; }
.lr-footer .lr-wordmark { color: var(--lr-white); }
.lr-footer .lr-wordmark small { color: #8b857c; }
.lr-footer ul { list-style: none; padding: 0; margin: 0; }
.lr-footer li { font-family: var(--lr-sans); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 14px; }
.lr-footer li a { text-decoration: none; }
.lr-footer li a:hover { color: var(--lr-white); }
.lr-footer-head { font-family: var(--lr-sans); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: #6f6962; margin-bottom: 22px; }
.lr-footer .lr-disclaimer, .lr-footer .lr-disclaimer p { color: #6f6962; }
.lr-footer .et_pb_text, .lr-footer .et_pb_text p { color: #a7a199; }

@media (max-width: 980px) {
  h1, .et_pb_module h1 { font-size: 46px; } h2, .et_pb_module h2 { font-size: 34px; }
  .lr-grid, .lr-services { grid-template-columns: repeat(2, 1fr); }
  .et_pb_section { padding: 72px 0; }
  .lr-page-hero { padding: 130px 0 60px; }
}
@media (max-width: 640px) {
  .lr-grid, .lr-services { grid-template-columns: 1fr; gap: 36px; }
  .lr-lede, .lr-lede p { font-size: 20px; }
  .lr-hero { min-height: 80vh; }
  .lr-sticky { position: static; }
}

/* Header alignment */
.lr-header .et_pb_row { display: flex; align-items: center; }
.lr-header .et_pb_column { margin-bottom: 0; }
.lr-header .et_pb_menu__wrap, .lr-header .et_pb_menu__menu { justify-content: flex-end; }
.lr-header .et_pb_menu .et_pb_menu__menu > nav > ul > li { padding-left: 34px; }
.lr-header .et_pb_menu .et_pb_menu__menu > nav > ul > li > a { padding: 0 0 6px; }
.lr-header .et_pb_menu .et_mobile_nav_menu { float: right; }
.lr-header .et_pb_text { margin-bottom: 0 !important; }
.lr-header .et_pb_menu { margin-bottom: 0 !important; }
.lr-header .et_pb_menu .nav li ul { border-top: 1px solid var(--lr-ink); box-shadow: none; padding: 14px 0; }
.lr-header .et_pb_menu .nav li ul a { font-size: 10px !important; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lr-ink) !important; }
@media (max-width: 980px) { .lr-header .et_pb_row { display: block; } .lr-header .et_pb_column:first-child { width: 60%; float: left; margin-bottom: 0; } .lr-header .et_pb_column:last-child { width: 40%; float: left; } }
/* Product single */
.lr-single .et_pb_post_title h1 { font-size: 40px; margin: 10px 0 14px; }
.lr-single .et_pb_post_content { margin: 30px 0; }
.lr-single .et_pb_post_content p { font-size: 15px; max-width: none; }
.lr-single .et_pb_code { margin-bottom: 0; }

/* Review fixes 2026-11-02 */
.lr-hero { min-height: clamp(560px, 92vh, 900px); }
.lr-wordmark { white-space: nowrap; font-size: 17px; letter-spacing: 0.22em; gap: 12px; } .lr-mark { width: 38px; height: 38px; flex-basis: 38px; }
.lr-header .et_pb_column:first-child { width: 34%; } .lr-header .et_pb_column:last-child { width: 66%; margin-right: 0; }
.et_pb_text ol.lr-steps, .et_pb_text ul.lr-steps { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.et_pb_text ol.lr-steps li { list-style: none !important; }
.et_pb_contact p input::placeholder, .et_pb_contact p textarea::placeholder { color: transparent; }
.et_pb_contact p textarea { min-height: 96px; }
.et_pb_contact_form .et_pb_contact_field.et_pb_contact_field_half { width: 100%; }
.et_pb_contact_right p.clearfix { font-family: var(--lr-sans); font-size: 12px; color: var(--lr-stone); }
.et_pb_contact_right p.clearfix input { border-bottom: 1px solid var(--lr-line) !important; width: 70px; }
.lr-gallery { grid-template-columns: 1fr 1fr; }
.lr-gallery img:first-child { grid-column: 1 / -1; }
@media (max-width: 640px) { .lr-gallery { grid-template-columns: 1fr; } }

/* Footer brand lockup (David's primary logo with slogan) */
.lr-footer .lr-lockup { text-align: center; margin: 0; }
.lr-footer .lr-lockup img { width: 380px; max-width: 80vw; height: auto; display: inline-block; }
.lr-footer .lr-footer-cols { border-top: 1px solid #2a2a2a; }
.lr-footer .lr-footer-meta { font-family: var(--lr-sans); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #8b857c; margin-top: 18px; }
@media (max-width: 600px) { .lr-footer .lr-lockup img { width: 280px; } }
@media (max-width: 980px) { .lr-header .et_pb_row { display: flex !important; align-items: center; justify-content: space-between; } .lr-header .et_pb_column:first-child, .lr-header .et_pb_column:last-child { width: auto !important; float: none; margin: 0 !important; } .lr-header .et_pb_menu .et_mobile_nav_menu { float: none; } }
