.hero-photo {
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.sticker {
  z-index: 3;
  animation: sticker-float 3.2s ease-in-out infinite;
  transform-origin: center;
}

.sticker-copy {
  display: block;
  line-height: 1.08;
}

@keyframes sticker-float {
  0%, 100% { transform: rotate(10deg) translateY(0) scale(1); }
  50% { transform: rotate(5deg) translateY(-10px) scale(1.04); }
}

.map-section {
  padding-top: 60px;
}

.map-frame {
  overflow: hidden;
  min-height: 430px;
  border: 1px solid #ded9e3;
  border-radius: 28px;
  background: #ece9ef;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}

.map-fallback {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.map-fallback a {
  color: #191528;
  font-weight: 800;
}

.birthday-confetti main {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.birthday-confetti main > :not(.confetti-layer) {
  position: relative;
  z-index: 1;
}

.confetti-layer {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .72;
}

.career-page {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.career-card {
  padding: 38px;
  border-radius: 28px;
  background: #d8ef77;
}

.career-card h2 {
  font-size: 34px;
}

.career-page > div > p {
  max-width: 590px;
  color: var(--muted);
  font-size: 17px;
}

.career-application {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
  align-items: start;
  padding-top: 28px;
}

.career-form-heading {
  position: sticky;
  top: 32px;
}

.career-form-heading h2 {
  margin: 14px 0 18px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
}

.career-form-heading > p:last-child {
  max-width: 470px;
  color: var(--muted);
  font-size: 16px;
}

.career-form {
  position: relative;
  display: grid;
  gap: 22px;
  padding: 38px;
  border-radius: 28px;
  background: #ede4f7;
}

.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.career-form label {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.career-form label > span[aria-hidden="true"] {
  display: inline;
  margin-left: 3px;
  color: #9254b2;
}

.career-form input,
.career-form select,
.career-form textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  margin-top: 9px;
  border: 1px solid rgba(25, 21, 40, .18);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  padding: 13px 15px;
}

.career-form textarea {
  min-height: 150px;
  resize: vertical;
}

.career-form select {
  height: 50px;
  padding-right: 46px;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23191528' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 18px;
}

.career-form .file-field input {
  padding: 10px;
  cursor: pointer;
}

.career-form .file-field input::file-selector-button {
  margin-right: 12px;
  padding: 9px 13px;
  border: 0;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.career-form .file-field small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.career-form input:focus,
.career-form select:focus,
.career-form textarea:focus {
  outline: 3px solid rgba(146, 84, 178, .22);
  border-color: #9254b2;
}

.career-form .consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 500;
  line-height: 1.5;
}

.career-form .consent input {
  width: 20px;
  min-height: 20px;
  margin-top: 2px;
  accent-color: #9254b2;
}

.career-form .button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.career-form .button:disabled {
  cursor: wait;
  opacity: .65;
}

.form-note {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.form-note.is-success { color: #2d6e37; font-weight: 800; }
.form-note.is-error { color: #a52a2a; font-weight: 800; }

.group-events-intro { padding-bottom: 38px; }
.group-events-intro > p { max-width: 680px; margin-top: 22px; color: var(--muted); font-size: 19px; }
.group-event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding-top: 10px; }
.group-event-card { overflow: hidden; border-radius: 30px; background: #f2eff4; }
.group-event-card > img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.group-event-card__body { padding: 34px; }
.group-event-label { display: inline-flex; margin-bottom: 22px; padding: 8px 13px; border-radius: 999px; background: #191528; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.group-event-card h2 { max-width: 520px; margin-bottom: 16px; font-size: clamp(30px, 3vw, 45px); line-height: 1.02; }
.group-event-card p { color: var(--muted); font-size: 16px; }
.group-event-points { display: grid; gap: 10px; margin: 24px 0 30px; padding: 0; list-style: none; }
.group-event-points li { position: relative; padding-left: 25px; }
.group-event-points li::before { position: absolute; left: 0; color: #6f821f; content: "✦"; }
.school-event { background: #edf7bf; }
.corporate-event { background: #ede4f7; }
.group-event-note { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.group-event-note h2 { margin-top: 15px; font-size: clamp(32px, 4vw, 54px); line-height: 1.02; }
.group-event-note p { max-width: 690px; color: var(--muted); font-size: 17px; }

.unit-grid {
  align-items: stretch;
}

.unit {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.unit-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.unit-body details {
  margin-top: auto;
}

.unit-visual .visual-slogan {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 22px;
  max-width: 78%;
  color: #fff;
  font-size: clamp(27px, 2.8vw, 42px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: .96;
  text-shadow: 0 2px 18px rgba(25, 21, 40, .55);
}

.unit-visual.has-slogan::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(135deg, rgba(25, 21, 40, .58), transparent 62%);
  content: "";
  pointer-events: none;
}

/* Birthday invitation card */
.birthday-confetti .birthday {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #f28b32;
}

.birthday-confetti .birthday::before,
.birthday-confetti .birthday::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .17;
}

.birthday-confetti .birthday::before {
  top: -22px;
  right: -18px;
  width: 210px;
  height: 245px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 210 245'%3E%3Cg fill='none' stroke='%23191528' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='73' cy='70' rx='43' ry='55' fill='%23f276b3'/%3E%3Cpath d='m65 124 8 12 9-12M73 136c-4 31 25 33 10 65'/%3E%3Cellipse cx='145' cy='83' rx='42' ry='54' fill='%23c9ed48'/%3E%3Cpath d='m137 136 8 12 9-12M145 148c8 27-19 35-7 67'/%3E%3C/g%3E%3C/svg%3E");
}

.birthday-confetti .birthday::after {
  right: 14px;
  bottom: -12px;
  width: 215px;
  height: 175px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 180'%3E%3Cg stroke='%23191528' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath fill='%23f4edcf' d='M30 92h160v64H30z'/%3E%3Cpath fill='%23f276b3' d='M30 92c18 0 18 17 36 17s18-17 36-17 18 17 36 17 18-17 36-17 18 17 16 17V70H30z'/%3E%3Cpath fill='none' d='M25 156h170'/%3E%3Cpath fill='%23c9ed48' d='M73 70V39h18v31M128 70V34h18v36'/%3E%3Cpath fill='%23f276b3' d='M82 39c-10-11 7-24 7-24s13 15 2 25zM137 34c-10-11 7-24 7-24s13 15 2 25z'/%3E%3C/g%3E%3C/svg%3E");
}

.birthday-confetti .birthday > * {
  position: relative;
  z-index: 1;
}

.birthday-confetti .birthday em {
  color: var(--ink);
}

.unit-visual.has-slogan .tag {
  z-index: 3;
}

.price-badge {
  position: absolute;
  z-index: 4;
  right: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 13px;
  background: rgba(25, 21, 40, .88);
  box-shadow: 0 8px 22px rgba(25, 21, 40, .2);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
  backdrop-filter: blur(8px);
}

.price-badge small {
  margin-right: 3px;
  color: var(--lime);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.mobile-menu-toggle {
  display: none;
}

.brand {
  width: 190px;
  height: 58px;
  overflow: visible;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.breadcrumb + .first-step,
.breadcrumb + .visit {
  margin-top: 0;
}

/* Explore page photography */
.explore-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .72fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.explore-intro-copy > p:not(.eyebrow) {
  max-width: 690px;
}

.explore-feature-image {
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 20px 55px rgba(25, 21, 40, .14);
}

.explore-feature-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entrance-image {
  height: clamp(430px, 45vw, 610px);
}

.entrance-image img {
  object-position: center 56%;
}

.explore-cafe .cafe {
  grid-template-columns: auto minmax(0, 1fr) minmax(330px, .85fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
}

.cafe-image {
  height: 360px;
}

.cafe-image img {
  object-position: center;
}

@media (max-width: 750px) {
  header {
    position: relative;
    flex-wrap: nowrap;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  header .brand {
    width: 150px;
    height: 48px;
    transform: none;
  }

  header > .button {
    display: none;
  }

  .mobile-menu-toggle {
    display: grid;
    width: 48px;
    height: 48px;
    margin-left: auto;
    padding: 12px;
    place-content: center;
    gap: 5px;
    border: 0;
    border-radius: 50%;
    background: var(--lime);
    color: var(--ink);
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }

  header.menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  header.menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  header.menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  header nav[aria-label="Ana menü"] {
    position: absolute;
    z-index: 30;
    top: calc(100% - 2px);
    right: 5%;
    left: 5%;
    display: none;
    width: auto;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid rgba(25, 21, 40, .1);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(25, 21, 40, .18);
  }

  header.menu-open nav[aria-label="Ana menü"] {
    display: flex;
  }

  header nav[aria-label="Ana menü"] a {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 16px;
  }

  header nav[aria-label="Ana menü"] a:hover,
  header nav[aria-label="Ana menü"] a[aria-current="page"] {
    background: #f1edf5;
  }

  .group-event-grid, .group-event-note { grid-template-columns: 1fr; }
  .group-event-grid { gap: 20px; }
  .group-event-card__body { padding: 26px; }
  .group-event-note { gap: 18px; }

  .career-page {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .career-application,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .career-application {
    gap: 26px;
  }

  .career-form-heading {
    position: static;
  }

  .career-form {
    padding: 26px;
  }

  .career-card {
    padding: 28px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 360px;
    height: 360px;
  }

  .explore-intro,
  .explore-cafe .cafe {
    grid-template-columns: 1fr;
  }

  .explore-intro {
    gap: 30px;
  }

  .explore-cafe .cafe {
    gap: 22px;
  }

  .entrance-image,
  .cafe-image {
    height: 320px;
  }

  .explore-feature-image {
    border-radius: 22px;
  }
}

footer > a[href="#top"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, background-color .2s ease;
}

footer > a[href="#top"]:hover {
  background: #d8f75a;
  color: var(--ink);
  transform: translateY(-2px);
}

footer {
  flex-wrap: wrap;
}

.footer-credit {
  display: flex;
  flex: 0 0 100%;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.footer-credit p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  line-height: 1.5;
}

.footer-credit a {
  display: inline-flex;
  align-items: center;
  opacity: .78;
  transition: opacity .2s ease;
}

.footer-credit a:hover {
  opacity: 1;
}

.footer-credit img {
  display: block;
  width: 117px;
  height: auto;
  filter: invert(1);
}

@media (max-width: 650px) {
  .footer-credit {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ribbon {
    overflow-x: auto;
  }

  .ribbon-track {
    animation: none;
  }

  .ribbon-track:last-child {
    display: none;
  }

  .confetti-layer {
    display: none;
  }

  .sticker {
    animation: none;
  }

  .hero-slide {
    transition: none;
  }
}
