/* DELUXE-LUXURY-MODERNIZATION-2026 — EDITORIAL LUXURY V2 */
:root {
  --deluxe-ink: #17252c;
  --deluxe-muted: #65747a;
  --deluxe-navy: #143441;
  --deluxe-deep: #071e28;
  --deluxe-ivory: #f6f1e8;
  --deluxe-paper: #fffdf9;
  --deluxe-mist: #edf2f0;
  --deluxe-gold: #bd9a5f;
  --deluxe-gold-light: #e6d2a9;
  --deluxe-gold-dark: #80622f;
  --deluxe-line: rgba(18,50,62,.14);
  --deluxe-radius: 18px;
  --deluxe-shadow: 0 22px 65px rgba(7,29,38,.11);
  --deluxe-shadow-soft: 0 9px 30px rgba(7,29,38,.08);
}
html { scroll-behavior: smooth; background: var(--deluxe-ivory); }
* { box-sizing: border-box; }
body {
  margin: 0 !important;
  color: var(--deluxe-ink) !important;
  background:
    radial-gradient(circle at 15% 0, rgba(230,210,169,.28), transparent 28rem),
    linear-gradient(180deg, #f5f0e7 0, var(--deluxe-paper) 38rem) fixed !important;
  font-family: "Aptos", "Segoe UI", Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.68 !important;
  overflow-wrap: anywhere;
}
body > table,
body > div:not(.deluxe-luxury-shell):not(.deluxe-luxury-mobile-bar),
body > center {
  width: min(1180px, calc(100% - 38px)) !important;
  max-width: 1180px !important;
  margin: 28px auto !important;
}
body > table,
body > center > table {
  padding: clamp(18px, 3.5vw, 46px) !important;
  background: rgba(255,253,249,.96) !important;
  border: 1px solid rgba(189,154,95,.20) !important;
  border-radius: var(--deluxe-radius) !important;
  box-shadow: var(--deluxe-shadow) !important;
}
table {
  max-width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-color: transparent !important;
}
td, th {
  max-width: 100% !important;
  height: auto !important;
  padding: 10px 12px !important;
  color: var(--deluxe-ink) !important;
  border-color: rgba(18,50,62,.10) !important;
  line-height: 1.55 !important;
}
td[bgcolor], th[bgcolor] { background: rgba(237,242,240,.60) !important; }
tr:nth-child(even) > td[bgcolor] { background: rgba(246,241,232,.72) !important; }
font, span, p, div, em, strong, b, i {
  font-family: inherit !important;
  max-width: 100%;
}
p { margin-top: .72em !important; margin-bottom: .72em !important; }
font[color="#346BA3"], font[color="#346ba3"], [style*="rgb(52, 107, 163)"] {
  color: #1e5d70 !important;
}
img {
  max-width: 100%;
  height: auto;
  border-color: transparent !important;
}
td > a > img,
p > img,
div > img {
  border-radius: 12px;
  box-shadow: var(--deluxe-shadow-soft);
}
a {
  color: #16596e !important;
  text-decoration-color: rgba(22,89,110,.32);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}
a:hover { color: var(--deluxe-gold-dark); }
h1, h2, h3 {
  color: var(--deluxe-deep) !important;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif !important;
  font-weight: 500 !important;
  letter-spacing: -.025em;
  line-height: 1.12 !important;
  text-wrap: balance;
}
h1 {
  margin: .45em 0 .6em !important;
  font-size: clamp(2.15rem, 4.4vw, 4rem) !important;
}
h2 {
  margin: 1.25em 0 .55em !important;
  font-size: clamp(1.65rem, 3vw, 2.55rem) !important;
}
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem) !important; }
hr {
  height: 1px;
  border: 0 !important;
  background: linear-gradient(90deg, transparent, var(--deluxe-gold), transparent);
}
ul, ol { padding-left: 1.35rem; }
li { margin: .3em 0; }
input, select, textarea, button { font: inherit; }
.deluxe-luxury-shell {
  position: relative;
  z-index: 10;
  box-sizing: border-box;
  width: 100%;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 19px max(24px, calc((100vw - 1180px)/2));
  color: white;
  background:
    radial-gradient(circle at 78% 0, rgba(189,154,95,.17), transparent 25rem),
    linear-gradient(120deg, #061b24, #103643 72%, #173f49);
  border-bottom: 1px solid rgba(230,210,169,.38);
  box-shadow: 0 10px 38px rgba(0,0,0,.16);
}
.deluxe-luxury-brand { color: white !important; text-decoration: none; display: grid; gap: 2px; }
.deluxe-luxury-eyebrow {
  font: 700 .72rem/1.1 "Segoe UI", Arial, sans-serif;
  letter-spacing: .23em;
  color: var(--deluxe-gold-light);
}
.deluxe-luxury-name {
  font: 400 clamp(1.3rem,2.3vw,1.9rem)/1.15 "Iowan Old Style", Georgia, serif;
  letter-spacing: .02em;
}
.deluxe-luxury-actions, .deluxe-luxury-cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.deluxe-luxury-actions a, .deluxe-luxury-cta-actions a {
  box-sizing: border-box;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  color: white !important;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 999px;
  font-weight: 650;
}
.deluxe-luxury-actions a:hover, .deluxe-luxury-cta-actions a:hover {
  color: white !important;
  border-color: var(--deluxe-gold-light);
  background: rgba(255,255,255,.08);
  transform: translateY(-1px);
}
.deluxe-luxury-primary {
  color: #10232c !important;
  border-color: var(--deluxe-gold) !important;
  background: linear-gradient(135deg,#ecd9b1,#bd9a5f) !important;
  box-shadow: 0 7px 22px rgba(0,0,0,.18);
}
.deluxe-luxury-intro {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 13px 24px;
  text-align: center;
  background: linear-gradient(90deg,#f3ead9,#fbf8f1,#f3ead9);
  border-bottom: 1px solid rgba(128,102,51,.2);
}
.deluxe-luxury-intro p { margin: 0 !important; font-size: .9rem; letter-spacing: .055em; text-transform: uppercase; }
.deluxe-luxury-intro a { color: var(--deluxe-deep); font-weight: 750; }
.deluxe-luxury-cta {
  box-sizing: border-box;
  max-width: 1180px;
  margin: 68px auto 0;
  padding: clamp(28px,5vw,56px);
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(250px,.8fr);
  gap: 38px;
  align-items: center;
  color: white;
  border-radius: var(--deluxe-radius) var(--deluxe-radius) 0 0;
  background: radial-gradient(circle at 80% 10%,rgba(189,154,95,.25),transparent 35%),var(--deluxe-deep);
  box-shadow: var(--deluxe-shadow);
}
.deluxe-luxury-cta h2 { margin: 7px 0 12px; color: white !important; }
.deluxe-luxury-cta p { margin: 0; color: rgba(255,255,255,.82); }
.deluxe-luxury-cta-actions { justify-content: flex-end; }
.deluxe-luxury-mobile-bar { display: none; }
@media (min-width: 761px) {
  body > table img[width="200"],
  body > table img[width="201"],
  body > table img[width="202"] {
    transition: transform .25s ease, box-shadow .25s ease;
  }
  body > table a:hover img {
    transform: translateY(-3px);
    box-shadow: 0 17px 38px rgba(7,29,38,.16);
  }
}
@media (max-width: 760px) {
  body { padding-bottom: 64px !important; }
  body > table,
  body > div:not(.deluxe-luxury-shell):not(.deluxe-luxury-mobile-bar),
  body > center {
    width: calc(100% - 20px) !important;
    margin: 12px auto !important;
  }
  body > table, body > center > table {
    padding: 12px 8px !important;
    border-radius: 12px !important;
  }
  table, tbody, tr { max-width: 100% !important; }
  td, th { padding: 8px 6px !important; }
  table[style*="width: 980"], table[width="980"], table[width="990"], table[width="1000"] {
    width: 100% !important;
  }
  .deluxe-luxury-shell { align-items: flex-start; padding: 15px 18px; }
  .deluxe-luxury-actions a:not(.deluxe-luxury-primary) { display: none; }
  .deluxe-luxury-actions .deluxe-luxury-primary { font-size: 0; padding: 9px 13px; }
  .deluxe-luxury-actions .deluxe-luxury-primary::after { content: "Call"; font-size: .95rem; }
  .deluxe-luxury-intro { display: block; padding: 10px 16px; }
  .deluxe-luxury-intro p { display: none; }
  .deluxe-luxury-cta { margin-top: 40px; grid-template-columns: 1fr; }
  .deluxe-luxury-cta-actions { justify-content: flex-start; }
  .deluxe-luxury-mobile-bar {
    position: fixed;
    z-index: 99999;
    left: 0; right: 0; bottom: 0;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    color: white;
    background: var(--deluxe-deep);
    border-top: 1px solid var(--deluxe-gold);
    box-shadow: 0 -7px 24px rgba(0,0,0,.18);
  }
  .deluxe-luxury-mobile-bar a {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    text-decoration: none;
    font-weight: 750;
    border-right: 1px solid rgba(255,255,255,.15);
  }
}
@media (max-width: 520px) {
  td, th { font-size: .91rem !important; }
  h1 { font-size: 2rem !important; }
  h2 { font-size: 1.55rem !important; }
  .deluxe-luxury-name { font-size: 1.18rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ============================================================
   RESPONSIVE COMPATIBILITY V3 — DESKTOP, TABLET AND MOBILE
   Keeps every legacy URL and link while neutralizing fixed widths.
   ============================================================ */
html {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
body {
  width: 100%;
  min-width: 0;
  overflow-x: hidden !important;
}
body * { min-width: 0; }
main, section, article, aside, header, footer, nav, figure {
  max-width: 100%;
}
img, picture, video, canvas, svg, iframe, embed, object {
  max-width: 100% !important;
}
video, iframe, embed, object { height: auto; }
pre, code {
  max-width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
input, select, textarea, button {
  max-width: 100%;
  min-height: 44px;
}
textarea { resize: vertical; }

/* Override common FrontPage fixed dimensions at every viewport. */
table[width],
table[style*="width:"],
table[style*="WIDTH:"],
div[style*="width:"],
div[style*="WIDTH:"],
center[style*="width:"],
center[style*="WIDTH:"] {
  max-width: 100% !important;
}
td[width], th[width] { max-width: 100% !important; }
img[width][height] {
  max-width: 100% !important;
  height: auto !important;
}

/* Large desktop and laptop refinement. */
@media (max-width: 1220px) {
  body > table,
  body > div:not(.deluxe-luxury-shell):not(.deluxe-luxury-mobile-bar),
  body > center {
    width: calc(100% - 32px) !important;
  }
  .deluxe-luxury-shell {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Tablet and compact laptop. */
@media (max-width: 980px) {
  .deluxe-luxury-shell {
    min-height: 82px;
    gap: 14px;
    padding: 14px 18px;
  }
  .deluxe-luxury-actions { gap: 7px; }
  .deluxe-luxury-actions a {
    min-height: 42px;
    padding: 8px 12px;
    font-size: .86rem;
  }
  .deluxe-luxury-intro {
    gap: 12px;
    padding: 10px 16px;
  }
  body > table,
  body > center > table {
    padding: clamp(14px, 2.4vw, 28px) !important;
  }
  table[width="980"], table[width="990"], table[width="1000"],
  table[width="1024"], table[width="1100"], table[width="1200"],
  table[style*="width: 980"], table[style*="width:980"],
  table[style*="width: 990"], table[style*="width:990"],
  table[style*="width: 1000"], table[style*="width:1000"] {
    width: 100% !important;
  }
}

/* Mobile: preserve tabular meaning while allowing safe horizontal scrolling. */
@media (max-width: 760px) {
  body {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
  body > table,
  body > div:not(.deluxe-luxury-shell):not(.deluxe-luxury-mobile-bar),
  body > center {
    width: calc(100% - 16px) !important;
    max-width: calc(100% - 16px) !important;
  }
  body > table,
  body > center > table {
    padding: 10px 5px !important;
  }
  table {
    width: 100% !important;
  }
  td, th {
    width: auto !important;
    min-width: 0 !important;
    padding: 7px 5px !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  /* Very wide data/deck-plan tables remain usable instead of crushing content. */
  table:has(> tbody > tr > td:nth-child(5)),
  table:has(> tr > td:nth-child(5)) {
    display: block;
    width: 100% !important;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }
  img[align="left"], img[align="right"] {
    float: none !important;
    display: block;
    margin: 12px auto !important;
  }
  [align="left"], [align="right"] { text-align: inherit; }
  p, li, td, th { font-size: max(.94rem, 15px) !important; }
  a, button, input, select, textarea { touch-action: manipulation; }
  .deluxe-luxury-brand { max-width: calc(100% - 74px); }
  .deluxe-luxury-eyebrow {
    font-size: .64rem;
    letter-spacing: .15em;
  }
  .deluxe-luxury-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .deluxe-luxury-cta {
    width: calc(100% - 16px);
    margin-left: auto;
    margin-right: auto;
    padding: 26px 20px;
    border-radius: 14px 14px 0 0;
  }
  .deluxe-luxury-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .deluxe-luxury-cta-actions a { width: 100%; }
}

/* Small phones. */
@media (max-width: 430px) {
  body > table,
  body > div:not(.deluxe-luxury-shell):not(.deluxe-luxury-mobile-bar),
  body > center {
    width: calc(100% - 10px) !important;
    max-width: calc(100% - 10px) !important;
    margin: 7px auto !important;
  }
  .deluxe-luxury-shell { padding: 12px; }
  .deluxe-luxury-actions .deluxe-luxury-primary { min-width: 52px; }
  td, th { padding: 6px 3px !important; }
  h1 { font-size: clamp(1.75rem, 10vw, 2.2rem) !important; }
  h2 { font-size: clamp(1.4rem, 8vw, 1.75rem) !important; }
}

/* Landscape phones: do not let the contact bar consume the screen. */
@media (max-height: 500px) and (orientation: landscape) {
  body { padding-bottom: 48px !important; }
  .deluxe-luxury-mobile-bar a { min-height: 46px; }
  .deluxe-luxury-shell { min-height: 64px; }
}

@media print {
  .deluxe-luxury-shell,
  .deluxe-luxury-intro,
  .deluxe-luxury-cta,
  .deluxe-luxury-mobile-bar { display: none !important; }
  body { background: white !important; color: black !important; padding: 0 !important; }
  body > table, body > center > table {
    width: 100% !important;
    box-shadow: none !important;
    border: 0 !important;
  }
}
