@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;600;650;700&family=Manrope:wght@400;500;600;650;700;800&family=Cormorant+Garamond:ital,wght@0,500;1,500&display=swap");
:root {
  --bg: #101211;
  --panel: #191c19;
  --ink: #f2f0e8;
  --muted: #b3b6ab;
  --gold: #dfbb70;
  --line: #353a31;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: Manrope, var(--sans);
  line-height: 1.15;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(42px, 5.2vw, 76px);
  font-weight: 500;
}
h2 {
  font-size: clamp(32px, 3.3vw, 48px);
  font-weight: 500;
}
h3 {
  font-size: 25px;
  font-weight: 600;
}
p {
  color: var(--muted);
}
.wrap {
  width: min(1280px, calc(100% - 96px));
  margin: auto;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  padding: 12px;
  background: var(--gold);
  color: #101211;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.site-header {
  position: sticky;
  top: 0;
  background: #101211f5;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  z-index: 30;
}
.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: Manrope, var(--sans);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 20px;
  white-space: nowrap;
}
.brand span {
  color: var(--gold);
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.nav-links a:hover,
.text-link:hover {
  color: var(--gold);
}
.nav-contact {
  padding: 10px 18px;
  border: 1px solid #64654f;
  border-radius: 4px;
  color: var(--ink);
}
.mobile-nav {
  display: none;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 22px;
}
.availability {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #d3d5c7;
}
.availability:before {
  content: "";
  width: 7px;
  height: 7px;
  background: #bbcc9d;
  border-radius: 50%;
}
.hero {
  padding: 78px 0 65px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 54px;
  align-items: center;
}
.hero h1 {
  margin: 24px 0;
}
.hero em {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.04em;
}
.hero .intro {
  font-size: 17px;
  max-width: 570px;
  line-height: 1.8;
}
.buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 21px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.button.primary {
  background: var(--gold);
  color: #151a13;
  border-color: var(--gold);
}
.button:hover {
  border-color: var(--gold);
  background: #282d24;
}
.button.primary:hover {
  background: #efd19a;
  color: #101211;
}
.socials {
  display: flex;
  gap: 22px;
  font-size: 12px;
  margin-top: 22px;
  color: var(--muted);
}
.hero-visual {
  position: relative;
  padding: 20px;
  background: radial-gradient(ellipse at 40% 20%, #333a27, transparent 75%);
  border: 1px solid #4a503c;
  border-radius: 10px;
}
.visual-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.09em;
  color: #cbd0bb;
  margin: 2px 0 20px;
  text-transform: uppercase;
}
.browser-frame {
  border: 1px solid #464b3d;
  border-radius: 6px;
  overflow: hidden;
  background: #edeef3;
}
.browser-bar {
  padding: 10px 14px;
  font-size: 10px;
  color: #73786b;
  background: #e5e8df;
  display: flex;
  align-items: center;
  gap: 10px;
}
.browser-bar:before {
  content: "● ● ●";
  font-size: 8px;
  letter-spacing: 3px;
  color: #929785;
}
.browser-frame img {
  aspect-ratio: 1.44;
  object-fit: cover;
  object-position: top;
}
.visual-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}
.visual-caption strong {
  font-size: 16px;
}
.visual-caption p {
  font-size: 12px;
  margin: 2px 0 0;
}
.arrow {
  font-size: 22px;
  color: var(--gold);
}
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
  gap: 32px;
}
.proof-strip strong {
  font-size: 17px;
  font-weight: 500;
}
.proof-strip p {
  font-size: 12px;
  margin: 3px 0 0;
}
.section {
  padding: 88px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: flex-end;
  margin-bottom: 34px;
}
.section-head h2 {
  margin-bottom: 0;
}
.section-head > p {
  max-width: 390px;
  font-size: 14px;
  margin-bottom: 3px;
}
.section-head .eyebrow {
  margin-bottom: 12px;
}
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.case-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.case-card:hover {
  border-color: #73795e;
}
.case-image {
  height: 224px;
  background: #252c24;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.case-content {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.case-content .eyebrow {
  font-size: 9px;
  margin-bottom: 14px;
}
.case-content h3 {
  margin-bottom: 16px;
}
.case-content p {
  font-size: 14px;
  line-height: 1.75;
}
.case-content .text-link {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 2px 0 24px;
}
.tags span {
  font-size: 10px;
  padding: 4px 8px;
  border: 1px solid #404639;
  border-radius: 3px;
  color: #c5cbb9;
}
.workflow-art {
  height: 100%;
  padding: 24px;
  color: #d3dfc7;
  background:
    radial-gradient(ellipse at top right, #364330, transparent), #1b261f;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.workflow-art small {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #aab99c;
}
.workflow-art .flow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0;
  font-size: 11px;
}
.flow span {
  padding: 10px 8px;
  border: 1px solid #5c7051;
  border-radius: 4px;
  background: #243120;
}
.workflow-art p {
  font-size: 11px;
  margin: 0;
  color: #bac9ac;
}
.project-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.project-item {
  padding: 29px 26px 30px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.project-item:nth-child(even) {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}
.project-number {
  font: 12px/2.4 monospace;
  color: var(--gold);
}
.project-item h3 {
  font-size: 22px;
  margin-bottom: 11px;
}
.project-item p {
  font-size: 14px;
  margin-bottom: 16px;
}
.project-item .meta {
  font-size: 10px;
  color: #bbc6a7;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 9px;
}
.project-item .text-link {
  font-size: 12px;
  color: var(--gold);
}
.project-item .stack {
  font-size: 11px;
  color: #a1a89a;
  margin-bottom: 16px;
}
.about {
  border-top: 1px solid var(--line);
  background: #161914;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 90px;
}
.about h2 {
  max-width: 430px;
}
.about-copy p {
  font-size: 16px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.step span {
  font: 12px monospace;
  color: var(--gold);
}
.step h3 {
  font-size: 18px;
  margin: 14px 0 10px;
}
.step p {
  font-size: 13px;
}
.capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.capability {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.capability h3 {
  font-size: 19px;
}
.capability p {
  font-size: 14px;
}
.contact {
  padding: 68px;
  background: #dabb7f;
  color: #181d16;
  border-radius: 8px;
  margin-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.contact .eyebrow,
.contact p {
  color: #404932;
}
.contact h2 {
  margin-bottom: 18px;
}
.contact .button {
  border-color: #434b35;
}
.contact .button.primary {
  background: #192018;
  color: #f3e8d5;
}
.contact .button:hover {
  background: #e8ce9a;
  color: #192018;
}
.contact-email {
  display: inline-block;
  margin-top: 20px;
  text-decoration: underline;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  font-size: 11px;
  color: var(--muted);
}
.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 22px;
}
.study-hero {
  padding: 70px 0 40px;
  max-width: 880px;
}
.back {
  font-size: 12px;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 35px;
}
.study-hero h1 {
  font-size: clamp(39px, 5vw, 66px);
}
.study-hero .lead {
  font-size: 19px;
}
.study-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  margin-bottom: 40px;
}
.study-meta small {
  color: var(--gold);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.study-meta p {
  font-size: 13px;
  margin: 5px 0 0;
}
.study-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 55px;
  margin: 65px 0 80px;
}
.study-nav {
  align-self: start;
  position: sticky;
  top: 115px;
  font-size: 12px;
}
.study-nav a {
  display: block;
  color: var(--muted);
  padding: 7px 0;
}
.study-body {
  max-width: 850px;
}
.study-body section {
  padding: 0 0 38px;
  margin-bottom: 35px;
  border-bottom: 1px solid var(--line);
}
.study-body h2 {
  font-size: 30px;
}
.study-body p,
.study-body li {
  font-size: 16px;
  color: var(--muted);
}
.study-body li {
  padding-bottom: 9px;
}
.study-body strong {
  color: var(--ink);
  font-weight: 500;
}
.diagram {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center;
  margin: 25px 0;
}
.diagram span {
  padding: 14px 17px;
  border: 1px solid #626d50;
  border-radius: 4px;
  font-size: 12px;
  background: #222a1e;
}
.diagram i {
  color: var(--gold);
  font-style: normal;
}
.callout {
  padding: 24px;
  border-left: 2px solid var(--gold);
  background: var(--panel);
  margin: 24px 0;
}
.callout p:last-child {
  margin-bottom: 0;
}
.study-figure {
  margin: 0;
}
.study-figure img {
  width: 100%;
  max-height: 660px;
  object-fit: contain;
  background: #e9edf2;
  border-radius: 6px;
}
.study-figure figcaption {
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
}
.demo-buttons {
  display: flex;
  gap: 8px;
  margin: 20px 0;
}
.demo-buttons button {
  cursor: pointer;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 12px;
}
.demo-buttons button[aria-pressed="true"] {
  border-color: var(--gold);
  color: var(--gold);
}
.payment-header {
  text-align: center;
  max-width: 720px;
  margin: 70px auto 40px;
}
.payment-header h1 {
  font-size: 56px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 38px;
}
.price-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  scroll-margin-top: 120px;
}
.price-card.selected {
  border: 2px solid var(--gold);
}
.price-card h2 {
  font-size: 25px;
}
.price {
  font-size: 48px;
  color: var(--gold);
  font-family: Manrope, var(--sans);
  margin: 0;
}
.price-card ul {
  padding-left: 19px;
  color: var(--muted);
  font-size: 14px;
  margin: 24px 0 30px;
  flex: 1;
}
.price-card li {
  padding-bottom: 12px;
}
.billing-help {
  text-align: center;
  margin: 35px 0 75px;
}
.billing-help a {
  color: var(--gold);
  text-decoration: underline;
}
.no-margin {
  margin: 0;
}
@media (min-width: 1500px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 85px;
  }
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 56px);
  }
  .hero {
    gap: 30px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .cases {
    gap: 14px;
  }
  .case-content {
    padding: 22px;
  }
  .case-image {
    height: 185px;
  }
  .about-grid {
    gap: 40px;
  }
  .contact {
    padding: 42px;
  }
  .nav-links {
    gap: 19px;
  }
  .pricing-grid {
    gap: 14px;
  }
  .price-card {
    padding: 24px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .nav {
    height: 68px;
  }
  .nav-links {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
  .mobile-nav summary {
    list-style: none;
    border: 1px solid #555d48;
    padding: 7px 14px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
  }
  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }
  .mobile-nav[open] .mobile-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    padding: 15px 20px;
    background: #1b2018;
    border-bottom: 1px solid var(--line);
    display: grid;
    box-shadow: 0 18px 25px #0005;
  }
  .mobile-links a {
    padding: 13px 5px;
    font-size: 15px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 45px 0 38px;
    gap: 36px;
  }
  .hero h1 {
    font-size: clamp(40px, 9vw, 65px);
    max-width: 570px;
  }
  .hero .intro {
    font-size: 16px;
  }
  .hero-visual {
    padding: 15px;
  }
  .browser-frame img {
    aspect-ratio: 1.5;
  }
  .proof-strip {
    gap: 18px;
    grid-template-columns: 1fr;
  }
  .proof-strip > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }
  .proof-strip p {
    text-align: right;
    max-width: 180px;
  }
  .proof-strip strong {
    font-size: 14px;
  }
  .section {
    padding: 60px 0;
  }
  .section-head {
    display: block;
    margin-bottom: 25px;
  }
  .section-head > p {
    margin-top: 20px;
  }
  .cases {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .case-image {
    height: 240px;
  }
  .case-content {
    padding: 26px;
  }
  .project-list {
    grid-template-columns: 1fr;
  }
  .project-item,
  .project-item:nth-child(even) {
    padding: 26px 0;
    border-left: 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 25px;
  }
  .capabilities {
    grid-template-columns: 1fr;
  }
  .contact {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 8px;
    margin-bottom: 50px;
  }
  .contact h2 {
    font-size: 35px;
  }
  .contact .buttons {
    margin-top: 10px;
  }
  .study-hero {
    padding: 40px 0 15px;
  }
  .study-meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .study-meta > div {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: baseline;
  }
  .study-meta p {
    margin: 0;
  }
  .study-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }
  .study-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 18px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
  }
  .study-body h2 {
    font-size: 27px;
  }
  .study-hero .lead {
    font-size: 17px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .payment-header {
    margin-top: 40px;
  }
  .payment-header h1 {
    font-size: 43px;
  }
  .price-card {
    padding: 28px;
  }
  .visual-top {
    font-size: 9px;
  }
  .demo-buttons button {
    padding: 10px 13px;
  }
  .footer-links {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
/* Preserve image proportions when HTML supplies intrinsic dimensions. */
img {
  height: auto;
}
.browser-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.44;
  object-fit: cover;
}
.case-image img {
  height: 100%;
}
.browser-frame img {
  object-fit: contain;
  background: #f7f7fb;
  padding: 10px;
}
.case-image img[src="/assets/xtide-demo.png"] {
  object-fit: contain;
  background: #f7f7fb;
  padding: 10px;
}

/* The candle is the personal introduction; project evidence stays directly accessible. */
.candle-home {
  --bg: #100d0b;
  --panel: #191511;
  --muted: #bcb2a1;
  --gold: #dfb86e;
  --line: #3b3024;
  background:
    radial-gradient(ellipse at 82% 12%, #49301922, transparent 46%), var(--bg);
}
.candle-home .site-header {
  background: #100d0bf2;
}
.candle-home .brand {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold);
}
.candle-home .hero {
  gap: 70px;
  position: relative;
}
.candle-home .hero h1 {
  font-size: clamp(46px, 4.8vw, 70px);
  font-weight: 400;
  line-height: 1.13;
  margin: 20px 0 28px;
}
.hero-discipline {
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 28px 0 0;
  max-width: 480px;
}
.candle-home .hero em {
  font-size: 1.15em;
}
.candle-home .hero .button {
  border-radius: 40px;
  padding: 14px 24px;
}
.candle-panel {
  position: relative;
  border: 1px solid #79542566;
  border-radius: 160px 160px 18px 18px;
  background:
    radial-gradient(ellipse at 50% 48%, #ad67230d, transparent 65%),
    linear-gradient(145deg, #21191188, #110e0c);
  overflow: hidden;
  box-shadow: inset 0 0 90px #0004;
  isolation: isolate;
}
.candle-panel::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid #986c2826;
  border-radius: inherit;
  pointer-events: none;
}
.candle-panel summary {
  display: block;
  list-style: none;
  cursor: pointer;
  padding: 58px 36px 34px;
  position: relative;
  outline-offset: -6px;
}
.candle-panel summary::-webkit-details-marker {
  display: none;
}
.candle-overline {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 9px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #c5a470;
}
.candle-stage {
  height: 340px;
  position: relative;
  display: block;
  margin: 18px 0 15px;
}
.candle-halo {
  position: absolute;
  width: 390px;
  height: 390px;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse,
    #ffad433b 0%,
    #d78b2712 35%,
    transparent 67%
  );
  opacity: 0.2;
  transition: opacity 1.5s;
  pointer-events: none;
}
.candle-orbit {
  position: absolute;
  width: 270px;
  height: 270px;
  border: 1px solid #a0773522;
  border-radius: 50%;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
}
.candle-orbit::after {
  content: "✦";
  position: absolute;
  top: 35px;
  right: 26px;
  color: #a37c43;
  font-size: 12px;
}
.candle-object {
  position: absolute;
  left: 50%;
  bottom: 25px;
  width: 72px;
  height: 200px;
  transform: translateX(-50%);
}
.wax {
  position: absolute;
  inset: 0;
  border-radius: 4px 4px 9px 9px;
  background: linear-gradient(
    90deg,
    #302315,
    #71512e 18%,
    #a57f4a 40%,
    #745431 65%,
    #382719 94%
  );
  border: 1px solid #bc8b4238;
  box-shadow:
    inset 2px 0 8px #f1ca6530,
    8px 12px 24px #0007;
  transition: filter 1.5s;
}
.wax-top {
  position: absolute;
  top: -7px;
  left: -1px;
  right: -1px;
  height: 14px;
  background: radial-gradient(ellipse, #332619 0%, #80623a 58%, #c59b594d 80%);
  border: 1px solid #cca5667a;
  border-radius: 50%;
}
.wax-drip {
  position: absolute;
  top: 3px;
  left: 12px;
  width: 7px;
  height: 35px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(#a0804c, #a0804c00);
  box-shadow: 19px -2px 0 -2px #9d7c4240;
}
.wick {
  position: absolute;
  width: 3px;
  height: 20px;
  background: linear-gradient(#281e15, #15110e);
  top: -21px;
  left: 34px;
  border-radius: 3px;
  z-index: 2;
}
.candle-base {
  position: absolute;
  bottom: -14px;
  left: -35px;
  width: 142px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    #b589483b,
    #231b1399 55%,
    transparent 70%
  );
  border-bottom: 1px solid #a77c322b;
}
.flame {
  position: absolute;
  width: 28px;
  height: 68px;
  left: 22px;
  top: -83px;
  border-radius: 55% 45% 45% 45% / 70% 70% 30% 30%;
  background: radial-gradient(
    ellipse at 50% 85%,
    #fffbd5 0%,
    #ffdd70 28%,
    #ffaa32 54%,
    #ec6a13 75%,
    transparent 100%
  );
  transform-origin: 50% 100%;
  transform: scale(0.1);
  opacity: 0;
  filter: drop-shadow(0 0 9px #ffa632) drop-shadow(0 0 25px #ed9d3666);
  transition:
    opacity 0.6s,
    transform 0.8s;
  z-index: 3;
}
.flame-core {
  position: absolute;
  bottom: 0;
  left: 8px;
  width: 12px;
  height: 26px;
  border-radius: 50% 50% 35% 35%;
  background: linear-gradient(#fffde4 20%, #ffe5a0 70%, #73a1dc 100%);
}
.candle-invitation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font: italic 30px/1.2 var(--serif);
  color: #e9c786;
}
.candle-action {
  font: 18px var(--sans);
  color: #bd9454;
}
.candle-caption {
  display: block;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
  color: #b2a28c;
  margin-top: 12px;
}
.lit-label {
  display: none;
}
.candle-panel:hover {
  border-color: #c49b586e;
}
.candle-panel:hover .candle-halo {
  opacity: 0.6;
}
.candle-panel[open] {
  background:
    radial-gradient(ellipse at 50% 32%, #8c541d25, transparent 64%), #17110d;
  border-color: #c0944c80;
  box-shadow:
    0 0 110px #c87a1010,
    inset 0 0 90px #0003;
}
.candle-panel[open] .flame {
  opacity: 1;
  transform: scale(1);
  animation: candle-flicker 2.8s ease-in-out infinite;
}
.candle-panel[open] .wick {
  background: linear-gradient(#ffb03b, #382112);
}
.candle-panel[open] .wax {
  filter: brightness(1.45);
}
.candle-panel[open] .candle-halo {
  opacity: 1;
}
.candle-panel[open] .unlit-label {
  display: none;
}
.candle-panel[open] .lit-label {
  display: inline;
}
.candle-panel[open] summary {
  padding-bottom: 24px;
}
.candle-panel[open] .candle-stage {
  height: 285px;
}
.candle-story-copy {
  padding: 0 36px 34px;
  animation: story-arrive 0.7s ease-out;
}
.candle-story-copy .eyebrow {
  font-size: 9px;
  border-top: 1px solid #a7793438;
  padding-top: 23px;
  margin-bottom: 10px;
}
.candle-story-copy h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: #edcd97;
}
.candle-story-copy p {
  font-size: 13px;
  line-height: 1.85;
  margin-bottom: 12px;
}
.candle-story-copy a {
  font-size: 12px;
  color: var(--gold);
  display: inline-block;
  padding: 7px 0;
}
.ember {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #ffd695;
  border-radius: 50%;
  opacity: 0;
  left: 50%;
  top: 95px;
  box-shadow: 0 0 9px #fbb557;
}
.candle-panel[open] .ember {
  animation: ember-rise 4s ease-out infinite;
}
.ember-two {
  margin-left: 22px;
  animation-delay: 1.3s !important;
}
.ember-three {
  margin-left: -18px;
  animation-delay: 2.6s !important;
}
@keyframes candle-flicker {
  0%,
  100% {
    transform: rotate(-2deg) scale(1, 0.96);
  }
  35% {
    transform: rotate(3deg) scale(0.92, 1.06);
  }
  70% {
    transform: rotate(-1deg) scale(1.04, 0.99);
  }
}
@keyframes ember-rise {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }
  20% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translate(15px, -90px);
  }
}
@keyframes story-arrive {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1050px) {
  .candle-home .hero {
    gap: 35px;
  }
  .candle-panel summary {
    padding: 48px 24px 30px;
  }
  .candle-story-copy {
    padding: 0 26px 30px;
  }
  .candle-overline {
    font-size: 8px;
    gap: 10px;
  }
}
@media (max-width: 760px) {
  .candle-home .hero {
    gap: 36px;
  }
  .candle-home .hero h1 {
    font-size: clamp(43px, 9vw, 65px);
  }
  .hero-discipline {
    font-size: 9px;
    margin-top: 22px;
  }
  .candle-panel {
    width: 100%;
    max-width: 480px;
    justify-self: center;
    border-radius: 140px 140px 16px 16px;
  }
  .candle-stage {
    height: 290px;
  }
  .candle-panel[open] .candle-stage {
    height: 290px;
  }
  .candle-orbit {
    width: 230px;
    height: 230px;
    top: 10px;
  }
  .candle-object {
    height: 175px;
    bottom: 14px;
  }
  .candle-invitation {
    font-size: 27px;
  }
  .candle-story-copy h2 {
    font-size: 30px;
  }
  .candle-story-copy p {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .candle-panel .flame,
  .candle-panel .ember,
  .candle-story-copy {
    animation: none !important;
  }
  .candle-panel .flame {
    transition: none;
  }
  .candle-panel[open] .flame {
    transform: scale(1);
  }
}

.cursor-smoke {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 40;
  contain: strict;
}
.cursor-smoke[hidden] {
  display: none;
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-smoke {
    display: none;
  }
}
