.pg-main {
  --pg-ink: #26322c;
  --pg-paper: #f7f3e8;
  --pg-gold: #e6ca96;
  --pg-bronze: #785e32;
  color: var(--pg-ink);
  font-family: var(--sans);
}
.pg-main h1, .pg-main h2, .pg-main h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.05em;
}
.pg-main em { font-weight: inherit }
.pg-hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  color: #fffaf0;
  background: radial-gradient(ellipse at 87% 45%, #6b6950, #404c40 33%, #26362e 64%, #1a2823 100%);
}
.pg-hero::before, .pg-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.pg-hero::before {
  inset: 0;
  opacity: .14;
  background: url("assets/tarm-atelier.webp") 70% 50% / cover;
  mix-blend-mode: luminosity;
}
.pg-hero::after {
  inset: 0;
  background: linear-gradient(90deg, #1a2723a6 0%, transparent 65%),
              radial-gradient(ellipse at 100% 120%, #ddc79430, transparent 53%);
}
.pg-hero-inner {
  position: relative;
  display: grid;
  align-content: center;
  min-height: clamp(38rem, 74svh, 52rem);
  padding-block: clamp(4rem, 6vw, 7rem) 6rem;
}
.pg-hero-copy { position: relative; z-index: 1; width: min(52%, 40rem) }
.pg-main .pg-kicker, .pg-main .pg-theme-label { margin: 0; font-family: var(--sans) }
.pg-kicker { display: flex; align-items: center; gap: .85rem; font-size: .79rem; letter-spacing: .16em; font-weight: 600; text-transform: uppercase; line-height: 1.5 }
.pg-kicker span { width: 2rem; height: 1px; background: currentColor; flex-shrink: 0 }
.pg-hero .pg-kicker, .pg-faq .pg-kicker { color: var(--pg-gold) }
.pg-hero h1 {
  margin: 1.15rem 0 1.5rem;
  font-size: clamp(4.5rem, 8.3vw, 9rem);
  line-height: .83;
  color: #fffaf1;
}
.pg-hero h1 span, .pg-hero h1 em { display: block; text-transform: lowercase }
.pg-hero h1 span::first-letter, .pg-hero h1 em::first-letter { text-transform: uppercase }
.pg-hero h1 em { font-size: .65em; line-height: 1.05; padding-top: .1em; color: #ebcf97 }
.pg-main .pg-lead { max-width: 32rem; margin: 0; font-size: clamp(1.02rem, 1.3vw, 1.16rem); line-height: 1.65; color: #f3eee1; text-wrap: pretty }
.pg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.5rem; margin-top: 1.8rem }
.pg-quiet-link {
  display: inline-flex; align-items: center; min-height: 44px;
  color: #f5ead7; font-size: .95rem; font-weight: 500;
  text-decoration: underline; text-underline-offset: .4em; text-decoration-color: #b4a07a;
}
.pg-quiet-link:hover { text-decoration-color: currentColor }
.pg-window {
  position: absolute;
  right: 2.8%;
  top: 50%;
  width: min(41%, 35rem);
  aspect-ratio: 1.04;
  transform: translateY(-50%);
  isolation: isolate;
  pointer-events: none;
}
.pg-window::before, .pg-window-photo, .pg-window-photo::after {
  position: absolute;
  border-radius: 50% 50% 2px 2px;
}
.pg-window::before {
  content: "";
  inset: -2% -2% 2% 2%;
  border: 1px solid #e8d0a47d;
  border-bottom: 0;
}
.pg-window-photo {
  overflow: hidden;
  inset: 0;
  border: 1px solid #e7d7b6ac;
  background: #858372;
  box-shadow: -1.2rem 1.6rem 3.2rem #17201860;
}
.pg-window-photo::after {
  content: "";
  inset: 0;
  box-shadow: inset 0 0 2.4rem #392a1c42;
  background: linear-gradient(0deg,#51422c1a,transparent 50%);
}
.pg-window-photo picture { display: block; width: 100%; height: 100% }
.pg-hero-image { width: 100%; height: 100%; object-fit: cover; object-position: 76% center }
.pg-etch { position: absolute; width: 22%; aspect-ratio: 1; right: -9%; top: 17%; border: 1px solid #f1dbb129; border-radius: 50% }
.pg-etch i, .pg-etch b, .pg-etch span { position: absolute; display: block; border-radius: 50% }
.pg-etch i { inset: 8%; border: 1px dashed #f1dbb170 }
.pg-etch b { inset: 17%; border: 1px solid #f5dfb2bc }
.pg-etch span { inset: 32%; background: radial-gradient(circle at 34% 21%,#fff5ce,#d5bc83 48%,#897a54 82%); box-shadow: 0 0 2rem #f0df9840 }

.pg-themes {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--pg-paper);
}
.pg-themes::after {
  content: "";
  z-index: -1;
  position: absolute;
  bottom: -7rem;
  left: -9rem;
  width: min(42rem, 65vw);
  aspect-ratio: 1.35;
  border-radius: 50%;
  background: repeating-radial-gradient(ellipse at 44% 64%, transparent 0 1.05rem, #8b74452b 1.07rem 1.1rem, transparent 1.13rem 1.52rem);
  mask-image: radial-gradient(ellipse at center, #000 14%, transparent 73%);
}
.pg-themes-inner, .pg-faq-inner { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: clamp(3rem,8vw,9rem); padding-block: clamp(4.5rem,8vw,8rem); align-items: start }
.pg-themes .pg-kicker, .pg-themes h2 em { color: var(--pg-bronze) }
.pg-main h2 { max-width: 10em; font-size: clamp(3.1rem,5.5vw,6rem); line-height: .99; margin: 1.3rem 0 }
.pg-section-intro > p:not(.pg-kicker), .pg-theme > p:not(.pg-theme-label), .pg-faq details p { font-size: 1.025rem; line-height: 1.72; text-wrap: pretty }
.pg-section-intro > p:not(.pg-kicker) { max-width: 25.5rem; color: #505447 }
.pg-theme {
  padding: 1.62rem 0 2rem clamp(1rem, 2.8vw, 2.8rem);
  border-top: 1px solid #ccc6b0;
  border-left: 1px solid #c6ba9e;
  position: relative;
}
.pg-theme::before {
  content: "";
  position: absolute; top: 1.95rem; left: -4px;
  width: 7px; height: 7px; background: #aa915b;
  box-shadow: 0 0 0 5px var(--pg-paper); transform: rotate(45deg);
}
.pg-theme:last-child { padding-bottom: 1rem }
.pg-main .pg-theme-label { color: var(--pg-bronze); font-size: .83rem; letter-spacing: .055em; font-weight: 600 }
.pg-theme h3 { margin: .55rem 0 .65rem; font-size: clamp(2.1rem,3.2vw,3.45rem); line-height: 1.05; letter-spacing: -.035em }
.pg-theme > p:not(.pg-theme-label) { color: #505447 }
.pg-faq { background: radial-gradient(ellipse at 0% 100%, #42513a 0%, #29382e 47%, #23302a); color: #fff7e4 }
.pg-faq h2 { color: #fff7e4 }
.pg-faq h2 em { color: #eed29b }
.pg-faq-list { border-top: 1px solid #65715e }
.pg-faq details { border-bottom: 1px solid #65715e }
.pg-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.1rem;
  padding-block: 1.35rem; cursor: pointer; list-style: none;
  color: #fff7e4; font-family: var(--serif); font-weight: 500; font-size: clamp(1.65rem,2.15vw,2.35rem); line-height: 1.16;
}
.pg-faq summary::-webkit-details-marker { display:none }
.pg-faq summary::marker { content:"" }
.pg-toggle { position: relative; width: 1.95rem; height: 1.95rem; flex: none; border: 1px solid #9fa58d; border-radius: 50% }
.pg-toggle::before, .pg-toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: .68rem; height: 1px;
  background: #f0d7a4; transform: translate(-50%,-50%);
}
.pg-toggle::after { transform: translate(-50%,-50%) rotate(90deg) }
.pg-faq details[open] .pg-toggle { background-color: #c6aa751c; border-color: #e0c591 }
.pg-faq details[open] .pg-toggle::after { transform: translate(-50%,-50%) }
.pg-answer { padding: .2rem .8rem 1.6rem 0; color: #eeeee3 }
.pg-main :is(summary,a):focus-visible { outline: 2px solid #d5ab59; outline-offset: 5px }

.pg-credit {
  margin: .9rem 0 0;
  color: #e1ddcf;
  font-size: .95rem;
  line-height: 1.5;
}
.pg-credit strong { display: inline-block; margin-top: .15rem; color: #fff5dd; font: 500 1.5rem/1.1 var(--serif) }
.pg-invitation { max-width: 32rem; margin-top: .95rem; line-height: 1.6; color: #fff9ec }
.pg-contents { background: #e9e2d0; border-bottom: 1px solid #d6cbb2 }
.pg-contents-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .05rem 1.1rem; padding-block: .6rem }
.pg-contents a { display: inline-flex; min-height: 44px; align-items: center; color: #51462f; font-size: .91rem; font-weight: 600 }
.pg-contents a:hover { text-decoration: underline; text-underline-offset: .3em }
.pg-main section[id] { scroll-margin-block-start: 1rem }
.pg-overview, .pg-package { background: #fcf9f1 }
.pg-objectives { background: #eae5d8 }
.pg-enrol { background: #f3eddf }
.pg-reading, .pg-objective-inner, .pg-package-inner, .pg-enrol-inner {
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  gap: clamp(3rem,8vw,9rem);
  align-items: start;
  padding-block: clamp(4.5rem,8vw,8rem);
}
.pg-section-intro { min-width: 0 }
.pg-section-intro h2, .pg-enrol-copy h2 { font-size: clamp(3rem,4.7vw,5.1rem); line-height: 1.01; max-width: 12em }
.pg-objective-inner h2, .pg-package-inner h2, .pg-fee h2 { font-size: clamp(2.6rem,3.8vw,4.25rem); max-width: 12em; margin: 0 0 1.25rem }
.pg-objective-inner { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem,5vw,7rem) }
.pg-objective-inner article { border-top: 1px solid #aa966d; padding-top: 1.25rem }
.pg-overview .pg-kicker, .pg-theme .pg-format { color: var(--pg-bronze) }
.pg-prose, .pg-points, .pg-includes > p, .pg-enrol-copy > p { color: #494e43; line-height: 1.7; font-size: 1.01rem }
.pg-prose h3 { margin: 1.8rem 0 .85rem; font-size: clamp(2rem,2.4vw,2.75rem); line-height: 1.08; letter-spacing: -.025em }
.pg-prose p + p, .pg-answer p + p, .pg-theme p + p { margin-top: .7rem }
.pg-points { padding: 0 0 0 1.22rem; margin: .9rem 0 1.2rem }
.pg-points li { padding-left: .2rem; margin-block: .44rem }
.pg-points li::marker { color: var(--pg-bronze) }
.pg-answer .pg-points { color: inherit }
.pg-answer .pg-points li::marker { color: var(--pg-gold) }
.pg-themes-list { list-style: none; margin: 0; padding: 0 }
.pg-theme .pg-theme-label { display: block; font-size: .77rem; letter-spacing: .12em; line-height: 1.5; margin: 0 0 .42rem }
.pg-theme > .pg-format { font-size: .95rem; font-weight: 600; margin-bottom: .7rem }
.pg-package-inner { align-items: center }
.pg-includes, .pg-fee { padding: clamp(1.45rem,3.5vw,3.5rem); border: 1px solid #cdbfa3; background: #f1ecde }
.pg-includes .pg-points { margin-bottom: 0 }
.pg-enrol-inner { align-items: center }
.pg-fee { border-color: #3c493c; background: radial-gradient(ellipse at 100% 0, #465442, #26362d 70%); color: #fdf7ea }
.pg-fee-label { margin: 1.25rem 0; font-size: .82rem; letter-spacing: .11em; color: #ebd6b1; font-weight: 600 }
.pg-fee-price { display: grid; color: #eae9d9; margin-bottom: 1.2rem }
.pg-fee-price strong { font: 500 clamp(3.8rem,5.5vw,6.5rem)/1.02 var(--serif); color: #f3d9ab; letter-spacing: -.05em }
.pg-fee-price strong span { font: 500 .9rem/1 var(--sans); letter-spacing: .07em }
.pg-fee .pg-prose { color: #f0eee3 }
.pg-enrol-copy .btn { margin: 1.45rem 0; height: auto; white-space: normal; text-align: center; line-height: 1.42; padding-block: .8rem }
.pg-enrol-copy .pg-signature { margin-bottom: .5rem; font-size: .88rem }
.pg-signature strong { font: 500 1.8rem/1.2 var(--serif); letter-spacing: -.03em }
@media (min-width: 761px) and (min-height: 600px) {
  .pg-themes .pg-section-intro, .pg-overview .pg-section-intro { position: sticky; top: 8rem }
}
@media (max-width: 760px) {
  .pg-hero::before { background-image: url("assets/tarm-mobil.webp") }
  .pg-hero-inner { display: flex; flex-direction: column; align-items: start; gap: 1.6rem; padding-block: 2.4rem 1.8rem; min-height: 0 }
  .pg-window { position: relative; inset: auto; transform: none; width: 76%; max-width: 28rem; aspect-ratio: 1.82; align-self: end; margin-right: 4% }
  .pg-window-photo,.pg-window::before { border-radius: 48% 48% 2px 2px / 73% 73% 2px 2px }
  .pg-etch { width: 19%; right: -7%; top: 31% }
  .pg-hero-copy { width: 100%; order: -1 }
  .pg-hero h1 { font-size: clamp(4.2rem,14vw,6.6rem); line-height: .92; margin: .25rem 0 1rem }
  .pg-hero h1 em { padding-top: .06em }
  .pg-hero .pg-lead { max-width: 32rem }
  .pg-actions { margin-top: 1.25rem }
  .pg-themes-inner,.pg-faq-inner,.pg-reading,.pg-objective-inner,.pg-package-inner,.pg-enrol-inner { grid-template-columns: 1fr; gap: 1.5rem; padding-block: clamp(2.6rem,7vw,3.8rem) }
  .pg-section-intro h2, .pg-enrol-copy h2, .pg-objective-inner h2, .pg-package-inner h2, .pg-fee h2 { font-size: clamp(2.55rem,9vw,4rem) }
  .pg-section-intro h2 { margin: .9rem 0 }
  .pg-contents-inner { justify-content: flex-start }
  .pg-fee { padding: 1.55rem }
  .pg-answer { padding-right: .15rem }
  .pg-actions .btn { text-align: center; white-space: normal }

  .pg-themes::after { display: none }
}
@media (max-width: 380px) {
  .pg-hero-inner { padding-top: 1.65rem; gap: 1.2rem }
  .pg-hero h1 { font-size: 4.05rem }
  .pg-actions { gap: .3rem 1rem }
}
@media (prefers-reduced-motion: no-preference) {
  .pg-hero-copy > *, .pg-hero h1 > * { animation: pg-rise .85s cubic-bezier(.16,.76,.25,1) backwards }
  .pg-hero h1 span { animation-delay: .08s }
  .pg-hero h1 em { animation-delay: .2s }
  .pg-hero-copy .pg-lead { animation-delay: .18s }
  .pg-hero-copy .pg-actions { animation-delay: .26s }
  .pg-window-photo { animation: pg-aperture 1.45s cubic-bezier(.2,.65,.25,1) backwards }
  .pg-hero-image { animation: pg-view 2.8s cubic-bezier(.18,.67,.23,1) both }
  .pg-etch i { animation: pg-dial 3.8s cubic-bezier(.15,.55,.3,1) both }
  .pg-toggle, .pg-toggle::after { transition: transform .28s, background-color .28s, border-color .28s }
  .pg-faq summary:hover .pg-toggle { border-color: #edd4a1; transform: scale(1.1) }
  .pg-theme.revealed::before { animation: pg-pin .75s .18s ease-out backwards }
  .pg-faq details[open] .pg-answer { animation: pg-rise .35s ease-out }
  @keyframes pg-aperture { from { clip-path: inset(0 0 38% 0 round 50% 50% 0 0); opacity: .3 } to { clip-path: inset(0 round 0); opacity: 1 } }
  @keyframes pg-view { from { transform: scale(1.095) translateY(1.2%) } to { transform: scale(1) } }
  @keyframes pg-rise { from { opacity: 0; transform: translateY(.65rem) } to { opacity: 1; transform: translateY(0) } }
  @keyframes pg-dial { from { transform: rotate(-80deg); opacity: 0 } to { transform: rotate(0); opacity: 1 } }
  @keyframes pg-pin { from { opacity: 0; transform: rotate(-45deg) scale(.5) } to { opacity: 1; transform: rotate(45deg) } }
}
