.studio-page { font-size: 1rem; }
.team-page > .site-header {
  background-image: linear-gradient(110deg, #211917 0%, #54423c 54%, var(--forest-deep) 100%);
  border-bottom-color: #d8c8b73d;
}
.team-page > .site-header:not(.scrolled) {
  background-image: linear-gradient(110deg, #211917e6 0%, #6a544cbf 54%, #302724e6 100%);
  border-bottom-color: #d8c8b730;
}



.studio-hero { background: radial-gradient(ellipse at 85% 14%, #53423b, transparent 66%), var(--forest-deep); color: var(--ivory); }
.studio-hero h1 { font-size: clamp(3.2rem, 8vw, 7.2rem); line-height: .92; margin-top: .2em; }
.studio-hero .eyebrow { color: #ddcfc1; font-size: .72rem; }
.studio-hero-team { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(1.25rem, 4vw, 4rem); }
.studio-hero-team { padding-block: clamp(1.5rem, 3.5vw, 3rem); }
.studio-hero-team h1 { font-size: clamp(2.35rem, 5vw, 4.6rem); margin-top: 0; }
.studio-hero-note { border-inline-start: 1px solid #ebe1d755; padding-inline-start: clamp(1rem, 3vw, 2.3rem); }
.studio-hero-note p, .studio-about-intro > p:last-child { max-width: 43ch; line-height: 1.6; color: #ebe8e2; }
.studio-jumps { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.studio-jumps a { min-height: 44px; display: inline-flex; align-items: center; gap: .7rem; padding-inline: 1rem; border: 1px solid #ebe1d770; border-radius: 100px; font-weight: 700; }
.studio-jumps a:hover { background: #ffffff19; }
.team-chapter {
  color: var(--ink);
  background: radial-gradient(ellipse at 77% 46%, #eceae5, transparent 73%), var(--ivory);
  padding-block: clamp(1.6rem, 4vw, 4rem);
}
.team-chapter + .team-chapter { border-block-start: 1px solid var(--line); }
.team-chapter-inner { display: grid; grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(1.4rem, 6vw, 6rem); }
.team-chapter-tomasz .team-chapter-inner { grid-template-columns: minmax(0, 1.2fr) minmax(230px, .8fr); }
.team-portrait { width: 100%; max-width: 390px; aspect-ratio: 4 / 5; padding: .38rem; border: 1px solid #a89791; border-radius: 12px; overflow: hidden; }
.team-portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; }
.team-portrait-agata { background: #191614; }
.team-portrait-agata img { object-position: center 55%; }
.team-portrait-tomasz { background: #2f2825; }
.team-chapter-copy .eyebrow { color: var(--muted); font-size: .7rem; }
.team-chapter-copy h2 { font-size: clamp(3.5rem, 8vw, 6.75rem); line-height: .93; margin-block: .1em .18em; }
.studio-lead { font: 600 clamp(1.4rem, 2.5vw, 2rem)/1.13 var(--serif); max-width: 32ch; color: var(--forest); }
.studio-copy { display: grid; gap: .75rem; max-width: 61ch; margin-top: 1.15rem; padding-top: 1rem; border-top: 1px solid #5b473f30; color: var(--muted); line-height: 1.65; }
.studio-copy h3 { font: 700 1rem/1.3 var(--sans); letter-spacing: 0; color: var(--ink); margin-bottom: -.35rem; }
.studio-about-intro > p:last-child { margin-top: 1.1rem; }
.about-page.hero-menu {
  --site-header-scrolled: #232323;
}
.about-page > .site-header {
  color: #fff;
}
.about-page > .site-header:not(.scrolled) {
  background-image: linear-gradient(to bottom, #000b, #0009 65%, #0006);
}
.about-page > .site-header.scrolled {
  box-shadow: 0 3px 18px #0003;
}
.about-page > .site-header :is(.site-header-nav a[aria-current], .mobile-nav-trigger, .site-header-actions > .pill) {
  color: inherit;
}
.about-page .mobile-nav-top { background: var(--site-header-scrolled); }
.about-hero { background: #eeece8; border-bottom: 1px solid #dcd8d3; }
.about-hero-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; gap: clamp(.7rem, 3vw, 3rem); padding-block: clamp(.95rem, 1.8vw, 1.65rem); }
.about-hero-copy h1 { max-width: 22ch; margin-block: .16em .23em; font-size: clamp(2.2rem, 4.1vw, 3.65rem); color: var(--forest-deep); }
.about-hero-copy > p:not(.eyebrow) { max-width: 46ch; color: var(--muted); line-height: 1.62; }
.about-hero-copy .pill { min-height: 44px; margin-top: .55rem; }
.about-hero-mark { display: grid; place-items: center; justify-self: center; width: min(100%, 280px); aspect-ratio: 1.4; }
.about-hero-mark img { width: clamp(110px, 17vw, 213px); height: auto; }
.studio-story { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(1.5rem, 5vw, 5rem); padding-block: clamp(2rem, 6vw, 5rem); }
.studio-story h2, .studio-end h2 { font-size: clamp(2.3rem, 5vw, 4rem); }
.story-intro {
  display: grid; align-content: center; justify-items: center; gap: .9rem;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2.25rem);
  border: 1px solid #d4ccc5; border-radius: 14px;
  background: radial-gradient(ellipse at 30% 20%, #f8f5f0, transparent 72%), var(--sage-light);
  text-align: center;
}
.story-intro h2 { max-width: 12ch; }
.story-intro > p:not(.eyebrow) { max-width: 29ch; color: var(--muted); line-height: 1.56; }
.story-visit { text-decoration: underline; text-underline-offset: .2em; }
.story-visit { width: fit-content; color: var(--forest); font-weight: 700; }
.story-chapters article { border-top: 1px solid #c0b6ab; padding-block: 1rem 1.3rem; }
.story-chapters article:last-child { padding-bottom: 0; }
.story-chapters h3 { font-size: clamp(1.65rem, 3vw, 2.4rem); margin-bottom: .35rem; }
.story-chapters p, .studio-end p { line-height: 1.63; }
.story-chapters p { color: var(--muted); }
.studio-visit { background: #edebe6; border-block-start: 1px solid #d4ccc5; }
.studio-visit-inner { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(1rem, 5vw, 5rem); padding-block: clamp(1.5rem, 4vw, 3rem); }
.studio-visit h2 { margin-bottom: .65rem; font-size: clamp(2rem, 4.1vw, 3.3rem); }
.studio-visit-copy { display: grid; gap: .7rem; max-width: 68ch; line-height: 1.65; color: var(--muted); }
.studio-end { color: var(--ivory); background: #42332d; }
.studio-end-inner { display: flex; gap: 1.2rem 2rem; justify-content: space-between; align-items: center; padding-block: clamp(1.5rem, 4vw, 3rem); }
.studio-end p { max-width: 61ch; margin-top: .6rem; }
.studio-end .pill { flex: 0 0 auto; min-height: 44px; font-size: .875rem; }
.studio-couples { color: #352c28; background: #f1eeea; border-top: 1px solid #d9d3cc; }
.studio-couples p { color: #554843; }
.studio-couples .pill { color: #52423c; }
.studio-couples .pill:is(:hover, :focus-visible) { background: #e4ded7; }
@media (max-width: 700px) {
  .studio-hero-team, .about-hero-inner, .team-chapter-inner, .team-chapter-tomasz .team-chapter-inner, .studio-story { grid-template-columns: 1fr; }
  .about-hero-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .about-hero-mark img { width: clamp(70px, 16vw, 108px); }
  .about-hero-copy h1 { font-size: clamp(1.9rem, 6.5vw, 2.85rem); }
  .studio-visit-inner { grid-template-columns: 1fr; }
  .studio-hero-team { gap: 1.4rem; }
  .studio-end-inner { align-items: flex-start; flex-direction: column; }
}
.services-page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.services-page > main { flex: 1; }
.studio-offer-categories { padding-block: clamp(1.2rem, 4vw, 3rem); }
.studio-offer-categories .photo-card { height: clamp(175px, 23vw, 270px); }
@media (max-width: 680px) {
  .services-page .studio-hero-team { gap: .75rem; padding-block: 1.35rem 1.5rem; }
  .services-page .studio-hero-note { border: 0; padding: 0; }
  .services-page .studio-hero-note p { font-size: .94rem; line-height: 1.48; }
  .studio-offer-categories { grid-template-columns: 1fr; gap: .65rem; }
  .studio-offer-categories .photo-card { height: clamp(132px, 40vw, 210px); border-radius: 9px; }
  .studio-offer-categories .card-copy { inset: auto 48px 15px 16px; }
  .studio-offer-categories .card-copy strong { font-size: clamp(1.65rem, 5.75vw, 2.3rem); }
  .studio-offer-categories .card-copy > span { font-size: .81rem; }
  .studio-offer-categories .photo-card .circle { right: 15px; bottom: 15px; width: 29px; height: 29px; }
}
.tantra-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--forest-deep); }
.hero-menu .tantra-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: calc(var(--hero-menu-offset) + 40px);
  background: linear-gradient(180deg, #1f1815dc, #1f181599 56%, transparent);
  pointer-events: none;
}
.tantra-hero-art {
  position: absolute; z-index: -1; inset: 0 0 0 auto; width: 75%; height: 100%;
  object-fit: cover; object-position: 81% top;
  mask-image: linear-gradient(90deg, transparent 5%, #0003 29%, #000 58%);
}
.tantra-hero-inner { display: grid; align-items: center; min-height: clamp(355px, 38vw, 535px); }
.tantra-hero .studio-about-intro { width: min(52%, 42rem); padding-block: 2.5rem; }
@media (max-width: 640px) {
  .tantra-hero-art {
    width: 100%; height: min(72vw, 335px); object-position: 83% 38%;
    mask-image: linear-gradient(180deg, #000 44%, #000c 62%, transparent 100%);
  }
  .tantra-hero-inner { padding-top: clamp(155px, 56vw, 250px); }
  .tantra-hero .studio-about-intro { width: 100%; padding-block: 1rem 2rem; }
}
.tantra-layout { display: grid; grid-template-columns: minmax(175px, .32fr) minmax(0, 1fr); gap: clamp(1.25rem, 5vw, 5rem); align-items: start; padding-block: clamp(1.5rem, 5vw, 4rem); }
.tantra-toc { position: sticky; top: calc(var(--site-header-height, 72px) + 1rem); display: grid; gap: .37rem; padding: 1rem; border: 1px solid #d0c7bf; border-radius: 10px; background: #eeebe5; }
.tantra-toc strong { font: 600 1.4rem/1.1 var(--serif); margin-bottom: .15rem; }
.tantra-toc a { padding-block: .2rem; }
.tantra-toc a:hover, .tantra-article a { text-decoration: underline; text-underline-offset: .2em; }
.tantra-article { max-width: 70ch; line-height: 1.66; }
.tantra-article section + section { margin-top: clamp(1.7rem, 4vw, 3rem); }
.tantra-article h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); margin-bottom: .55em; }
.tantra-article p + p, .tantra-article li + li { margin-top: .55em; }
.tantra-article ol, .tantra-article ul { padding-inline-start: 1.35rem; }
.tantra-sources { padding: 1.25rem; border-radius: 8px; background: #edebe6; }
.tantra-sources h2 { font-size: 1.7rem; }
.tantra-toc .tantra-toc-faq { display: flex; justify-content: space-between; gap: .4rem; border-top: 1px solid #cac2b9; margin-top: .25rem; padding-top: .55rem; font-weight: 700; }
.tantra-faq { background: #edebe6; border-top: 1px solid #d5cec7; }
.tantra-faq-inner { display: grid; grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr); gap: clamp(1rem, 5vw, 4rem); align-items: start; padding-block: clamp(1.5rem, 4vw, 3.7rem); }
.tantra-faq-heading { position: sticky; top: calc(var(--site-header-height, 72px) + 1rem); }
.tantra-faq-heading h2 { font-size: clamp(2.15rem, 4.7vw, 3.9rem); }
.tantra-faq-list { border-block-end: 1px solid #c9c0b7; }
.tantra-faq-list details { border-block-start: 1px solid #c9c0b7; }
.tantra-faq-list summary { cursor: pointer; font-weight: 700; padding-block: .9rem; }
.tantra-faq-list summary:hover, .tantra-faq-list a { text-decoration: underline; text-underline-offset: .2em; }
.tantra-faq-list p { max-width: 65ch; margin: 0 0 .95rem; line-height: 1.6; color: var(--muted); }
@media (max-width: 650px) {
  .tantra-layout { grid-template-columns: 1fr; }
  .tantra-toc { position: static; }
  .tantra-faq-inner { grid-template-columns: 1fr; }
  .tantra-faq-heading { top: var(--site-header-height, 72px); z-index: 1; padding-block: .55rem; background: #edebe6; }
}

.tantra-rules-note { margin-bottom: .85rem; padding: .85rem 1rem; background: var(--sage-light); border-inline-start: 3px solid #958179; }
.tantra-more { min-height: 44px; margin-top: .85rem; padding-inline: 1.1rem; font-size: .875rem; }
.tantra-dialog { width: min(650px, calc(100% - 2rem)); }
.tantra-dialog h3 { margin: .85em 0 .35em; font-size: 1.5rem; }
.tantra-dialog p { line-height: 1.58; }
.tantra-dialog a { text-decoration: underline; text-underline-offset: .2em; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.not-found-page { display:flex; flex-direction:column; min-height:100svh; }
.not-found-page > main { flex:1; }
.not-found-page .studio-hero { background: radial-gradient(ellipse at 88% 55%, #6c5750, transparent 67%), var(--forest-deep); }
.not-found-panel {
  display:grid; grid-template-columns: minmax(0, 1fr) auto; align-items:center;
  gap:clamp(1.25rem, 10vw, 10rem); padding-block:clamp(2.8rem, 8vw, 8rem);
}
.not-found-panel h1 { margin:.2em 0 .3em; font-size:clamp(2.6rem, 7vw, 6.4rem); }
.not-found-panel p:not(.eyebrow) { max-width:42ch; line-height:1.6; }
.not-found-panel img { width:clamp(6rem, 16vw, 13rem); height:auto; opacity:.48; filter:brightness(0) invert(1); }
@media (max-width:590px) {
  .not-found-panel { grid-template-columns:1fr; }
  .not-found-panel img { order:-1; width:3.5rem; }
}
