/* HEILUNG: champagne, warm gold and restrained motion. */
:root {
  --paper: #f8f1e5;
  --ink: #3e3428;
  --gold: #946c2f;
  --gold-line: #bc934e;
}

body {
  background: radial-gradient(ellipse at 90% 0, #e8d3ac66, transparent 36%), var(--paper);
}

header {
  background: #fbf6ec;
  border-bottom-color: #bc934e66;
  box-shadow: 0 12px 38px #73532206;
}

.brand { color: #8b6125; }
nav a:not(.button) { color: #5c472c; text-underline-offset: 6px; }
h1, h2 { color: #443626; }
.gold-word { color: #8b642b; }

.hero {
  position: relative;
  background: radial-gradient(ellipse at 80% 28%, #e7c78f44, transparent 65%);
}

.eyebrow, .closing .eyebrow { color: #765522; letter-spacing: .17em; }
.caption { color: #655849; }
.eyebrow::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 25px;
  height: 1px;
  margin-right: 12px;
  background: linear-gradient(90deg, #9d7334, #d7b574);
}

.photo {
  border: 1px solid #ba904d99;
  box-shadow: 0 24px 55px #7455271c, 0 0 0 6px #fffaf066;
}
.hero > div:last-child::before { border-color: #ac7f3eb3; }
.hero > div:last-child::after {
  content: '';
  position: absolute;
  width: 105px;
  height: 105px;
  top: -27px;
  right: -22px;
  border: 1px solid #b48b4780;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid transparent;
}
.button:not(.outline):not(.mobile-contact) {
  background: linear-gradient(120deg, #735024, #8b652b 52%, #795527);
  color: #fff;
  border-color: #b38c4e;
  box-shadow: inset 0 1px 0 #f2d69d40, 0 8px 22px #7a582220;
}
.button:not(.outline):not(.mobile-contact):hover {
  background: linear-gradient(120deg, #65451f, #805b26 52%, #6e4c22);
}
.button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 28%, #fff7df12 48%, transparent 68%);
  transform: translateX(-120%);
  transition: transform .65s ease;
  pointer-events: none;
}
.button.outline {
  color: #654b27;
  background: #fffaf066;
  border-color: #aa813f99;
  box-shadow: inset 0 1px 0 #fff8e9cc;
}
.mobile-contact {
  background: linear-gradient(110deg, #e2c68f, #d7b270, #e7cc97);
  border: 1px solid #b68a4499;
  color: #3d321f;
}
.button.mobile-contact:hover {
  background: linear-gradient(110deg, #e2c68f, #d7b270, #e7cc97);
  color: #3d321f;
}

.trust {
  background: linear-gradient(110deg, #eedebf, #ddbf86 55%, #e9d5ad);
  color: #493b27;
  border-top: 1px solid #c19a5866;
  border-bottom: 1px solid #b48c4680;
}
.trust span { border-color: #a8804266; }
.service {
  background: linear-gradient(145deg, #fffaf0, #f7ecda);
  border-color: #bc934e66;
  border-radius: 20px;
  box-shadow: 0 10px 30px #7d5c2009;
}
.service::before {
  width: 36px;
  background: linear-gradient(90deg, #966c2c, #d2ad68);
}
.service h3, .career-contact h3 { color: #674c28; }
.service p, .hero p:not(.eyebrow), .note, .faq details p, .closing p { color: #655849; }

.medicine {
  background: linear-gradient(120deg, #efe4ce, #f8f0e2 55%, #ecddbf);
  border-color: #b48b4740;
}
.medicine .service { background: #fcf8ee; }
.medicine p:not(.eyebrow) { color: #655849; }
.film {
  background: radial-gradient(ellipse at 15% 0, #e1c69055, transparent 65%), linear-gradient(135deg, #f2e6cf, #f9f2e6);
  border-top: 1px solid #b48b4740;
  border-bottom: 1px solid #b48b4740;
}
.video-wrap {
  border-color: #ae843f99;
  box-shadow: 0 15px 34px #71522520;
  background: #eee1c9;
}
.video-wrap::after {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid #ffeccc55;
  border-radius: 12px;
  pointer-events: none;
}
.video-card h3 { color: #654923; }
.video-play {
  border-color: #a67b37;
  background: #fff9ecf2;
  color: #614820;
  box-shadow: 0 4px 22px #4d38162e;
}
.ems {
  background: radial-gradient(ellipse at 90% 0, #f5e9cf77, transparent 60%), #e6d3af;
  border-bottom: 1px solid #b48b4755;
}
.tag {
  color: #664b24;
  border-color: #a8804280;
  background: #fff8eb66;
}
.benefits span { background: #fff8e999; color: #58452c; }
.faq details { border-bottom-color: #b48b4755; }
.faq summary { color: #4c3b25; }
.faq summary::after { color: #8b632b; }
.careers { border-top-color: #b48b4755; }
.career-contact, .application-form {
  background: linear-gradient(135deg, #fff9ed, #f0e2c7);
  border-color: #b48b4777;
  box-shadow: 0 16px 42px #7455260c;
}
.closing {
  position: relative;
  background: radial-gradient(ellipse at center, #e4c68d33, transparent 70%);
}
.closing::before {
  content: '';
  display: block;
  width: 80px;
  height: 1px;
  margin: 0 auto 32px;
  background: linear-gradient(90deg, transparent, #ac7f3c, transparent);
}
footer {
  background: linear-gradient(135deg, #244237, #142e27);
  border-top: 2px solid #b68c47;
  color: #f4ead7;
}
footer strong { color: #e3c494; }
footer a { text-decoration-color: #cba66799; text-underline-offset: 4px; }

.reading-progress {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  height: 3px;
  pointer-events: none;
}
.reading-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #8b632b, #d8b574, #a57732);
  transform-origin: left;
  transform: scaleX(0);
}
.scroll-reveal {
  transition: opacity .65s ease var(--reveal-delay, 0ms), translate .65s cubic-bezier(.2,.65,.25,1) var(--reveal-delay, 0ms), transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.scroll-reveal.reveal-pending { opacity: 0; translate: 0 20px; }
.scroll-reveal:focus-within { opacity: 1; translate: 0 0; }

@media (hover: hover) and (pointer: fine) {
  nav a:not(.button):hover { text-decoration: underline; text-decoration-color: #af823d; }
  .button:hover::before { transform: translateX(120%); }
  .service:hover { border-color: #ac7f3caa; box-shadow: 0 18px 34px #77552215; }
  .video-wrap { transition: box-shadow .25s ease, border-color .25s ease; }
  .video-card:hover .video-wrap { border-color: #936c2f; box-shadow: 0 20px 40px #71522530; }
}
@media (max-width: 760px) {
  .eyebrow { letter-spacing: .12em; }
  .eyebrow::before { width: 18px; margin-right: 9px; }
  .hero > div:last-child::after { width: 75px; height: 75px; top: -20px; right: -12px; }
  .photo { box-shadow: 0 16px 35px #7455271a; }
  .scroll-reveal.reveal-pending { translate: 0 14px; }
  .scroll-reveal:focus-within { translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal, .scroll-reveal.reveal-pending { opacity: 1; translate: none; transition: none; }
  .button::before { display: none; }
  .video-wrap { transition: none; }
}
@media (forced-colors: active) {
  .gold-word, .eyebrow, .brand { color: CanvasText; }
  .button::before, .reading-progress { display: none; }
}
