:root {
  --color-bg: #f1ebeb;
  --color-surface: #ffffff;
  --color-text: #4e4e4e;
  --color-heading: #424a6d;
  --color-border: rgba(66, 74, 109, 0.12);
  --color-shadow: rgba(0, 0, 0, 0.08);

  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --max-shell: 1120px;
  --max-inner: 1000px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Work Sans', sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-weight: 300;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-heading);
  text-decoration: none;
}

.container {
  width: min(var(--max-inner), calc(100% - 2rem));
  margin: 0 auto;
}

/* PAGE SHELL */

.page-shell {
  width: min(var(--max-shell), calc(100% - 2.5rem));
  margin: 0.35rem auto 0.6rem;
  position: relative;
}

/* HEADER */

.site-header {
  background: transparent;
  padding-top: 0.8rem;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-height: auto;
  padding-top: 0;
  position: relative;
}

/* LOGO */

.brand-logo {
  display: block;
  width: min(240px, 72vw);
  margin: 0 auto 2rem;
}

.brand-logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* LANGUAGE SWITCH */

.lang-switch {
  position: absolute;
  left: 0.6rem;
  display: flex;
  align-items: center;
  white-space: nowrap;

  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lang-switch a {
  color: rgba(66, 74, 109, 0.6);
  text-decoration: none;
}

.lang-switch a.active {
  color: var(--color-heading);
  font-weight: 500;
}

.lang-switch a:hover {
  color: #6a7be8;
}

.lang-switch span {
  margin: 0 0.3rem;
  opacity: 0.6;
}

.lang-switch a.active {
  pointer-events: none;
  cursor: default;
}

/* MENU TOGGLE */

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--color-heading);
  cursor: pointer;
  padding: 0.2rem;
}

.menu-toggle:hover {
  color: #6a7be8;
}

/* NAVIGATION */

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav-item,
.nav-item-dropdown {
  position: relative;
}

/* LINKS */

.nav-link,
.site-nav > a,
.nav-item-dropdown > .nav-link {
  display: inline-block;
  position: relative;

  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: rgba(66, 74, 109, 0.75);
  text-decoration: none;
  border-bottom: none;

  padding: 0.1rem 0;
}

/* UNDERLINE: hidden by default */

.nav-link::after,
.site-nav > a::after,
.nav-item-dropdown > .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;

  width: 100%;
  height: 1px;

  background: #929cd8;

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

/* HOVER */

.nav-link:hover::after,
.site-nav > a:hover::after,
.nav-item-dropdown > .nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link:hover,
.site-nav > a:hover,
.nav-item-dropdown > .nav-link:hover,
.submenu a:hover {
  color: #6a7be8;
}

/* MAIN */

.site-main {
  padding: 0;
}

/* MAIN BOX */

.main-box {
  margin-top: 0;
}

.main-inner {
  width: min(var(--max-inner), 100%);
  margin: 0 auto;

  background: #fefcfc; /* slightly lighter than page */

  border-radius: 10px; /* almost square */

  padding: 0.8rem 1.6rem 2rem 1.8rem;
  position: relative;
  z-index: 2;
}

/* TOP LAYOUT */

.main-top {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2rem;
  align-items: start;
}

/* CAROUSEL */

.main-carousel {
  position: relative;
  width: 360px;
  height: 480px;
  overflow: hidden;
  margin-left: -0.2rem;
  margin-top: 1.1rem;
  border-radius: 6px;
}

