/* Dream careers pages. Dark treatment approved by Jonny 2026-09-28 to match the dream.global holding page. */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #000;
  color: #fff;
  font-family: Calibri, Carlito, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { width: min(760px, 100% - 32px); margin-inline: auto; }
.wide { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar .wide { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand img { height: 30px; width: auto; display: block; }
.bar-left { display: flex; align-items: center; gap: 22px; min-width: 0; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 15px; min-width: 0; }
.crumbs a { text-decoration: none; color: rgba(255, 255, 255, 0.55); }
.crumbs a:hover { color: #fff; }
.crumbs .sep { color: rgba(255, 255, 255, 0.3); }
.crumbs .here { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Hero: soft light and a giant faint D */
.hero {
  position: relative; overflow: hidden;
  padding: 120px 0 96px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(255, 255, 255, 0.07), transparent 70%),
    #000;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 160px;
  background: linear-gradient(transparent, #000);
  pointer-events: none;
}
.hero .ghost {
  position: absolute; left: 50%; top: 50%;
  width: min(420px, 70vw); transform: translate(-50%, -50%);
  opacity: 0.06; pointer-events: none;
}
.hero .inner { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent, #FF5B00); margin-bottom: 20px;
}
.hero h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(40px, 6.4vw, 76px); line-height: 1.08; letter-spacing: -0.01em; }
.hero .lede { margin: 22px auto 0; max-width: 620px; font-size: 20px; color: rgba(255, 255, 255, 0.7); }
.meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 44px;
  margin: 44px auto 0; padding-top: 32px; max-width: 800px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.meta div { display: flex; flex-direction: column; }
.meta dt { font-size: 14px; color: rgba(255, 255, 255, 0.5); }
.meta dd { font-size: 17px; font-weight: bold; }
.hero .cta { margin-top: 44px; display: flex; justify-content: center; }

/* Body copy */
article { padding: 24px 0 40px; }
article section { padding: 44px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
article section:last-child { border-bottom: 0; }
article h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 32px; line-height: 1.2; margin-bottom: 20px; }
article p { color: rgba(255, 255, 255, 0.78); }
article p + p { margin-top: 16px; }
article strong { color: #fff; }
.list { list-style: none; display: grid; gap: 14px; margin-top: 4px; }
.list li { position: relative; padding-left: 30px; color: rgba(255, 255, 255, 0.78); }
.list li::before {
  content: ""; position: absolute; left: 2px; top: 0.62em;
  width: 9px; height: 9px; border-radius: 50%;
  border: 2px solid var(--accent, #FF5B00);
  box-shadow: 0 0 10px var(--accent, #FF5B00);
}
.list .sub { margin-top: 10px; gap: 8px; }
.list .sub li::before { width: 6px; height: 6px; top: 0.72em; box-shadow: none; opacity: 0.7; }
.list.no li::before { border-color: rgba(255, 255, 255, 0.45); box-shadow: none; }

/* Highlight cards */
.card {
  margin-top: 24px; padding: 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.card .big { font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 4.6vw, 42px); line-height: 1.1; }
.card .label { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent, #FF5B00); margin-bottom: 8px; }
.card p { margin-top: 10px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 24px; }
.stats .card { margin-top: 0; }

/* Closing CTA */
.closing {
  text-align: center; padding: 110px 0 120px;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, var(--accent-glow, rgba(255, 91, 0, 0.16)), transparent 70%);
}
.closing h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(34px, 5vw, 56px); line-height: 1.1; }
.closing p { margin: 20px auto 0; max-width: 560px; color: rgba(255, 255, 255, 0.7); }
.closing .cta { margin-top: 40px; display: flex; justify-content: center; }
.closing .fine { margin-top: 22px; font-size: 14px; color: rgba(255, 255, 255, 0.45); }

footer { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 28px 0 40px; font-size: 14px; color: rgba(255, 255, 255, 0.45); }
footer .wide { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }

/* Jobs index */
.roles { padding: 20px 0 110px; display: grid; gap: 16px; }
.role {
  --accent: #FF5B00;
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center;
  padding: 30px 32px; border-radius: 22px; text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}
.role:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); transform: translateY(-2px); box-shadow: 0 18px 60px -30px var(--accent); }
.role .co { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.role h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(24px, 3.2vw, 32px); line-height: 1.2; margin: 6px 0 12px; }
.role .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.role .tags span { font-size: 14px; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.75); }
.role .arrow {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18); font-size: 22px; transition: color 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.role:hover .arrow { color: var(--accent); border-color: var(--accent); box-shadow: 0 0 18px -4px var(--accent); }
.hb { --accent: #1FA9E0; --accent-glow: rgba(31, 169, 224, 0.16); }
/* DreamBrew yellow #FFD60A (dream-design-system tokens) */
.brew { --accent: #FFD60A; --accent-glow: rgba(255, 214, 10, 0.14); }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero { padding: 80px 0 64px; }
  .meta { gap: 18px 28px; }
  .role { grid-template-columns: 1fr; padding: 24px; }
  .role .arrow { display: none; }
  .topbar .apply-small { display: none; }
  .card { padding: 22px; }
}

/* Animated glow button (same component as the holding page) */
.anim-btn {
  --padding: 4px; --radius: 24px; --transition: 0.4s;
  --highlight: #FF5B00;
  --highlight-50: rgba(255, 91, 0, 0.5); --highlight-30: rgba(255, 91, 0, 0.3);
  --highlight-20: rgba(255, 91, 0, 0.2); --highlight-80: rgba(255, 91, 0, 0.8);
  --highlight-40: rgba(255, 91, 0, 0.4); --highlight-70: rgba(255, 91, 0, 0.7);
  position: relative; z-index: 0; display: inline-flex; align-items: center;
  cursor: pointer; user-select: none; text-decoration: none;
  border-radius: var(--radius); padding: 12px 28px; font-size: 18px; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.2), inset 0 2px 2px rgba(255,255,255,0.15),
    inset 0 4px 4px rgba(255,255,255,0.1), inset 0 8px 8px rgba(255,255,255,0.05),
    inset 0 16px 16px rgba(255,255,255,0.05), 0 -1px 1px rgba(0,0,0,0.02),
    0 -2px 2px rgba(0,0,0,0.03), 0 -4px 4px rgba(0,0,0,0.05),
    0 -8px 8px rgba(0,0,0,0.06), 0 -16px 16px rgba(0,0,0,0.08);
  transition: box-shadow var(--transition), border-color var(--transition), background-color var(--transition);
  outline: none;
}
.anim-btn.small { padding: 8px 20px; font-size: 15px; }
.anim-btn::before {
  content: ""; position: absolute;
  top: calc(0px - var(--padding)); left: calc(0px - var(--padding));
  width: calc(100% + var(--padding) * 2); height: calc(100% + var(--padding) * 2);
  border-radius: calc(var(--radius) + var(--padding)); pointer-events: none;
  background-image: linear-gradient(0deg, #0004, #000a); z-index: -1;
  transition: box-shadow var(--transition), filter var(--transition);
  box-shadow: 0 -8px 8px -6px #0000 inset, 0 -16px 16px -8px #0000 inset,
    1px 1px 1px #fff2, 2px 2px 2px #fff1, -1px -1px 1px #0002, -2px -2px 2px #0001;
}
.anim-btn::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background-image: linear-gradient(0deg, #fff, var(--highlight), var(--highlight-50), 8%, transparent);
  opacity: 0; transition: opacity var(--transition), filter var(--transition);
}
.anim-txt { display: grid; }
.anim-txt > span { grid-area: 1 / 1; justify-self: center; white-space: nowrap; }
.anim-txt-1 { animation: appear 1s ease-in-out forwards; }
.anim-txt-2 { opacity: 0; }
.letter {
  display: inline-block; color: #ffffff88;
  animation: letter 2s ease-in-out infinite;
  transition: color var(--transition), text-shadow var(--transition), opacity var(--transition);
}
@keyframes letter { 50% { text-shadow: 0 0 3px #fff8; color: #fff; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes swap { from { opacity: 1; } to { opacity: 0; } }
@keyframes focused-letter {
  0%, 100% { filter: blur(0); transform: scale(1); }
  50% { transform: scale(2); filter: blur(10px) brightness(150%) drop-shadow(-36px 12px 12px var(--highlight)); }
}
.anim-btn:focus .anim-txt-1 { animation: swap 0.3s ease-in-out forwards; animation-delay: 1s; }
.anim-btn:focus .anim-txt-2 { animation: swap 0.3s ease-in-out reverse forwards; animation-delay: 1s; }
.anim-btn:focus .letter { animation: focused-letter 1s ease-in-out forwards, letter 1.2s ease-in-out infinite; animation-delay: 0s, 1s; }
.anim-btn:focus::before {
  box-shadow: 0 -8px 12px -6px #fff3 inset, 0 -16px 16px -8px var(--highlight-20) inset,
    1px 1px 1px #fff3, 2px 2px 2px #fff1, -1px -1px 1px #0002, -2px -2px 2px #0001;
}
.anim-btn:focus::after { opacity: 0.6; -webkit-mask-image: linear-gradient(0deg, #fff, transparent); mask-image: linear-gradient(0deg, #fff, transparent); }
.anim-btn:hover { border-color: var(--highlight-40); }
.anim-btn:hover::before {
  box-shadow: 0 -8px 8px -6px #fffa inset, 0 -16px 16px -8px var(--highlight-30) inset,
    1px 1px 1px #fff2, 2px 2px 2px #fff1, -1px -1px 1px #0002, -2px -2px 2px #0001;
}
.anim-btn:hover::after { opacity: 1; -webkit-mask-image: linear-gradient(0deg, #fff, transparent); mask-image: linear-gradient(0deg, #fff, transparent); }
.anim-btn:active { border-color: var(--highlight-70); }
.anim-btn:active::before {
  box-shadow: 0 -8px 12px -6px #fffa inset, 0 -16px 16px -8px var(--highlight-80) inset,
    1px 1px 1px #fff4, 2px 2px 2px #fff2, -1px -1px 1px #0002, -2px -2px 2px #0001;
}
.anim-btn:active::after { opacity: 1; -webkit-mask-image: linear-gradient(0deg, #fff, transparent); mask-image: linear-gradient(0deg, #fff, transparent); filter: brightness(200%); }
.anim-btn:active .letter { text-shadow: 0 0 1px var(--highlight-80); animation: none; }
.hb .anim-btn {
  --highlight: #1FA9E0;
  --highlight-50: rgba(31, 169, 224, 0.5); --highlight-30: rgba(31, 169, 224, 0.3);
  --highlight-20: rgba(31, 169, 224, 0.2); --highlight-80: rgba(31, 169, 224, 0.8);
  --highlight-40: rgba(31, 169, 224, 0.4); --highlight-70: rgba(31, 169, 224, 0.7);
}

.brew .anim-btn {
  --highlight: #FFD60A;
  --highlight-50: rgba(255, 214, 10, 0.5); --highlight-30: rgba(255, 214, 10, 0.3);
  --highlight-20: rgba(255, 214, 10, 0.2); --highlight-80: rgba(255, 214, 10, 0.8);
  --highlight-40: rgba(255, 214, 10, 0.4); --highlight-70: rgba(255, 214, 10, 0.7);
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .letter, .anim-txt-1 { animation: none !important; }
  .letter { color: #fff; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}