@import url("typography.css");

/* Casa Ylang Ylang — page-specific layouts. Shared header/footer are not overridden. */
*{box-sizing:border-box}body{margin:0;color:#111;background:#fff;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif} .casa-page{width:100%;overflow:hidden}.casa-page img{display:block}.casa-page figure{margin:0;min-width:0}
.casa-hero{aspect-ratio:2585/1010;overflow:hidden}.casa-hero img{width:100%;height:100%;object-fit:cover}
.casa-intro{padding:clamp(36px,5.2vw,84px) 8% 0}.casa-copy{max-width:640px}.casa-copy h1{font-size:clamp(32px,3vw,50px);letter-spacing:var(--heading-tracking);margin:0 0 4px;font-weight:var(--heading-weight);line-height:var(--heading-leading);font-family:var(--editorial-font);overflow-wrap:anywhere;min-width:0;}.casa-subtitle{margin:0 0 22px!important;font-size:clamp(15px,1.2vw,19px)!important;font-weight:var(--subtitle-weight);letter-spacing:var(--subtitle-tracking);line-height:var(--subtitle-leading);}.casa-copy p{font-size:clamp(14px,1.1vw,18px);line-height:var(--body-leading);margin:0 0 24px;font-weight:var(--body-weight);letter-spacing:var(--body-tracking);font-family:var(--editorial-font);}
.casa-logo-luggage{display:grid;grid-template-columns:47% 53%;align-items:center;padding:3.2% 5% 2.8%;gap:0;min-height:29vw}.casa-logo-luggage figure{display:grid;place-items:center}.casa-logo-luggage img{width:100%;height:auto;object-fit:contain}.casa-logo-luggage figure:first-child img{width:94%}
.casa-brochure{width:100%;overflow:hidden;aspect-ratio:3000/1172}.casa-brochure img{width:100%;height:100%;object-fit:cover}
.casa-two-up{display:grid;grid-template-columns:1fr 1fr;width:100%}.casa-two-up>figure{min-width:0;overflow:hidden}.casa-two-up>figure>img{width:100%;height:100%;object-fit:cover}.casa-stationery{aspect-ratio:2.58/1}.casa-stationery>figure{background:#272727}
.casa-carousel{position:relative;overflow:hidden;min-width:0;min-height:0;background:#fff;outline-offset:-3px}.casa-carousel-slides,.casa-carousel-slides figure{height:100%;width:100%;margin:0}.casa-carousel-slides img{width:100%;height:100%;object-fit:contain}
.casa-carousel button{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:54px;padding:0;display:grid;place-items:center;border:0;background:transparent;color:#666;cursor:pointer;z-index:2}.casa-carousel button:hover{color:#111}.casa-prev{left:8px}.casa-next{right:8px}.casa-carousel button span{width:13px;height:13px;border-top:1.3px solid currentColor;border-right:1.3px solid currentColor;display:block}.casa-prev span{transform:rotate(-135deg)}.casa-next span{transform:rotate(45deg)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.casa-art{position:relative;isolation:isolate;background:#fff;min-height:clamp(580px,63vw,1150px);padding:7% 5% 5%;overflow:hidden}.casa-shadow{position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:cover}.casa-art-copy{position:relative;z-index:2;display:grid;grid-template-columns:50% 40%;gap:5%;align-items:start;padding:0 6%;min-height:21vw}.casa-art-copy p{margin:0;font-size:clamp(13px,1.15vw,19px);line-height:1.5}.casa-art-poem{font-style:italic;color:#f43b42;font-size:clamp(19px,1.9vw,34px)!important;text-align:right;line-height:1.2!important}.casa-art-sketch{position:absolute;z-index:1;right:6%;top:7%;width:34%;height:auto;mix-blend-mode:multiply}.casa-wings{position:absolute;z-index:2;bottom:4%;left:3%;width:94%;display:grid;grid-template-columns:25% 45% 25%;gap:2%;align-items:end}.casa-wings img{width:100%;height:auto;object-fit:contain}.casa-wings img:nth-child(2){width:112%;margin-left:-7%}
.casa-brand-grid{aspect-ratio:2.55/1;gap:0}.casa-guide{background:#fff}.casa-coral{background:#fff}
.casa-second{position:relative;min-height:clamp(400px,42vw,770px);background:#f4f4f4 url("../images/projects/casa-ylang-ylang/concept-paper-background.avif") center/cover no-repeat;padding:5% 4% 3%}.casa-second-marks{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;justify-items:center;gap:4%;height:75%}.casa-second-marks img{width:88%;max-height:34vw;object-fit:contain}.casa-second-marks img:nth-child(2){width:75%;mix-blend-mode:multiply}.casa-second-copy{display:grid;grid-template-columns:1fr 1fr;gap:10%;align-items:end;margin-top:3%;font-size:clamp(13px,1vw,17px);line-height:1.5}.casa-second-copy p{max-width:500px}.casa-second-copy p:last-child{text-align:right;margin-left:auto}
.casa-final-pair{aspect-ratio:2.58/1}.casa-final-pair>figure img{object-fit:cover}.casa-motifs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;justify-items:center;gap:2.5%;padding:3% 6% 2%}.casa-motifs img{width:100%;height:auto;max-height:130px;object-fit:contain}
@media(max-width:900px){.casa-copy{max-width:620px}.casa-art{min-height:67vw}.casa-second{min-height:45vw}}
@media(max-width:620px){.casa-hero{aspect-ratio:1.9}.casa-intro{padding:30px 7% 0}.casa-copy h1{font-size:30px}.casa-copy p{font-size:15px}.casa-logo-luggage{grid-template-columns:1fr;gap:16px;padding:14% 7%}.casa-logo-luggage figure:first-child img{width:85%}.casa-brochure{aspect-ratio:1.8}.casa-two-up{grid-template-columns:1fr}.casa-stationery,.casa-brand-grid,.casa-final-pair{aspect-ratio:auto}.casa-two-up>figure,.casa-carousel{aspect-ratio:1.3}.casa-art{min-height:640px;padding:25px 4%}.casa-art-copy{grid-template-columns:1fr;padding:0 7%;min-height:240px;gap:15px}.casa-art-poem{text-align:left}.casa-art-sketch{width:35%;top:38%;right:4%}.casa-wings{bottom:8%;grid-template-columns:25% 44% 25%;gap:2%}.casa-second{min-height:540px}.casa-second-marks{height:75%;gap:1%}.casa-second-marks img{width:94%;max-height:330px}.casa-second-marks img:nth-child(2){width:72%}.casa-second-copy{gap:7%;font-size:12px}.casa-motifs{padding:6% 2%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Recovered image galleries: smooth horizontal slide rather than abrupt switching. */
.casa-carousel-slides {
 display:flex; flex-wrap:nowrap; width:100%; height:100%;
 transition:transform 440ms cubic-bezier(.22,.61,.36,1);
 will-change:transform;
}
.casa-carousel-slides figure {
 display:flex; flex:0 0 100%; min-width:100%; width:100%;
 height:100%; align-items:center; justify-content:center;
}
.casa-carousel-slides figure img {width:100%;height:100%;object-fit:contain}
.casa-pillows .casa-carousel-slides figure img {object-fit:contain}
.casa-brand-grid .casa-carousel-slides figure img {object-fit:contain}
.casa-brand-grid .casa-carousel {background:#fff}
@media(max-width:620px) {
 /* Mobile follows the full-width stacked editorial image model. */
 .casa-two-up,.casa-logo-luggage {grid-template-columns:minmax(0,1fr)}
 .casa-two-up>figure,.casa-two-up>.casa-carousel {aspect-ratio:1.3}
 .casa-brand-grid .casa-carousel {aspect-ratio:1.5}
 .casa-art-copy {grid-template-columns:1fr;min-height:225px;gap:16px;padding:0 7%}
 .casa-art {min-height:660px}
 .casa-art-poem {text-align:left;font-size:clamp(22px,5vw,30px)!important}
 .casa-second {min-height:630px}
 .casa-second-marks {height:75%;gap:2%}
 .casa-second-marks img {width:100%;max-height:340px}
 .casa-second-marks img:nth-child(2) {width:85%}
 .casa-motifs {gap:2%;padding:7% 4%}
 .casa-motifs img {max-height:60px}
}
@media(prefers-reduced-motion:reduce){.casa-carousel-slides{transition:none}}
/* Casa botanical concept section */
@media (min-width: 621px) {
  .casa-art {
    background: #fff;
  }

  .casa-shadow {
    opacity: 0.72;
  }

  .casa-art-copy {
    grid-template-columns: 28% 28%;
    gap: 2%;
    padding: 0 6%;
    min-height: 22vw;
  }

  .casa-art-poem {
    font-size: clamp(24px, 2.45vw, 42px) !important;
    text-align: right;
    line-height: 1.35 !important;
  }

  .casa-art-sketch {
    mix-blend-mode: normal;
    width: 38%;
    right: 2%;
    top: 4%;
  }

  .casa-wings {
    width: 90%;
    left: 5%;
    bottom: 4%;
    grid-template-columns: 18% 52% 24%;
    gap: 3%;
  }

  .casa-wings img:nth-child(2) {
    width: 100%;
    margin-left: 0;
  }
}@media (min-width: 621px) {

  /* Slightly widen spacing in red headline */
  .casa-art-poem {
    letter-spacing: 0.025em;
  }

  /* Rebalance the three botanical symbols */
.casa-wings img:nth-child(1) {
  width: 62%;
  justify-self: center;
}

.casa-wings img:nth-child(2) {
  width: 100%;
  justify-self: center;
}

.casa-wings img:nth-child(3) {
  width: 92%;
  justify-self: center;
  transform: translateY(25px);
}
@media (min-width: 621px) {
  .casa-wings {
    grid-template-columns: 22% 52% 22%;
    gap: 2%;
    align-items: center;
    bottom: 5%;
  }

  .casa-wings img:nth-child(1) {
    width: 48%;
    justify-self: center;
  }

  .casa-wings img:nth-child(2) {
    width: 100%;
    justify-self: center;
  }

  .casa-wings img:nth-child(3) {
    width: 100%;
    justify-self: center;
  }
}
}

@media (min-width: 621px) {
  .casa-art-poem {
    white-space: nowrap;
  }
}
@media (min-width: 621px) {
  .casa-art-poem {
    white-space: nowrap;
    line-height: 1.47 !important;
  }
}
/* Increase whitespace above the five symbols */
.casa-motifs {
  padding-top: 150px;
  padding-bottom: 150px;
}

  .casa-art-text {
    max-width: 82%;
    text-align: left;
    margin: 0;
  }

  .casa-art-text p {
    max-width: 100%;
    line-height: 1.45;
    margin-bottom: 18px;
  }

  /* Increase right butterfly size */
  .casa-wings img:nth-child(3) {
    width: 125%;
    max-width: none;
    justify-self: center;
  }
  @media (max-width: 620px) {
  /* Narrower body copy beneath the red headline */
  .casa-art-copy p {
    width: 100%;
    max-width: 32ch;
    margin-left: 0;
    margin-right: 0;
    line-height: 1.45;
  }

  /* Give the right-hand butterfly more visual weight */
  .casa-wings img:nth-child(3) {
    width: 120%;
    max-width: none;
    justify-self: center;
  }
@media (max-width: 620px) {
  .casa-wings {
    width: 88%;
    left: 6%;
    display: grid;
    grid-template-columns: 22% 48% 22%;
    column-gap: 4%;
    align-items: center;
  }

  .casa-wings img:nth-child(1) {
    width: 65%;
    justify-self: center;
  }

  .casa-wings img:nth-child(2) {
    width: 100%;
    justify-self: center;
  }
}
  .casa-wings img:nth-child(3) {
    width: 100%;
    max-width: none;
    justify-self: center;
  }
}
.casa-copy .casa-subtitle { font-weight:var(--subtitle-weight); line-height:var(--subtitle-leading); letter-spacing:var(--subtitle-tracking); }