.main-carousel .carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.main-carousel .carousel-track img {
  width: 100%;
  min-width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-button {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);

  padding: 0.4rem 1.2rem; /* ↑ more breathing room */

  border-radius: 6px;

  font-size: 0.9rem; /* ↑ bigger but still refined */
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;

  color: #ffffff;

  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);

  backdrop-filter: blur(2px);

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);

  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.carousel-button:hover {
  transform: translateX(-50%) translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

/* RIGHT INFO AREA */

.main-info {
  position: relative;
  min-height: 480px;
}

.main-info p {
  margin: 0 0 0.95rem 0;
  line-height: 1.45;
}

.main-info h1 {
  margin: 0.8rem 0 1rem 0;
  font-size: 1.22rem;
  line-height: 1.3;
  font-weight: 300;
  color: #424a6d;
  letter-spacing: 0.01em;
  max-width: calc(100% - 11.5rem);
}

/* LIST */

.extras-box {
  width: 100%;
  max-width: 560px;
  min-height: 210px;
  margin-top: 1.5rem;
  padding: 0.45rem 0.5rem;
  background: #f5efe2;
  color: #4a4a4a;
  border-radius: 8px;
  box-shadow:
  0 16px 34px rgba(80, 60, 60, 0.18),
  0 4px 10px rgba(80, 60, 60, 0.10);
}

.extras-content {
  display: grid;
  grid-template-columns: 1fr 145px;
  column-gap: 0.8rem;
  align-items: center;
  min-height: 194px;
}

.extras-text {
  min-width: 0;
  text-align: center;
}

.extras-title-image {
  display: block;
  width: 125px;
  height: auto;
  margin: 0.3rem auto 0.8rem auto;
}

.extras-image-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}

.extras-image {
  width: 145px;
  height: 194px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.extras-list {
  list-style: none;
  text-align: left;
  padding-left: 0;
  margin: 0;
}

.extras-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
}

.extras-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;

  width: 9px;
  height: 9px;
  background: #ffffff;
  border-radius: 60% 40% 50% 50%;
}

/* NOTE */

.top-note {
  position: absolute;
  right: 0rem;
  top: 100%;
  width: 240px;
  transform: translateY(-56%);
  z-index: 50;
}

.top-note .note-card {
  display: block;
  transform: rotate(6deg);
}

.top-note img {
  width: 100%;
  height: auto;
}

.note-card {
  display: block;
  transform: rotate(4deg);
  transform-origin: center center;
  transition: transform 0.22s ease;
  cursor: pointer;
}

.note-card:hover {
  transform: rotate(2deg) translateY(-3px) scale(1.02);
}

.note-card img {
  width: 100%;
  height: auto;
  display: block;
}

.mobile-note {
  display: none;
}

/* ABOUT SECTION */

.about-home {
  margin-top: 2rem;
  padding: 1.2rem 1rem 1rem 1.4rem;
  background: #faf4f4;
  border-radius: 8px;
}

.about-home-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.8rem;
  align-items: center;
}

