/* Pink Atelier: layout, typography, mobile adaptations and reduced motion. */

* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:110px
}
body {
  margin:0;
  background:#100c10;
  color:#fff5f7;
  font-family:Arial,Helvetica,sans-serif;
  font-size:16px;
  line-height:1.6
}
a {
  color:inherit;
  text-decoration:none
}
button,input,select,textarea {
  font:inherit
}
button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent
}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:2px solid #ff3998;
  outline-offset:6px
}
.skip {
  position:fixed;
  top:-100px;
  z-index:100
}
.skip:focus {
  top:100px;
  background:#100c10;
  padding:12px
}
header {
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:30;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:calc(18px + env(safe-area-inset-top)) 5vw 18px;
  background:#100c10ed;
  border-bottom:1px solid #ffffff25;
  backdrop-filter:blur(15px)
}
.brand {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:15px;
  letter-spacing:.13em;
  line-height:1.3;
  font-weight:bold
}
.mark {
  display:grid;
  place-items:center;
  font-family:Georgia,serif;
  font-size:38px;
  letter-spacing:-.08em;
  color:#ff3998;
  border:1px solid #ff39986b;
  border-radius:50%;
  width:48px;
  height:48px;
  padding-bottom:5px
}
.brand small {
  display:block;
  font-size:10px;
  letter-spacing:.24em;
  margin-top:5px;
  font-weight:normal
}
nav {
  display:flex;
  align-items:center;
  gap:32px;
  font-size:14px
}
nav a {
  padding:10px 0
}
.nav-cta {
  border-bottom:1px solid #ff3998
}
.menu-button {
  display:none;
  background:none;
  border:0;
  width:48px;
  height:48px;
  padding:12px
}
.menu-button span {
  height:1px;
  background:white;
  display:block;
  margin:8px 0
}
.story {
  position:relative
}
.stage {
  position:sticky;
  top:0;
  height:100svh;
  overflow:hidden;
  margin-bottom:-100svh;
  background:#171016 url(media/frame-001.jpg) center/cover
}
canvas {
  width:100%;
  height:100%;
  display:block
}
.shade {
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#0d080de3 0%,#0d080d90 40%,#0d080d05 80%),linear-gradient(0deg,#100c1077,transparent 40%)
}
.film-label,.frame-count {
  position:absolute;
  bottom:28px;
  font-size:11px;
  letter-spacing:.15em;
  color:#ffffffa8
}
.film-label {
  left:5vw
}
.frame-count {
  right:5vw
}
.progress {
  position:absolute;
  bottom:0;
  width:100%;
  height:3px;
  background:#ffffff22
}
.progress i {
  display:block;
  width:100%;
  height:100%;
  background:#ff3998;
  transform:scaleX(0);
  transform-origin:left
}
.chapter {
  position:relative;
  min-height:140svh;
  display:flex;
  align-items:center;
  padding:150px 8vw 110px
}
.hero {
  min-height:100svh;
  height:100svh
}
.copy {
  max-width:640px
}
.eyebrow {
  font-size:12px!important;
  letter-spacing:.18em;
  line-height:1.6!important;
  font-weight:600;
  color:#f6b5d4;
  margin:0 0 26px!important
}
h1,h2 {
  font-family:Georgia,'Times New Roman',serif;
  font-weight:normal;
  letter-spacing:-.055em;
  line-height:.99;
  margin:0 0 30px
}
h1 {
  font-size:clamp(58px,7.7vw,118px)
}
h2 {
  font-size:clamp(46px,6vw,88px)
}
em {
  font-weight:normal;
  color:#ff69ac
}
p {
  max-width:430px;
  color:#e3dce0;
  margin:0 0 26px
}
.copy p {
  font-size:18px;
  line-height:1.7
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:35px;
  padding:17px 24px;
  background:#ff3998;
  color:#170910;
  border:0;
  border-radius:2px;
  font-size:15px;
  font-weight:bold;
  cursor:pointer;
  min-height:52px;
  transition:background .25s,transform .25s
}
.button:hover {
  background:#ff8dc3;
  transform:translateY(-3px)
}
.button span {
  font-size:22px
}
.scroll-hint {
  position:absolute;
  bottom:65px;
  left:8vw;
  letter-spacing:.16em;
  font-size:11px;
  display:flex;
  align-items:center;
  gap:35px
}
.scroll-hint span {
  font-size:24px
}
.glass {
  padding:42px;
  max-width:550px;
  border:1px solid #ffffff2e;
  background:#130d17ba;
  backdrop-filter:blur(15px);
  border-radius:4px;
  transition:opacity .65s,transform .85s
}
.right {
  justify-content:flex-end
}
.right .glass {
  background:#130d17d1
}
.tags {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:26px
}
.tags span {
  font-size:12px;
  border:1px solid #ffffff35;
  padding:6px 12px;
  border-radius:30px
}
.text-link {
  font-size:14px;
  border-bottom:1px solid #ff3998;
  padding:8px 0;
  display:inline-block
}
.enquiry {
  position:relative;
  background:#f6edf1;
  color:#21121c;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10vw;
  padding:110px 8vw
}
.enquiry p {
  color:#65525e
}
.enquiry em {
  color:#a91b60
}
.enquiry .eyebrow {
  color:#a91b60
}
.enquiry .note {
  font-size:14px;
  border-top:1px solid #cdbac5;
  padding-top:24px;
  margin-top:32px
}
form {
  max-width:520px
}
label {
  display:block;
  font-size:14px;
  margin:0 0 8px
}
label span {
  color:#74636e
}
input,select,textarea {
  width:100%;
  border:1px solid #c9b8c2;
  background:#ffffff65;
  color:#21121c;
  border-radius:0;
  padding:13px;
  margin-bottom:23px;
  min-width:0
}
textarea {
  resize:vertical
}
form .button {
  width:100%
}
.form-note {
  font-size:12px;
  margin-top:15px!important
}
#saved {
  font-size:14px
}
footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  padding:40px 5vw
}
footer>span {
  font-size:11px;
  letter-spacing:.13em;
  color:#c4a9b8
}
footer>a:last-child {
  font-size:13px
}
dialog {
  position:fixed;
  inset:0;
  margin:0 0 0 auto;
  border:0;
  background:#150e16;
  color:white;
  width:min(460px,100%);
  height:100dvh;
  max-height:none;
  padding:120px 35px 40px
}
dialog::backdrop {
  background:#0009;
  backdrop-filter:blur(8px)
}
dialog>a {
  display:block;
  font-family:Georgia,serif;
  font-size:32px;
  padding:15px 0;
  border-bottom:1px solid #ffffff25
}
.close {
  position:absolute;
  right:22px;
  top:28px;
  width:48px;
  height:48px;
  background:none;
  border:1px solid #ffffff45;
  color:white;
  font-size:30px
}
body.menu-open {
  overflow:hidden
}
@media(max-width:700px) {
  header {
    padding:calc(12px + env(safe-area-inset-top)) 20px 12px
  }
  .brand {
    font-size:12px
  }
  .mark {
    width:42px;
    height:42px;
    font-size:32px
  }
  .brand small {
    font-size:9px
  }
  nav {
    display:none
  }
  .menu-button {
    display:block
  }
  .chapter {
    padding:130px 22px 100px;
    min-height:130svh;
    align-items:flex-end
  }
  .hero {
    height:100svh;
    min-height:100svh;
    padding-bottom:145px;
    align-items:flex-end
  }
  h1 {
    font-size:clamp(52px,13vw,84px)
  }
  h2 {
    font-size:clamp(43px,11vw,66px)
  }
  .copy p {
    font-size:16px
  }
  .eyebrow {
    font-size:10px!important;
    margin-bottom:20px!important;
    max-width:285px
  }
  .hero .copy>p:not(.eyebrow) {
    max-width:290px
  }
  .glass {
    padding:26px 24px;
    width:100%;
    background:#130d17d6
  }
  .shade {
    background:linear-gradient(0deg,#100c10f2 0%,#100c1070 55%,#100c100f 85%)
  }
  .scroll-hint {
    left:24px;
    bottom:65px
  }
  .film-label {
    left:22px;
    font-size:9px
  }
  .frame-count {
    right:22px
  }
  .enquiry {
    display:block;
    padding:70px 24px
  }
  .enquiry form {
    margin-top:40px
  }
  footer {
    padding:35px 24px;
    flex-wrap:wrap
  }
  footer>span {
    display:none
  }
  footer>a:last-child {
    font-size:12px
  }
  .desktop {
    display:none
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*::before,*::after {
    transition:none!important
  }
  .scroll-hint {
    display:none
  }
}
@media(max-height:600px) and (min-width:701px) {
  h1 {
    font-size:60px
  }
  .hero {
    padding-top:110px;
    padding-bottom:70px
  }
  .scroll-hint {
    display:none
  }
}

/* Mobile overflow repair: reserve the measured header height and let content grow. */
:root { --header-height: 100px; }
html { scroll-padding-top: calc(var(--header-height) + 20px); }
.hero {
  height: auto;
  min-height: 100svh;
  padding-top: calc(var(--header-height) + 36px);
}
.hero .copy { flex-shrink: 0; min-width: 0; }
.copy, form { min-width: 0; }
.button { gap: 0; }
@media (max-width: 700px) {
  .hero {
    height: auto;
    min-height: 100svh;
    padding: calc(var(--header-height) + 28px) 24px 108px;
    align-items: center;
  }
  .hero h1 {
    font-size: clamp(40px, 11.5vw, 66px);
    line-height: 1.06;
    letter-spacing: -0.045em;
    margin-bottom: 20px;
  }
  .hero .eyebrow { margin-bottom: 16px !important; }
  .hero .copy > p:not(.eyebrow) {
    line-height: 1.5;
    margin-bottom: 22px;
    max-width: 100%;
  }
  .hero .button { padding: 13px 22px; min-height: 48px; }
  .hero .scroll-hint { bottom: 53px; }
  .glass { max-width: 100%; }
  .chapter:not(.hero) { padding-top: calc(var(--header-height) + 32px); }
}
@media (max-height: 650px) and (max-width: 700px) {
  .hero { padding-top: calc(var(--header-height) + 20px); padding-bottom: 65px; }
  .hero h1 { font-size: clamp(36px, 10vw, 54px); }
  .hero .scroll-hint { display: none; }
}

/* Bootstrap integration and tested containment: never use intrinsic flex widths for copy. */
html, body { width: 100%; max-width: 100%; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { overflow-x: clip; }
.chapter .copy { width: 100%; min-width: 0; flex: 0 1 640px; }
.chapter .glass { flex-basis: 550px; max-width: 550px; background: rgba(19, 13, 23, .55); }
.right .glass { background: rgba(19, 13, 23, .6); }
.copy p { width: 100%; max-width: 430px; overflow-wrap: break-word; }
h1, h2 { overflow-wrap: break-word; }
.shade { background: linear-gradient(90deg, #0d080d9e, #0d080d38 50%, #0d080d00 85%), linear-gradient(0deg, #100c1044, transparent 40%); }
header { background: rgba(16, 12, 16, .78); }
.enquiry.row { margin: 0; }
.enquiry { display: flex; gap: 0; }
.enquiry > .col-md-6 { min-width: 0; padding: 0; }
.enquiry > form.col-md-6 { max-width: none; }
@media (min-width: 768px) {
  .enquiry > .col-md-6:first-child { padding-right: 6vw; }
}
@media (max-width: 700px) {
  .chapter .copy { flex: 0 1 auto; width: 100%; max-width: 100%; }
  .hero .copy > p:not(.eyebrow) { width: 100%; max-width: 100%; white-space: normal; }
  .chapter .glass { max-width: 100%; background: rgba(19, 13, 23, .62); }
  .shade { background: linear-gradient(0deg, #100c10b8 0%, #100c104d 55%, #100c1000 85%); }
  .enquiry.row { display: block; }
  header .brand { min-width: 0; }
  header .menu-button { flex: 0 0 48px; }
}

/* Compact pill buttons, retaining accessible touch height. */
.button, .hero .button {
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.5;
  justify-content: center;
}
form .button { width: auto; min-width: 160px; }

@media (max-width: 700px) {
  .copy p:not(.eyebrow), .hero .copy > p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.55;
  }
  .hero .eyebrow { font-size: 10px !important; line-height: 1.5 !important; }
}

/* Preserve the brand mark against Bootstrap highlight defaults. */
.mark { background: transparent; padding: 0 0 5px; }
