/* =========================================================
   JESSICA L. LUTSECK — SITE THEME
   Luminous Parchment (light) & Midnight Vellum (dark)
   ========================================================= */

/* =========================================================
   CUSTOM BRAND FONTS
   (expects .woff2 files in a /fonts/ folder next to styles.css)
   ========================================================= */

/* ---------- GEORGIA PRO CONDENSED (BODY) ---------- */

@font-face {
  font-family: "Georgia Pro Cond";
  src: url("fonts/GeorgiaProCond.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Georgia Pro Cond";
  src: url("fonts/GeorgiaProCond-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Georgia Pro Cond";
  src: url("fonts/GeorgiaProCond-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Light variant = default body text */
@font-face {
  font-family: "Georgia Pro Cond Light";
  src: url("fonts/GeorgiaProCondLight.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Georgia Pro Cond Light";
  src: url("fonts/GeorgiaProCondLight-Italic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* ---------- WALBAUM DISPLAY LIGHT (HEADINGS) ---------- */

@font-face {
  font-family: "Walbaum Display Light";
  src: url("fonts/WalbaumDisplayLight.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Walbaum Display Light";
  src: url("fonts/WalbaumDisplayLight-Italic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Walbaum Display Light";
  src: url("fonts/WalbaumDisplayLight-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- MONOTYPE CORSIVA (SCRIPT TITLES) ---------- */

@font-face {
  font-family: "Monotype Corsiva";
  src: url("fonts/MonotypeCorsiva.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- TRADE GOTHIC NEXT COND (UI / LABELS) ---------- */

@font-face {
  font-family: "Trade Gothic Next Cond";
  src: url("fonts/TradeGothicNextCond.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Trade Gothic Next Cond";
  src: url("fonts/TradeGothicNextCond-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Trade Gothic Next Cond";
  src: url("fonts/TradeGothicNextCond-BoldItalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* =========================================================
   RESET & BASE
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: stretch;
  background: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
}

/* =========================================================
   TOKENS: FONTS & PALETTE
   ========================================================= */

:root {
  /* Core font stacks */
  --font-body: "Georgia Pro Cond Light", "Georgia Pro Cond", Georgia, serif;
  --font-heading-script: "Monotype Corsiva", "Walbaum Display Light", serif;
  --font-smallcaps: "Walbaum Display Light", "Trade Gothic Next Cond", serif;
  --font-ui: "Trade Gothic Next Cond", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Palette tokens */
  --purple-deep: #32174d;
  --purple-mid: #53277e;
  --purple-grape: #6f2da8;
  --purple-soft: #9078c0;
  --purple-lavender: #d6cadd;

  --gray-rich: #1f2022;
  --gray-graphite: #4b4e53;
  --gray-antique: #808992;
  --gray-metallic: #a8a9ad;
  --gray-chrome: #dbe2e9;

  --copper-old: #ab7661;
  --copper-matte: #b47963;
  --copper-classic: #ce7c56;
  --copper-pale: #da8a67;
  --copper-light: #e69e7f;

  --slate-indigo: #2f3c56;
  --slate-gunmetal: #566278;
  --slate-stormy: #7d899b;
  --slate-gray-skies: #a4afbd;
  --slate-mist: #ccd6e0;

  --cream-champagne: #e4d8c7;
  --cream-bisque: #eaddcf;
  --cream-parchment: #f1e3d8;
  --cream-elegance: #f8e9e0;
  --cream-seashell: #ffefe9;

  --rose-copper: #af7970;
  --rose-dusty: #c1928a;
  --rose-gold: #d6aca7;
  --rose-champagne: #e9c6be;
  --rose-sand: #fbe2db;

  /* Theme defaults (overridden by [data-theme]) */
  --bg-page: #f5f5f5;
  --page-surface: #ffffff;
  --page-border-color: #ce7c56;
  --page-glow-color: rgba(214, 172, 167, 0.5);
  --text-main: #1f2022;
  --text-muted: #4b4e53;
  --text-soft: #808992;
  --link-color: #6f2da8;
  --link-hover-color: #ce7c56;
  --chip-bg: rgba(255, 255, 255, 0.7);
}

/* =========================================================
   THEMES
   ========================================================= */

/* ---------- LUMINOUS PARCHMENT (LIGHT) ---------- */

html[data-theme="luminous"] {
  --bg-page: radial-gradient(
    circle,
    #ffeFE9 0%,
    #f1e3d8 75%
  );
  --page-surface: #f8e9e0;
  --page-border-color: #ce7c56;
  --page-glow-color: rgba(214, 172, 167, 0.6);
  --text-main: #1f2022;
  --text-muted: #4b4e53;
  --text-soft: #808992;
  --link-color: #6f2da8;
  --link-hover-color: #ce7c56;
  --chip-bg: rgba(255, 255, 255, 0.65);
}

/* ---------- MIDNIGHT VELLUM (DARK) ---------- */

html[data-theme="midnight"] {
  --bg-page: radial-gradient(
    circle,
    #292733 0%,
    #24272c 75%
  );
  --page-surface: rgba(36, 39, 44, 0.98);
  --page-border-color: #ce7c56;
  --page-glow-color: rgba(45, 42, 58, 0.9);
  --text-main: #d8dfea;
  --text-muted: #ccd6e0;
  --text-soft: #a4afbd;
  --link-color: #e9c6be;
  --link-hover-color: #e69e7f;
  --chip-bg: rgba(85, 68, 123, 0.4);
}

/* =========================================================
   PAGE FRAME (container you liked)
   ========================================================= */

.page {
  max-width: 960px;
  width: 100%;
  margin: 2.75rem 1.25rem;
  padding: 2.5rem 2.25rem 2.75rem;
  background: var(--page-surface);
  border-radius: 18px;
  border: 3px double var(--page-border-color);
  box-shadow:
    0 0 60px 0 var(--page-glow-color),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
}

/* inner glow frame */

.page::before {
  content: "";
  position: absolute;
  inset: 0.6rem;
  border-radius: 14px;
  border: 1px solid rgba(214, 172, 167, 0.35);
  pointer-events: none;
}

/* =========================================================
   HEADER & MONOGRAM
   ========================================================= */

.site-header {
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
}

/* hero monogram above the name */

.hero-monogram {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.monogram-img {
  width: min(420px, 88%);
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
  opacity: 0.98;
  transition: opacity 0.2s ease;
}

.monogram-img:hover {
  opacity: 1;
}

.site-title {
  margin: 0;
  font-family: var(--font-heading-script);
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  font-weight: 300; /* thinner */
  letter-spacing: 0.04em;
  text-transform: none; /* keep case as typed */
  background: linear-gradient(
    90deg,
    var(--purple-deep) 0%,
    var(--purple-mid) 20%,
    var(--purple-grape) 40%,
    var(--purple-soft) 55%,
    var(--purple-lavender) 70%,
    var(--copper-matte) 82%,
    var(--copper-light) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.site-subtitle {
  margin: 0.6rem 0 0;
  font-family: var(--font-smallcaps);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* big decorative divider under header */

.page-divider {
  border: 0;
  height: 60px;
  margin: 1.2rem 0 2rem;
  background: url("Assets/JLL_CopperStar.png") center / contain no-repeat;
}

/* =========================================================
   CONTACT LINE (WITH ICONS)
   ========================================================= */

.contact-line {
  margin-top: 1.2rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* icons sized naturally; preserve aspect ratio */
.contact-icon {
  height: 1.1rem;
  width: auto;
  display: inline-block;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.site-nav {
  margin-top: 1.6rem;
  border-top: 1px solid rgba(206, 124, 86, 0.4);
  padding-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid transparent;
  color: var(--text-muted);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--link-hover-color);
  border-color: var(--link-hover-color);
}

/* =========================================================
   MAIN LAYOUT
   ========================================================= */

main {
  display: grid;
  grid-template-columns: minmax(0, 2fr);
  gap: 2rem;
}

/* two-column on wider screens */

@media (min-width: 900px) {
  main {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
    align-items: flex-start;
  }

  .column-wide {
    grid-column: 1 / -1;
  }
}

/* =========================================================
   SECTIONS & HEADINGS
   ========================================================= */

.section {
  margin-bottom: 1.75rem;
}

/* headings centered, not all caps, copper gradient text */

.section-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-heading-script);
  font-size: 1.6rem;
  font-weight: 300;
  text-align: center;
  text-transform: none;
  letter-spacing: 0.02em;

  background: linear-gradient(
    180deg,
    #ab7661 0%,
    #b47963 25%,
    #ce7c56 50%,
    #da8a67 75%,
    #e69e7f 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 4px rgba(86, 98, 120, 0.4);
}

/* same style works in both themes, so no override needed */

.section-rule {
  border: 0;
  height: 60px;
  margin: 0 0 0.75rem;
  background: url("Assets/JLL_Star_Rule.png") center / contain no-repeat;
}

/* text styles: justified */

.section p {
  margin: 0 0 0.75rem;
  font-size: 0.98rem;
  color: var(--text-main);
  font-family: "Georgia Pro Cond Light", "Georgia Pro Cond", Georgia, serif;
  line-height: 1.45;
  text-align: justify;
}

.section p.secondary {
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* =========================================================
   CHIPS (TAGS)
   ========================================================= */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.chip {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--chip-bg);
  border: 1px solid rgba(206, 124, 86, 0.32);
  color: var(--text-muted);
  white-space: nowrap;
}

/* =========================================================
   LISTS
   ========================================================= */

ul {
  padding-left: 1.1rem;
  margin: 0.15rem 0 0.75rem;
}

li {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  font-family: "Georgia Pro Cond Light", "Georgia Pro Cond", Georgia, serif;
  line-height: 1.45;
  text-align: justify;
}

li::marker {
  color: var(--copper-classic);
}

/* Special bullet styles using your assets */

ul.star-bullets,
ul.diamond-bullets,
ul.cross-bullets {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

ul.star-bullets li,
ul.diamond-bullets li,
ul.cross-bullets li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.35rem;
}

/* star bullet */
ul.star-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18rem;
  width: 1.05rem;
  height: 1.05rem;
  background: url("Assets/JLL_Bullet_Star.png") center / contain no-repeat;
}

/* diamond bullet */
ul.diamond-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18rem;
  width: 1.05rem;
  height: 1.05rem;
  background: url("Assets/JLL_Bullet_Diamond.png") center / contain no-repeat;
}

/* cross bullet */
ul.cross-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.05rem;
  height: 1.05rem;
  background: url("Assets/JLL_Bullet_Cross.png") center / contain no-repeat;
}

/* =========================================================
   CTA PANELS & BUTTONS
   ========================================================= */

.cta-panel {
  margin-top: 0.4rem;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(206, 124, 86, 0.45);
  background: linear-gradient(
    135deg,
    rgba(251, 226, 219, 0.7),
    rgba(241, 227, 216, 0.9)
  );
}

html[data-theme="midnight"] .cta-panel {
  background: linear-gradient(
    135deg,
    rgba(83, 39, 126, 0.55),
    rgba(86, 98, 120, 0.6)
  );
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.55rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--copper-classic);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(
    135deg,
    var(--copper-matte),
    var(--copper-light)
  );
  color: #fff;
  cursor: pointer;
  transition:
    transform 0.1s ease,
    box-shadow 0.1s ease,
    filter 0.1s ease;
}

html[data-theme="midnight"] .button {
  color: #1f2022;
}

.button.secondary {
  background: transparent;
  color: var(--link-color);
  border-style: dashed;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  filter: brightness(1.03);
}

/* =========================================================
   THEME TOGGLE SWITCH
   ========================================================= */

.theme-toggle {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

#themeButton {
  background: var(--page-surface);
  border: 1px solid var(--page-border-color);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  display: flex;
  gap: 0.45rem;
  align-items: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-main);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.12s ease;
  box-shadow: 0 0 8px var(--page-glow-color);
}

#themeButton:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 10px var(--page-glow-color);
}

.toggle-icon {
  display: none;
}

/* Sun in dark mode */
html[data-theme="midnight"] .toggle-icon:first-child {
  display: inline;
}

/* Moon in light mode */
html[data-theme="luminous"] .toggle-icon:last-child {
  display: inline;
}

@media (max-width: 520px) {
  .theme-toggle {
    top: 1rem;
    right: 1rem;
  }
}

/* =========================================================
   LINKS
   ========================================================= */

a {
  color: var(--link-color);
}

a:hover,
a:focus-visible {
  color: var(--link-hover-color);
}