.about-photo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.about-polaroid {
  width: 100%;
  max-width: 300px;
  height: auto;

  transform: rotate(-3deg);
  transform-origin: center center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-polaroid:hover {
  transform: rotate(-1deg) translateY(-4px) scale(1.02);
}

.polaroid-link {
  display: inline-block;
}

.about-text {
  max-width: 34rem;
}

.about-text h2 {
  margin: 0 0 1rem 0;
  font-size: 1.22rem;
  line-height: 1.27;
  font-weight: 300;
  color: #424a6d;
  letter-spacing: 0.01em;
}

.about-section-title {
  display: none;
}

.about-text p {
  margin: 0 0 1rem 0;
  line-height: 1.45;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* REFERENCES */

.references {
  margin-top: 1.5rem;
  padding: 0 0.8rem 0.5rem;
}

.references-title {
  font-size: 1.22rem;
  line-height: 1.27;
  font-weight: 300;
  color: #424a6d;
  letter-spacing: 0.01em;
  margin-bottom: 0.7rem;
  text-align: center;
}

.references-wrap {
  position: relative;
  width: 100%;
  margin: 0 auto;
  max-height: 8rem;
  overflow: hidden;
}

.references-list {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #4a4a4a;
  text-align: left;
}

.references-fade {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: absolute;
  inset: auto 0 0 0;
  height: 5.6rem;
  padding-bottom: 0;
 background: linear-gradient(
    to bottom,
    rgba(254, 252, 252, 0) 0%,
    rgba(254, 252, 252, 0.18) 4%,
    rgba(254, 252, 252, 0.30) 20%,
    rgba(254, 252, 252, 0.48) 40%,
    rgba(254, 252, 252, 0.70) 62%,
    rgba(254, 252, 252, 0.88) 82%,
    rgba(254, 252, 252, 1) 100%
  );
  pointer-events: none;
}

.references-expanded[hidden] {
  display: none;
}

.references-expanded {
  width: 100%;
  margin: 0 auto;
}

.references-actions {
  display: flex;
  justify-content: center;
  margin-top: 0.9rem;
}

.references-toggle {
  border: none;
  border-radius: 8px;
  background: #f3e8e8;
  color: #424a6d;
  padding: 0.42rem 0.78rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    0 6px 14px rgba(80, 60, 60, 0.08),
    0 2px 6px rgba(80, 60, 60, 0.04);
  pointer-events: auto;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.references-toggle:hover {
  transform: translateY(-1px);
  background: #e4d6d6; /* slightly deeper blush */
  box-shadow:
    0 8px 18px rgba(80, 60, 60, 0.1),
    0 3px 8px rgba(80, 60, 60, 0.05);
}

/* FOOTER */

.site-footer {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.footer-inner {
  width: min(var(--max-inner), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-left {
  color: rgba(66, 74, 109, 0.78);
  flex: 0 1 auto;
  min-width: 0;
}

.footer-right {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-left: auto;
}

.footer-right a {
  color: rgba(66, 74, 109, 0.78);
  text-transform: uppercase;
}

.footer-right a:hover {
  color: #6a7be8;
}

.footer-right a:not(:last-child)::after {
  content: "·";
  margin-left: 1rem;
  color: rgba(66, 74, 109, 0.4);
}

/* LEGAL PAGES */

.legal-page {
  max-width: 680px;
  margin: 2.5rem auto 0;
  padding: 2rem;
  background: #fefcfc;
  border-radius: 10px;
}

.legal-page h1 {
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--color-heading);
  margin-bottom: 1.5rem;
}

.legal-page h2 {
  font-size: 1rem;
  font-weight: 400;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--color-heading);
}

.legal-page p {
  margin-bottom: 1rem;
  line-height: 1.5;
}

.legal-page ul {
  margin: 0.5rem 0 1rem 1.2rem;
}

/* RESPONSIVE */

@media (max-width: 1220px) {
  .decor {
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 1030px) {
 
  .extras-list {
    font-size: 0.92rem;
  }

  .extras-list li {
    margin-bottom: 0.45rem;
  }

}

@media (max-width: 1020px) {
  
  .top-note {
    width: 228px;
  }

  .main-inner {
    padding: 1rem 1.4rem 1.8rem;
  }

  .main-top {
    grid-template-columns: 300px 1fr;
    gap: 1.4rem;
  }

  .main-info {
    min-height: 400px;
  }

  .main-info h1 {
    font-size: 1.12rem;
    line-height: 1.3;
    max-width: calc(100% - 10.75rem);
    margin: 0.6rem 0 0.9rem 0;
    text-align: left;
  }

  .title-line-1,
    .title-line-2 {
    display: block;
  }
  
  .main-info p {
    margin: 0 0 0.8rem 0;
    line-height: 1.42;
  }

  .main-carousel {
    width: 300px;
    height: 430px;
    margin-top: 0.7rem;
  }

  .extras-box {
    max-width: 100%;
    margin-top: 1.2rem;
    min-height: auto;
    padding: 0.45rem 0.45rem;
  }

  .extras-content {
    grid-template-columns: 1fr 128px;
    column-gap: 0.7rem;
    min-height: 180px;
  }

  .extras-title-image {
    width: 118px;
    margin: 0.2rem auto 0.7rem auto;
  }

  .extras-image {
    width: 128px;
    height: 172px;
  }

  .extras-list li {
    margin-bottom: 0.42rem;
    padding-left: 1.05rem;
  }

}

@media (max-width: 900px) {
  
  .extras-box {
    margin-top: 1.15rem;
    padding: 0.4rem 0.4rem;
  }

  .extras-content {
    grid-template-columns: 1fr 118px;
    column-gap: 0.55rem;
    min-height: 176px;
  }

  .extras-title-image {
    width: 116px;
    margin: 0.2rem auto 0.65rem auto;
  }

  .extras-image {
    width: 118px;
    height: 176px;
    object-fit: cover;
    object-position: left center;
  }

  .extras-list li {
    padding-left: 1.05rem;
    margin-bottom: 0.42rem;
  }

}

@media (max-width: 980px) {

  .page-shell {
    width: min(var(--max-shell), calc(100% - 2rem));
    margin: 0.2rem auto 1.2rem;
    padding: 0;
  }

  .header-inner {
    display: grid;
    grid-template-columns: 105px auto auto 105px;
    justify-content: center;
    align-items: center;
    column-gap: 2rem;
    row-gap: 0.4rem;
    position: relative;
  }

  .brand-logo {
    grid-column: 2;
    grid-row: 1;
    width: min(230px, 40vw);
    margin: 0;
    justify-self: end;
  }

  .top-note {
    grid-column: 3;
    grid-row: 1;
    position: static;
    width: 228px;
    margin: 0;
    transform: none;
    justify-self: start;
    z-index: auto;
  }

  .top-note .note-card {
    display: block;
    transform: rotate(4deg);
  }

  .lang-switch {
    position: absolute;
    left: 0.6rem;
    bottom: 0.05rem;

    display: flex;
    align-items: center;
    white-space: nowrap;

    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .site-nav {
    grid-column: 2 / 4;
    grid-row: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.15rem;
    flex-wrap: wrap;
    margin: 0;
    width: auto;
    padding: 0;
    box-sizing: border-box;
  }

  .main-inner {
    padding: 1.4rem 1.7rem 2rem;
  }

  .main-top {
    grid-template-columns: 320px 1fr;
    gap: 1.8rem;
  }

  .main-carousel {
    width: 320px;
    height: 430px;
    margin-top: 0.5rem;
  }

  .main-info {
    min-height: 430px;
    padding-right: 0;
  }

  .main-info h1 {
    font-size: 1.12rem;
    line-height: 1.3;
    max-width: 100%;
    width: fit-content;
    margin: 0.6rem auto 0.9rem;
    text-align: center;
  }

  .title-line-1,
  .title-line-2 {
    display: block;
  }

}

@media (max-width: 931px) {
  .extras-box {
    padding: 0.42rem 0.5rem;
  }

  .extras-content {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .extras-image-wrap {
    display: none;
  }

 .extras-text {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

  .extras-title-image {
    width: 125px;
    margin: 0.2rem auto 0.65rem auto;
  }

  .extras-list {
    max-width: 26rem;
    margin: 0 auto;
  }

  .extras-list li {
    padding-left: 1.05rem;
    margin-bottom: 0.32rem;
    line-height: 1.35;
  }
}

@media (max-width: 850px) {
  
  .extras-text {
    margin-left: 0;
    margin-right: 0;
    width: auto;
  }

  .extras-list {
    max-width: 30rem;
    margin: 0 auto;
  }

}

@media (max-width: 820px) {
  
  .brand-logo {
    width: min(250px, 60vw);
    margin: 0 auto 2rem;
  }

  .main-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

 .main-carousel {
   width: min(100%, 360px);
   aspect-ratio: 4 / 5;
   height: auto;
   margin: 0 auto;
  }

  .main-info {
    min-height: auto;
    padding-right: 0;
  }

 .main-info h1 {
    width: auto;
    max-width: 100%;
    margin: 0.6rem auto 0.9rem;
    text-align: center;
  }

  .title-line-1,
  .title-line-2 {
    display: inline;
  }

  .extras-list {
    max-width: 34rem;
    margin: 0 auto;
  }

  .extras-box {
  margin-top: 1.7rem;
  }

  .extras-content {
    grid-template-columns: 1fr 145px;
   column-gap: 0.8rem;
   align-items: center;
   min-height: 194px;
  }

  .extras-image-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
  }

  .extras-image {
    width: 145px;
    height: 194px;
   object-fit: cover;
  }

  .extras-text {
    width: auto;
    margin: 0;
    text-align: center;
  }

  .extras-list {
    max-width: 34rem;
    margin: 0 auto;
    font-size: 1rem;
  }

  .about-home {
  padding: 1rem 0.8rem 0.6rem 1rem;
  }

  .about-home-inner {
    display: grid;
    grid-template-columns: 260px 1fr;
   gap: 0.35rem 1rem;
    align-items: stretch;
  }

  .about-left {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .about-section-title {
   display: block;
   margin: 0.3rem 0 0.15rem 0;
   font-size: 1.22rem;
   line-height: 1.27;
   font-weight: 300;
   -webkit-font-smoothing: antialiased;
   color: #424a6d;
   letter-spacing: 0.01em;
  }

  .about-text-title {
   display: none;
  }

  .about-photo {
    margin-top: 0.1rem;
    display: flex;
    justify-content: center;
   align-items: flex-start;
  } 

  .about-text {
   grid-column: 2;
    max-width: 34rem;
    align-self: center;
   margin-top: 0;
  }

  .references {
    margin-top: 1.4rem;
    padding: 0 0.4rem 0.6rem;
  }

  .references-title {
    margin-bottom: 0.6rem;
  }

  .references-list {
    font-size: 0.97rem;
    line-height: 1.58;
  }

  .references-wrap {
    max-height: 8rem;
  }

  .references-fade {
    height: 4.8rem;
  }
 
}

@media (max-width: 700px) {

  .header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-height: auto;
    padding-top: 0;
    position: relative;
  }

  .brand-logo {
    width: min(240px, 72vw);
    margin: 0 auto 2rem;
    justify-self: auto;
    align-self: auto;
  }

  .menu-toggle {
    display: block;
    margin: 0 auto;
    align-self: center;
    z-index: 60;
  }

 .lang-switch {
    position: static;
    order: 99;
    margin-top: 0;
    margin-bottom: 0.5rem;
    padding-bottom: 0.2rem;
    justify-content: center;
    align-self: center;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    margin-top: 0;
  }

  .site-nav.open {
    display: flex;
  }

  .top-note {
    display: none;
  }

  .mobile-note {
    display: block;
    width: min(250px, 78vw);
    margin: 0.8rem auto 1rem;
    text-align: center;
  }

  .mobile-note .note-card {
    transform: rotate(2deg);
  }

  .mobile-note .note-card:hover {
    transform: rotate(2deg) translateY(-2px) scale(1.01);
  }

  .main-inner {
    padding: 1.3rem 1.3rem 1rem 1.3rem;
  }

 .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    text-align: center;
  }

  .footer-left {
    white-space: normal;
  }

  .footer-right {
    margin-left: 0;
    width: auto;
    align-self: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

}

@media (max-width: 640px) {
  
  .about-home {
    padding: 1rem 0.9rem 1rem;
  }

  .about-home-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
  }

  .about-left {
    grid-column: 1;
    justify-content: start;
  }

  .about-section-title {
    margin: 0 0 0.2rem 0;
    text-align: center;
  }

  .about-photo {
    margin-top: 0;
  }

  .about-polaroid {
    max-width: 280px;
  }

  .about-text {
    grid-column: 1;
    max-width: 100%;
    align-self: start;
    text-align: left;
  }
}

@media (max-width: 620px) {
  
  .main-info h1 {
    font-size: 1.04rem;
    line-height: 1.32;
  }

  .main-info p {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .main-carousel {
    width: min(100%, 330px);
  }
}

@media (max-width: 529px) {
  
  .extras-title-image {
    margin: 0.2rem auto 0.65rem auto;
  }

  .extras-text {
    text-align: center;
  }

  .extras-list {
    margin: 0 auto;
    text-align: left;
  }
}

@media (max-width: 520px) {
  
  .page-shell {
    width: calc(100% - 1.2rem);
    border-radius: 22px;
    padding: 0.85rem 0 0;
  }

  .container {
    width: calc(100% - 1.2rem);
  }

  .brand-logo {
    width: min(190px, 70vw);
  }

  .main-inner {
    padding: 1rem;
    border-radius: 18px;
  }

 .main-carousel {
    width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
    border-radius: 16px;
  }

  .main-info h2 {
    font-size: 1.18rem;
  }

  .extras-list {
    padding-left: 1rem;
  }

  .site-footer {
    font-size: 0.88rem;
  }

  .about-home {
    padding: 1rem 0.8rem 0.3rem 1rem;
  }

  .about-home-inner {
    gap: 0.6rem;
  }

   .about-text p {
    margin-bottom: 0.7rem;
  }

  .references-list {
    column-count: 1;
  }

  .legal-page {
    margin-top: 1.5rem;
    padding: 1.25rem 1rem;
  }

  .legal-page h1 {
    font-size: 1.22rem;
  }

  .legal-page p,
  .legal-page li {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .references {
    margin-top: 1.2rem;
    padding: 0 0.2rem 0.3rem;
  }

  .references-title {
    font-size: 1.12rem;
    margin-bottom: 0.55rem;
  }

  .references-list {
    font-size: 0.94rem;
    line-height: 1.56;
  }

  .references-wrap {
    max-height: 7.6rem;
  }

  .references-fade {
    height: 4.5rem;
  }

  .references-toggle {
    font-size: 0.96rem;
    padding: 0.38rem 0.68rem;
  }

  .references-actions {
    margin-top: 0.75rem;
  }

}

@media (max-width: 450px) {  
  
  .footer-name {
    display: block;
  }

  .footer-right {
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-right a:not(:last-child)::after {
    margin-left: 0.5rem;
  }

}

@media (max-width: 440px) {
  .extras-image-wrap {
    display: none;
  }

  .extras-content {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .extras-text {
    width: auto;
    margin: 0;
    text-align: center;
  }

  .extras-list {
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
    font-size: 0.9rem;
  }

  .extras-list li {
    line-height: 1.35;
    margin-bottom: 0.35rem;
  }

  .extras-title-image {
    margin: 0.2rem auto 0.6rem auto;
  }
}

@media (max-width: 420px) {
  
  .site-footer {
    font-size: 0.75rem;
  }

  .footer-right {
    gap: 0.35rem;
  }

  .footer-right a {
    letter-spacing: 0.06em;
  }

  .footer-right a:not(:last-child)::after {
    margin-left: 0.35rem;
  }

}

@media (max-width: 360px) {
  
  .footer-right {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 0.4rem 0.8rem;
  }

  .footer-right a {
    white-space: nowrap;
  }

  /* OVERRIDE the original dot rule */
  .footer-right a:not(:last-child)::after {
    content: none;
  }

   .references-list {
    font-size: 0.92rem;
    line-height: 1.54;
  }

  .references-wrap {
    max-height: 7.2rem;
  }

  .references-fade {
    height: 4.2rem;
  }

}

@media (max-width: 320px) {
  
  .footer-right {
    gap: 0.4rem;
  }

}

.decor {
  position: absolute;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.decor-1 {
  top:-5rem;
  left: 8%;
  width: 70px;
  transform: rotate(-60deg);
}

.decor-2 {
  top: -6rem;
  left: 25%;
  width: 55px;
  transform: rotate(-8deg);
}

.decor-3 {
  top: -6rem;
  right: 28%;
  width: 65px;
  transform: rotate(-5deg);
}

.decor-4 {
  top: 34rem;
  right: -7%;
  width: 60px;
  transform: rotate(-35deg);
}

.decor-5 {
  top: 1rem;
  right: -7%;
  width: 60px;
  transform: rotate(110deg);
}

.decor-6 {
  top: 13rem;
  right: -8%;
  width: 70px;
  transform: rotate(-85deg);
}

.decor-7 {
  top:23rem;
  left: -8%;
  width: 62px;
  transform: rotate(-15deg);
}

.decor-8 {
  top: 25rem;
  right: -8%;
  width: 52px;
  transform: rotate(-140deg);
}

.decor-9 {
  top: 2.5rem;
  left: -8%;
  width: 55px;
  transform: rotate(200deg);
}

.decor-10 {
  top:13rem;
  left: -9%;
  width: 45px;
  transform: rotate(110deg);
}

.decor-11 {
  top:34rem;
  left: -10%;
  width: 70px;
  transform: rotate(80deg);
}