/* Swiss Dew: shared components, state, artwork and responsive exceptions.
   Layout utilities live in the HTML. Preserve this layer order. */
@import url("https://api.fontshare.com/v2/css?f[]=pally@400,500,700&display=swap");

/* Tailwind utilities override component styles. */
@layer theme, base, components, utilities;
@layer components {
  /* Base */
  html,
  body {
    overflow-x: clip;
    font-family: "Pally", sans-serif;
  }
  [hidden] {
    display: none !important;
  }
  :focus-visible {
    outline: 3px solid #745024;
    outline-offset: 5px;
  }

  /* Shared (buttons, headings used by many sections) */
  .pill {
    background: #d1b18a;
    border: 2px solid #141413;
    border-radius: 999px;
    box-shadow: 2px 3px 0 #141413;
    transition:
      transform 0.2s,
      box-shadow 0.2s;
  }
  .pill:hover {
    transform: translateY(-2px);
    box-shadow: 2px 5px 0 #141413;
  }
  .pill:active {
    transform: translateY(2px);
    box-shadow: none;
  }
  .pill-outline:hover {
    background: #fff;
    color: #141413;
  }
  .hero-button,
  .story-button,
  .contact-button,
  .range-button,
  .partnership-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 32px;
    margin-top: 32px;
    font-size: 16px;
    font-weight: 600;
    color: white;
  }
  .eyebrow {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 28px;
  }
  .section-heading .eyebrow {
    margin-bottom: 0;
  }
  .section-title {
    font-size: 40px;
    line-height: 1.2;
  }
  @media (max-width: 767px) {
    .section-title {
      font-size: 32px;
    }
  }

  /* Preloader (same on every screen) */
  @keyframes preload {
    0%,
    65% {
      opacity: 1;
      visibility: visible;
    }
    100% {
      opacity: 0;
      visibility: hidden;
    }
  }

  /* Header */
  .header-inner {
    max-width: 1236px;
    align-items: flex-start;
  }
  .header-logo {
    display: block;
    background: #ffffff;
    width: 100px;
    border-radius: 0 0 16px 16px;
  }
  .main-nav {
    display: flex;
    gap: 40px;
    font-size: 14px;
  }
  .nav-link:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
  }
  .partner-link {
    margin-top: 32px;
    font-size: 12px;
  }
  .mobile-nav {
    display: none;
  }
  @media (max-width: 767px) {
    .header-inner {
      padding: 0 24px;
    }
    .header-logo {
      width: 80px;
    }
    .main-nav,
    .partner-link {
      display: none;
    }
    .mobile-nav {
      display: block;
      margin-top: 20px;
    }
    .mobile-nav summary {
      cursor: pointer;
      padding: 8px 16px;
      border: 1px solid white;
      border-radius: 8px;
    }
    .mobile-nav[open] summary {
      margin-bottom: 12px;
    }
    .mobile-nav nav {
      position: absolute;
      top: 80px;
      right: 24px;
      left: 24px;
      padding: 20px;
      border-radius: 16px;
      background: white;
      color: #141413;
      box-shadow: 0 8px 24px #0002;
    }
    .mobile-nav a {
      display: block;
      padding: 8px 0;
    }
  }

  /* Hero */
  .hero-flavour {
    border: 2px solid transparent;
    opacity: 0.6;
    filter: saturate(0.5);
  }
  .hero-flavour:hover,
  .hero-flavour[aria-checked="true"] {
    opacity: 1;
    filter: saturate(1);
  }
  .hero-flavour[aria-checked="true"] {
    transform: scale(1.05);
    border-color: white;
  }

  /* Home — shared styling and cone artwork */
  .home-page {
    margin: 0;
    color: #141413;
  }
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    box-sizing: border-box;
  }
  .home-page img {
    max-width: 100%;
  }
  .home-page
    :is(
      .story-copy,
      .story-gallery,
      .card-copy,
      .partnership-copy,
      .footer-col
    ) {
    min-width: 0;
  }
  .home-page .header-inner {
    max-width: 1280px;
    padding-inline: 32px;
  }
  .home-page .main-nav {
    gap: clamp(18px, 2.6vw, 36px);
    font-size: 16px;
  }
  .home-page .header-logo {
    width: clamp(66px, 7vw, 100px);
  }
  .home-page .partner-link {
    font-size: 11px;
  }
  .home-page
    :is(
      .hero-button,
      .story-button,
      .range-button,
      .partnership-button,
      .contact-button
    ) {
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    height: auto;
    padding: 11px clamp(16px, 2vw, 28px);
    margin-top: 24px;
    font-size: clamp(11px, 1vw, 14px);
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    flex-shrink: 0;
  }
  .home-page .eyebrow {
    font-size: clamp(11px, 1.1vw, 15px);
    line-height: 1.5;
    margin-bottom: 10px;
  }
  .home-page :is(.section-title, .story-copy h2) {
    font-size: clamp(26px, 2.8vw, 40px);
    font-weight: 700;
    line-height: 1.18;
  }
  .home-page :is(.story-text, .range-intro, .partnership-intro) {
    font-size: clamp(13px, 1.2vw, 16px);
    line-height: 1.6;
  }
  .home-page .flavours-section {
    padding: 88px 32px;
  }
  .home-page .flavours-head,
  .home-page .flavours-track {
    max-width: 1176px;
  }
  .home-page .flavours-track {
    gap: 24px;
    margin-top: 36px;
  }
  .home-page .flavour-card {
    width: calc((100% - 72px) / 4);
  }
  .home-page .flavour-card img {
    height: auto;
  }
  .home-page .flavour-card h3 {
    font-size: 18px;
    margin-top: 14px;
  }
  .home-page .flavour-card p {
    font-size: 12px;
  }
  .home-page .partnership-section {
    padding: 90px 32px;
  }
  .home-page .partnership-inner {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
  }
  .home-page .partnership-media {
    order: 0;
  }
  .home-page .partnership-list {
    margin-top: 20px;
    gap: 10px;
  }
  .home-page .partnership-list li {
    font-size: 14px;
  }
  .home-page .contact-section {
    min-height: 340px;
    padding: 64px 24px;
  }
  .home-page .contact-copy h2 {
    font-size: clamp(24px, 2.6vw, 36px);
  }
  .home-page .contact-copy p {
    font-size: 14px;
  }
  .home-page .footer-top {
    padding: 64px 32px 44px;
    gap: 32px;
  }
  .home-page .footer-col :is(a, p),
  .home-page .footer-brand p {
    font-size: 13px;
    overflow-wrap: anywhere;
  }
  .home-page .footer-bottom {
    font-size: 11px;
  }
  .home-page .footer-legal {
    gap: 16px;
  }
  @media (min-width: 768px) and (max-width: 1199px) {
    .home-page .header-inner {
      padding-inline: 24px;
    }
    .home-page .main-nav {
      display: none;
    }
    .home-page .partner-link {
      margin-left: auto;
      margin-top: 24px;
    }
    .home-page .mobile-nav {
      display: block;
      margin-top: 24px;
    }
    .home-page .mobile-nav summary {
      cursor: pointer;
      border: 1px solid white;
      border-radius: 8px;
      padding: 6px 12px;
    }
    .home-page .mobile-nav nav {
      position: absolute;
      top: 88px;
      left: 24px;
      right: 24px;
      padding: 20px;
      border-radius: 16px;
      background: white;
      color: #141413;
      box-shadow: 0 8px 24px #0002;
    }
    .home-page .mobile-nav nav a {
      display: block;
      padding: 8px;
    }
    .home-page .flavours-section,
    .home-page .partnership-section {
      padding: 64px 24px;
    }
    .home-page .flavour-card {
      width: calc((100% - 48px) / 3);
    }
    .home-page .partnership-inner {
      gap: 30px;
    }
  }
  @media (max-width: 767px) {
    .home-page .header-inner {
      padding-inline: 20px;
    }
    .home-page .header-logo {
      width: 66px;
    }
    .home-page .mobile-nav {
      margin-top: 18px;
    }
    .home-page
      :is(
        .hero-button,
        .story-button,
        .range-button,
        .partnership-button,
        .contact-button
      ) {
      min-height: 42px;
      font-size: 11px;
      padding: 10px 18px;
      margin-top: 20px;
    }
    .home-page .section-title {
      font-size: clamp(24px, 6vw, 30px);
    }
    .home-page .flavours-section {
      padding: 48px 20px;
    }
    .home-page .flavours-head {
      align-items: center;
      gap: 20px;
    }
    .home-page .flavours-track {
      gap: 18px;
      margin-top: 28px;
    }
    .home-page .flavour-card {
      width: min(72vw, 250px);
    }
    .home-page .partnership-section {
      padding: 48px 24px;
    }
    .home-page .partnership-inner {
      grid-template-columns: 1fr;
      gap: 32px;
    }
    .home-page .partnership-media {
      order: 0;
    }
    .home-page .contact-section {
      min-height: 280px;
      padding: 44px 24px;
    }
    .home-page .contact-copy p {
      font-size: 13px;
      line-height: 1.6;
    }
    .home-page .footer-top {
      padding: 48px 24px 36px;
      gap: 30px;
    }
    .home-page .footer-bottom {
      padding-inline: 24px;
    }
  }
  .home-page .quality-section {
    padding: 80px 24px 0;
    background: #f9ead3 url("../images/doodle-pattern.svg") center / cover
      no-repeat;
  }
  .home-page .quality-grid {
    display: grid;
    margin: 48px auto 0;
  }
  .home-page .quality-grid {
    display: grid;
    margin: 48px auto 0;
  }

  .home-page .quality-cone {
    width: 100%;
    min-width: 0;
  }

  /* Bring the cone artwork closer on desktop and tablet */
  @media (min-width: 768px) {
    .home-page #home-quality-track {
      width: min(100%, 960px);
      max-width: 960px;
      grid-template-columns: 1fr 0.77fr 1fr 1fr;
      gap: 0;
      padding: 0;
    }

    .home-page #home-quality-track > .quality-cone {
      width: calc(100% + 30px);
      margin-left: -15px;
    }
  }
  .home-page .cone-copy {
    top: 18cqw;
    left: 25cqw;
  }
  .home-page .quality-cone-1 .cone-copy {
    top: 21cqw;
    left: 27cqw;
  }
  .home-page .quality-cone-3 .cone-copy {
    top: 17cqw;
    left: 22cqw;
  }
  .home-page .quality-cone-4 .cone-copy {
    top: 20cqw;
    left: 29cqw;
  }
  @media (min-width: 768px) and (max-width: 1199px) {
    .home-page .quality-section {
      padding-top: 56px;
    }
    .home-page .quality-grid {
      margin-top: 32px;
    }
  }
  @media (max-width: 767px) {
    .home-page .quality-section {
      padding: 44px 20px 0;
    }
    .home-quality-controls button {
      cursor: pointer;
    }
    .home-quality-controls button:disabled {
      opacity: 0.35;
      cursor: default;
    }
    .home-page .quality-grid {
      display: flex;
      margin: 20px auto 0;
    }
    .home-page .quality-grid::-webkit-scrollbar {
      display: none;
    }
    .home-page .quality-cone {
      flex: 0 0 100%;
      scroll-snap-align: center;
      scroll-snap-stop: always;
    }
  }

  /* Story (About) */
  .about-hero {
    position: relative;
    border-bottom: 8px solid #dfc9a9;
    background: #35382b;
  }
  .about-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, #0003, #0006);
  }
  .about-hero-content {
    padding: 0 24px 42px;
  }
  .about-breadcrumb a {
    text-decoration: none;
  }
  .about-breadcrumb a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .story {
    position: relative;
    width: 100%;
    min-height: 950px;
    margin: 0 auto;
    border-radius: 30px 30px 0 0;
    background: white;
  }
  .story-centered {
    min-height: 650px;
  }
  .story-copy {
    position: absolute;
    left: 9.236%;
    top: 264px;
    width: 455px;
  }
  .story-copy-right {
    right: 9.236%;
    left: auto;
  }
  .story-copy h2 {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
  }
  .story-text {
    font-size: 16px;
    line-height: 24px;
  }
  .story-gallery {
    position: absolute;
    right: 4.72%;
    top: 109px;
    width: 50.14%;
    max-width: 722px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .story-gallery img {
    aspect-ratio: 1;
    border-radius: 20px;
  }
  .story-gallery.story-gallery-single {
    width: 50%;
    max-width: none;
    display: block;
  }
  .story-gallery.story-gallery-left {
    right: auto;
    left: 4.72%;
  }
  .story-gallery.story-gallery-single img {
    aspect-ratio: auto;
    border-radius: 30px;
  }
  .story-centered .story-copy,
  .story-centered .story-gallery {
    top: 50%;
    translate: 0 -50%;
  }
  @media (min-width: 768px) and (max-width: 1199px) {
    .about-hero-content {
      padding-bottom: 32px;
    }
    .story {
      min-height: 780px;
    }
    .story-centered {
      min-height: 600px;
    }
    .story-copy {
      left: 6%;
      top: 180px;
      width: 40%;
    }
    .story-copy-right {
      right: 6%;
      left: auto;
    }
    .story-copy h2 {
      font-size: 32px;
    }
    .story-gallery {
      right: 4%;
      top: 180px;
      width: 47%;
    }
    .story-gallery.story-gallery-left {
      right: auto;
      left: 4%;
    }
  }
  @media (max-width: 767px) {
    .about-hero {
      border-bottom-width: 6px;
    }
    .about-hero-content {
      padding: 0 22px 30px;
    }
    .story {
      min-height: 0;
      padding: 64px 24px;
      display: flex;
      flex-direction: column;
      gap: 40px;
    }
    .story-copy {
      position: relative;
      inset: auto;
      width: 100%;
    }
    .story-copy h2 {
      font-size: clamp(30px, 7.8vw, 40px);
    }
    .story-gallery {
      position: relative;
      inset: auto;
      width: 100%;
      max-width: 560px;
      align-self: center;
    }
    .story-gallery.story-gallery-single {
      inset: auto;
      width: 100%;
      max-width: 560px;
    }
    .story-gallery.story-gallery-left {
      right: auto;
      left: auto;
    }
    .story-gallery.story-gallery-single img {
      aspect-ratio: 4 / 3;
      border-radius: 20px;
    }
    .story-centered .story-copy,
    .story-centered .story-gallery {
      top: auto;
      translate: none;
    }
  }

  /* Range (our products) */
  .range-section {
    background: #fdfaf1;
    padding: 119px 0 143px;
  }
  .range-intro {
    line-height: 24px;
  }
  .range-values-head {
    max-width: 1200px;
    width: calc(100% - 48px);
    margin: 0 auto;
    align-items: flex-end;
    gap: 24px;
  }
  .range-values-track {
    display: flex;
    gap: 24px;
    max-width: 1200px;
    width: calc(100% - 48px);
    margin: 40px auto 0;
  }
  .range-value-card {
    width: 271px;
  }
  .range-value-card img {
    display: block;
    width: 100%;
    height: auto;
  }
  .range-grid {
    max-width: 1200px;
    margin: 52px auto 0;
    display: grid;
    grid-template-columns: 635fr 551fr;
    grid-template-rows: 298px 309px;
    gap: 14px;
  }
  @media (min-width: 1200px) {
    .home-page .range-grid {
      width: 100%;
      max-width: 1140px !important;
      margin-inline: auto;
      gap: 18px;
      grid-template-rows: auto auto;
    }

    .home-page .range-grid > .range-card {
      width: 100%;
      min-width: 0;
      min-height: 220px;
      padding: 22px;
    }

    .home-page .family-product {
      width: 58%;
      max-height: 220px;
    }

    .home-page .small-card .range-product {
      max-height: 190px;
    }
  }
  .range-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #eed7b7;
  }
  .range-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/card-wave.png") center bottom / 100% 100%
      no-repeat;
    opacity: 0.62;
  }
  .family-card {
    grid-row: span 2;
  }
  .card-copy {
    position: relative;
    z-index: 10;
    padding: 42px;
  }
  .card-copy .eyebrow {
    font-size: 16px;
    line-height: 24px;
  }
  .card-title {
    margin-top: 16px;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    font-weight: 700;
  }
  .card-description {
    margin-top: 12px;
    font-size: 16px;
    line-height: 24px;
  }
  .range-button {
    margin-top: 24px;
    white-space: nowrap;
  }
  .small-card .range-button {
    margin-top: 28px;
  }
  .small-card:last-child .range-button {
    margin-top: 38px;
  }
  .range-product {
    position: absolute;
    z-index: 1;
    object-fit: contain;
  }
  .family-product {
    width: 335px;
    right: 20px;
    bottom: 16px;
  }
  .cups-product {
    width: 217px;
    right: 10px;
    bottom: 11px;
  }
  .bars-product {
    width: 232px;
    height: 263px;
    right: 16px;
    bottom: 12px;
  }
  @media (min-width: 768px) and (max-width: 1199px) {
    .range-section {
      padding: 90px 32px;
    }
    .range-grid {
      grid-template-columns: 1fr 1fr;
      grid-template-rows: 320px 320px;
    }
    .card-copy {
      padding: 28px;
    }
    .card-title {
      font-size: 25px;
    }
    .small-card .card-copy {
      max-width: 70%;
    }
    .small-card .card-title {
      max-width: 220px;
    }
    .small-card .card-description {
      max-width: 180px;
    }
    .small-card .range-button {
      padding: 10px 18px;
      font-size: 13px;
    }
    .small-card .range-product {
      width: 37%;
      height: auto;
      right: 6px;
    }
  }
  @media (max-width: 767px) {
    .range-section {
      padding: 64px 24px;
    }
    .range-values-head,
    .range-values-track {
      width: 100%;
    }
    .range-values-head {
      align-items: flex-start;
      gap: 20px;
    }
    .range-values-track {
      margin-top: 32px;
      gap: 20px;
    }
    .range-value-card {
      width: 220px;
    }
    .range-grid {
      margin-top: 32px;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .range-card {
      min-height: 520px;
    }
    .small-card {
      min-height: 535px;
    }
    .card-copy {
      padding: 28px;
    }
    .card-title {
      font-size: 26px;
    }
    .range-button,
    .small-card .range-button,
    .small-card:last-child .range-button {
      margin-top: 20px;
      padding: 10px 24px;
      font-size: 14px;
    }
    .family-product {
      width: 225px;
      right: 16px;
      bottom: 15px;
    }
    .cups-product {
      width: 185px;
      right: 20px;
      bottom: 12px;
    }
    .bars-product {
      width: 185px;
      height: 235px;
      right: 20px;
      bottom: 12px;
    }
  }

  /* Flavours (signature flavours scroller) */
  .flavours-section {
    padding: 110px 24px 130px;
  }
  .flavours-head {
    max-width: 1200px;
    align-items: flex-end;
    gap: 24px;
  }
  .flavour-arrow {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #141413;
    border-radius: 12px;
    background: transparent;
    color: #141413;
    cursor: pointer;
    transition:
      background-color 0.2s,
      transform 0.2s;
  }
  .flavour-arrow:hover {
    background: #f7e9cc;
    transform: translateY(-1px);
  }
  .flavours-track {
    display: flex;
    gap: 32px;
    max-width: 1200px;
    margin: 52px auto 0;
  }
  .flavours-track::-webkit-scrollbar {
    display: none;
  }
  .flavour-card {
    width: 271px;
  }
  .flavour-card img {
    height: 277px;
  }
  .flavour-card h3 {
    margin-top: 20px;
    font-size: 20px;
  }
  .flavour-card p {
    font-size: 14px;
  }
  @media (max-width: 767px) {
    .flavours-section {
      padding: 64px 20px 72px;
    }
    .flavours-head {
      align-items: flex-start;
      gap: 20px;
    }
    .flavours-track {
      margin-top: 32px;
      gap: 20px;
    }
    .flavour-card {
      width: 220px;
    }
    .flavour-card img {
      height: 225px;
    }
  }

  /* Partnership */
  .partnership-section {
    padding: 130px 24px;
  }
  .partnership-inner {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .partnership-intro {
    font-size: 16px;
    line-height: 24px;
  }
  .partnership-list {
    margin-top: 28px;
    gap: 16px;
  }
  .partnership-list li {
    font-size: 16px;
  }
  .partnership-photo {
    max-width: 520px;
  }
  @media (min-width: 768px) and (max-width: 1199px) {
    .partnership-inner {
      gap: 40px;
    }
  }
  @media (max-width: 767px) {
    .partnership-section {
      padding: 64px 20px;
    }
    .partnership-inner {
      grid-template-columns: 1fr;
      gap: 44px;
    }
    .partnership-media {
      order: -1;
    }
  }

  /* Product page (desktop 1024+, tablet 768–1023, phone <768) */
  #products {
    padding: 72px 24px;
    background: #fff;
  }
  #products *,
  #products *::before,
  #products *::after {
    box-sizing: border-box;
  }
  #products .product-categories {
    margin: 0 0 28px;
  }
  #products .product-sr-only,
  #products .product-category-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  #products .product-category {
    border: 1px solid #e5e1db;
    background: #fff;
    color: #35312d;
  }
  #products .product-category-label:hover .product-category {
    background: #f8f3eb;
  }
  #products .product-category-input:checked + .product-category {
    background: #c5a477;
    border-color: #c5a477;
    color: #fff;
  }
  #products .product-category-input:focus-visible + .product-category {
    outline: 3px solid #745024;
    outline-offset: 4px;
  }
  #products .product-image img[src="#"] {
    visibility: hidden;
  }
  #products .product-stars > i:last-child {
    color: #fff3ae;
  }
  #products .product-details {
    border: 2px solid #e6e6e6;
    background: #fff;
  }
  #products .product-details:hover {
    border-color: #d1b18a;
    background: #faf6e2;
  }
  @media (min-width: 768px) and (max-width: 1023px) {
    #products {
      padding: 56px 24px;
    }
  }
  @media (max-width: 767px) {
    #products {
      padding: 40px 20px;
    }
    #products .product-categories {
      margin-bottom: 24px;
    }
  }

  /* Product detail page (productdetail.html) */
  .productdetail-page *,
  .productdetail-page *::before,
  .productdetail-page *::after {
    box-sizing: border-box;
  }
  .productdetail-page .pd-sr-only,
  .productdetail-page .pd-gallery-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .productdetail-page .header-inner {
    padding-inline: 24px;
  }
  .productdetail-page .pd-hero {
    position: relative;
    background: #3a362b;
  }
  .productdetail-page .pd-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #0005;
  }
  .productdetail-page .pd-hero-copy {
    padding: 0 24px 40px;
  }
  .productdetail-page .pd-breadcrumb a {
    text-decoration: none;
  }
  .productdetail-page .pd-breadcrumb a:hover {
    text-decoration: underline;
  }
  .productdetail-page .pd-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
    max-width: 1176px;
    margin: 0 auto;
  }
  .productdetail-page .pd-stage {
    border: 5px solid #dfc9a9;
  }
  .productdetail-page .pd-photo {
    display: none;
  }
  .productdetail-page .pd-photo img[src="#"],
  .productdetail-page .pd-thumb img[src="#"] {
    visibility: hidden;
  }
  .productdetail-page .pd-placeholder {
    display: none;
  }
  .productdetail-page .pd-photo img[src="#"] + .pd-placeholder {
    display: flex;
  }
  .productdetail-page #pd-photo-1:checked ~ .pd-stage .pd-photo-1,
  .productdetail-page #pd-photo-2:checked ~ .pd-stage .pd-photo-2,
  .productdetail-page #pd-photo-3:checked ~ .pd-stage .pd-photo-3,
  .productdetail-page #pd-photo-4:checked ~ .pd-stage .pd-photo-4 {
    display: block;
  }
  .productdetail-page .pd-thumb {
    border: 2px solid transparent;
  }
  .productdetail-page .pd-thumb-number {
    display: none;
  }
  .productdetail-page .pd-thumb img[src="#"] + .pd-thumb-number {
    display: flex;
  }
  .productdetail-page #pd-photo-1:checked ~ .pd-thumbnails .pd-thumb-1,
  .productdetail-page #pd-photo-2:checked ~ .pd-thumbnails .pd-thumb-2,
  .productdetail-page #pd-photo-3:checked ~ .pd-thumbnails .pd-thumb-3,
  .productdetail-page #pd-photo-4:checked ~ .pd-thumbnails .pd-thumb-4 {
    border-color: #c5a477;
  }
  .productdetail-page #pd-photo-1:focus-visible ~ .pd-thumbnails .pd-thumb-1,
  .productdetail-page #pd-photo-2:focus-visible ~ .pd-thumbnails .pd-thumb-2,
  .productdetail-page #pd-photo-3:focus-visible ~ .pd-thumbnails .pd-thumb-3,
  .productdetail-page #pd-photo-4:focus-visible ~ .pd-thumbnails .pd-thumb-4 {
    outline: 3px solid #745024;
    outline-offset: 3px;
  }
  .productdetail-page .pd-eyebrow {
    margin: 0 0 14px;
  }
  .productdetail-page .pd-stars i:last-child {
    color: #fff2ad;
  }
  .productdetail-page .pd-tagline {
    margin: 20px 0 10px;
  }
  .productdetail-page .pd-facts > div {
    padding: 0 24px;
    border-left: 1px solid #e7e2dc;
  }
  .productdetail-page .pd-facts > div:first-child {
    padding-left: 0;
    border-left: 0;
  }
  .productdetail-page .pd-enquiry {
    background: #d6b28a;
  }
  .productdetail-page .pd-enquiry:hover {
    background: #c5a477;
  }
  .productdetail-page .pd-contact {
    background:
      linear-gradient(#0006, #0006),
      url("../images/doodle-overlay.png") center / cover,
      url("../images/contact-bg.jpg") center / cover;
  }
  .productdetail-page .pd-event-copy {
    display: none;
  }
  @media (min-width: 768px) and (max-width: 1199px) {
    .productdetail-page .main-nav {
      display: none;
    }
    .productdetail-page .header-inner {
      align-items: flex-start;
    }
    .productdetail-page .partner-link {
      margin-left: auto;
    }
    .productdetail-page .mobile-nav {
      display: block;
      margin-top: 28px;
    }
    .productdetail-page .pd-hero-copy {
      padding-bottom: 32px;
    }
    .productdetail-page .pd-layout {
      grid-template-columns: 1.1fr 1fr;
      gap: 36px;
    }
    .productdetail-page .pd-tagline {
      margin-top: 16px;
    }
    .productdetail-page .pd-facts > div {
      padding-inline: 16px;
    }
    .productdetail-page .pd-event-copy {
      display: inline;
    }
    .productdetail-page p.pd-event-copy {
      display: block;
    }
    .productdetail-page .footer-bottom {
      flex-direction: column;
      justify-content: center;
    }
  }
  @media (max-width: 1199px) {
    .productdetail-page .mobile-nav summary {
      display: flex;
      padding: 0;
      border: 0;
      cursor: pointer;
    }
    .productdetail-page .mobile-nav summary::-webkit-details-marker {
      display: none;
    }
    .productdetail-page .mobile-nav nav {
      position: absolute;
      top: 90px;
      left: 24px;
      right: 24px;
      padding: 20px;
      border-radius: 16px;
      background: #fff;
      color: #141413;
      box-shadow: 0 8px 24px #0002;
    }
    .productdetail-page .mobile-nav a {
      display: block;
      padding: 8px 0;
    }
  }
  @media (max-width: 767px) {
    .productdetail-page .header-inner {
      padding-inline: 20px;
    }
    .productdetail-page .pd-hero-copy {
      padding: 0 24px 26px;
    }
    .productdetail-page .pd-layout {
      grid-template-columns: minmax(0, 1fr);
      gap: 44px;
      max-width: 520px;
    }
    .productdetail-page .pd-stage {
      border-width: 4px;
    }
    .productdetail-page .pd-eyebrow {
      margin-bottom: 18px;
    }
    .productdetail-page .pd-tagline {
      margin-top: 20px;
    }
    .productdetail-page .pd-facts > div {
      padding-inline: 16px;
    }
  }

  /* Corporate service (service-corporate.html) */
  .corporate-page *,
  .corporate-page *::before,
  .corporate-page *::after {
    box-sizing: border-box;
  }
  .corporate-page .header-inner {
    padding-inline: 24px;
  }
  .corporate-page .corporate-container {
    width: 100%;
    max-width: 1176px;
    margin-inline: auto;
  }
  .corporate-page .corporate-hero {
    position: relative;
    border-bottom: 8px solid #dfc9a9;
    background: #35382b;
  }
  .corporate-page .corporate-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, #0003, #0006);
  }
  .corporate-page .corporate-hero-content {
    padding: 0 24px 42px;
  }
  .corporate-page .corporate-breadcrumb a {
    text-decoration: none;
  }
  .corporate-page .corporate-breadcrumb a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .corporate-page .corporate-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 76px;
  }
  .corporate-page .corporate-eyebrow {
    margin: 0 0 16px;
  }
  .corporate-page .corporate-heading {
    font-size: 38px;
  }
  .corporate-page .corporate-intro {
    margin: 22px 0 0;
  }
  .corporate-page .corporate-list-title {
    margin: 22px 0 14px;
  }
  .corporate-page .corporate-occasion-list i {
    flex: 0 0 auto;
    color: #46a880;
    font-size: 13px;
  }
  .corporate-page .corporate-photo {
    position: relative;
    min-width: 0;
  }
  .corporate-page .corporate-photo > img {
    border: 6px solid #dfc9a9;
  }
  .corporate-page .corporate-offer-list {
    margin: 30px 0 0;
  }
  .corporate-page .corporate-offer-item {
    padding: 18px 0;
  }
  .corporate-page .corporate-offer-item:first-child {
    padding-top: 0;
  }
  .corporate-page .corporate-process {
    position: relative;
    background: #fcfaec;
  }
  .corporate-page .corporate-process::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("../images/doodle-pattern.svg") center / cover no-repeat;
    opacity: 0.9;
    pointer-events: none;
  }
  .corporate-page .corporate-process-heading .corporate-eyebrow {
    margin-bottom: 14px;
  }
  .corporate-page .corporate-process-heading .corporate-heading {
    font-size: 36px;
  }
  .corporate-page .corporate-process-heading .corporate-intro {
    margin-top: 16px;
  }
  .corporate-page .corporate-process-arrow {
    top: 50%;
    left: calc(100% + 16px);
  }
  .corporate-page .corporate-process-frame img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .corporate-page .corporate-contact {
    position: relative;
    background:
      linear-gradient(#0008, #0008),
      url("../images/contact-bg.jpg") center / cover no-repeat;
  }
  .corporate-page .corporate-contact::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("../images/doodle-overlay.png") center / cover no-repeat;
    opacity: 0.5;
    pointer-events: none;
  }
  .corporate-page .corporate-enquiry-button {
    background: #d6b28a;
  }
  .corporate-page .corporate-enquiry-button:hover {
    background: #c39c72;
  }
  .corporate-page .corporate-tablet-copy {
    display: none;
  }
  @media (max-width: 1199px) {
    .corporate-page .main-nav {
      display: none;
    }
    .corporate-page .partner-link {
      margin-left: auto;
    }
    .corporate-page .mobile-nav {
      display: block;
      margin-top: 24px;
    }
    .corporate-page .mobile-nav summary {
      display: flex;
      padding: 0;
      border: 0;
      cursor: pointer;
    }
    .corporate-page .mobile-nav summary::-webkit-details-marker {
      display: none;
    }
    .corporate-page .mobile-nav nav {
      position: absolute;
      top: 90px;
      left: 24px;
      right: 24px;
      padding: 20px;
      background: #fff;
      color: #141413;
      border-radius: 16px;
      box-shadow: 0 8px 24px #0002;
    }
    .corporate-page .mobile-nav a {
      display: block;
      padding: 8px 0;
    }
  }
  @media (min-width: 768px) and (max-width: 1199px) {
    .corporate-page .corporate-hero-content {
      padding-bottom: 32px;
    }
    .corporate-page .corporate-split {
      gap: 36px;
    }
    .corporate-page .corporate-heading {
      font-size: 29px;
    }
    .corporate-page .corporate-eyebrow {
      margin-bottom: 12px;
    }
    .corporate-page .corporate-intro {
      margin-top: 18px;
    }
    .corporate-page .corporate-photo > img {
      border-width: 4px;
    }
    .corporate-page .corporate-offer-item {
      padding-block: 14px;
    }
    .corporate-page .corporate-process-heading .corporate-heading {
      font-size: 30px;
    }
    .corporate-page .corporate-process-arrow {
      left: calc(100% + 4px);
    }
    .corporate-page .corporate-tablet-copy {
      display: inline;
    }
    .corporate-page p.corporate-tablet-copy {
      display: block;
    }
    .corporate-page .footer-bottom {
      flex-direction: column;
    }
  }
  @media (max-width: 767px) {
    .corporate-page .header-inner {
      padding-inline: 20px;
    }
    .corporate-page .partner-link {
      display: none;
    }
    .corporate-page .mobile-nav {
      margin-top: 16px;
    }
    .corporate-page .corporate-hero {
      border-bottom-width: 6px;
    }
    .corporate-page .corporate-hero-content {
      padding: 0 22px 30px;
    }
    .corporate-page .corporate-container {
      max-width: 520px;
    }
    .corporate-page .corporate-split {
      grid-template-columns: minmax(0, 1fr);
      gap: 40px;
    }
    .corporate-page .corporate-heading {
      font-size: 29px;
    }
    .corporate-page .corporate-eyebrow {
      margin-bottom: 12px;
    }
    .corporate-page .corporate-intro {
      margin-top: 18px;
    }
    .corporate-page .corporate-list-title {
      margin-top: 20px;
    }
    .corporate-page .corporate-photo {
      margin-inline: 4px;
    }
    .corporate-page .corporate-photo > img {
      border-width: 4px;
    }
    .corporate-page .corporate-offer-list {
      margin-top: 24px;
    }
    .corporate-page .corporate-process-heading .corporate-heading {
      font-size: 28px;
    }
    .corporate-page .corporate-process-arrow {
      top: calc(100% + 32px);
      left: 50%;
    }
    .corporate-page .footer-legal {
      gap: 12px 20px;
    }
  }

  /* Contact page (contact.html) */
  .contact-page *,
  .contact-page *::before,
  .contact-page *::after {
    box-sizing: border-box;
  }
  .contact-page .header-inner {
    padding-inline: 24px;
  }
  .contact-page .contact-hero {
    position: relative;
    border-bottom: 8px solid #dfc9a9;
    background: #363a2c;
  }
  .contact-page .contact-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, #0003, #0006);
  }
  .contact-page .contact-hero-content {
    padding: 0 24px 42px;
  }
  .contact-page .contact-breadcrumb a {
    text-decoration: none;
  }
  .contact-page .contact-breadcrumb a:hover {
    text-decoration: underline;
  }
  .contact-page .contact-eyebrow {
    margin: 0 0 14px;
  }
  .contact-page .contact-introduction {
    margin: 18px 0 0;
  }
  .contact-page .contact-method a {
    text-decoration: none;
  }
  .contact-page .contact-method a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .contact-page .contact-method-icon {
    flex: 0 0 48px;
  }
  .contact-page .contact-form-panel {
    border: 4px solid #dfd0ae;
  }
  .contact-page .contact-field input,
  .contact-page .contact-field textarea {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid #eeede8;
    border-radius: 8px;
    background: #fff;
    color: #141413;
    font: inherit;
    font-size: 15px;
    line-height: 1.5;
  }
  .contact-page .contact-field input::placeholder,
  .contact-page .contact-field textarea::placeholder {
    color: #8a8985;
    opacity: 1;
  }
  .contact-page .contact-field input:focus-visible,
  .contact-page .contact-field textarea:focus-visible {
    outline: 2px solid #a88a60;
    outline-offset: 3px;
    border-color: #c5a477;
  }
  .contact-page .contact-action-button {
    background: #d6b28a;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
  }
  .contact-page .contact-action-button:hover {
    background: #c5a477;
  }
  .contact-page .contact-moment {
    position: relative;
    background:
      linear-gradient(#0008, #0008),
      url("../images/contact-bg.jpg") center / cover no-repeat;
  }
  .contact-page .contact-moment::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("../images/doodle-overlay.png") center / cover no-repeat;
    opacity: 0.5;
    pointer-events: none;
  }
  @media (max-width: 1199px) {
    .contact-page .main-nav {
      display: none;
    }
    .contact-page .partner-link {
      margin-left: auto;
    }
    .contact-page .mobile-nav {
      display: block;
      margin-top: 24px;
    }
    .contact-page .mobile-nav summary {
      display: flex;
      padding: 0;
      border: 0;
      cursor: pointer;
    }
    .contact-page .mobile-nav summary::-webkit-details-marker {
      display: none;
    }
    .contact-page .mobile-nav nav {
      position: absolute;
      top: 90px;
      left: 24px;
      right: 24px;
      padding: 20px;
      border-radius: 16px;
      background: #fff;
      color: #141413;
      box-shadow: 0 8px 24px #0002;
    }
    .contact-page .mobile-nav a {
      display: block;
      padding: 8px 0;
    }
  }
  @media (min-width: 768px) and (max-width: 1199px) {
    .contact-page .contact-hero-content {
      padding-bottom: 32px;
    }
    .contact-page .contact-method-icon {
      flex-basis: 44px;
    }
    .contact-page .contact-field input,
    .contact-page .contact-field textarea {
      font-size: 14px;
      padding-inline: 12px;
    }
    .contact-page .footer-bottom {
      flex-direction: column;
    }
  }
  @media (max-width: 767px) {
    .contact-page .header-inner {
      padding-inline: 20px;
    }
    .contact-page .partner-link {
      display: none;
    }
    .contact-page .mobile-nav {
      margin-top: 16px;
    }
    .contact-page .contact-hero {
      border-bottom-width: 6px;
    }
    .contact-page .contact-hero-content {
      padding: 0 22px 32px;
    }
    .contact-page .contact-eyebrow {
      margin-bottom: 12px;
    }
    .contact-page .contact-introduction {
      margin-top: 16px;
    }
    .contact-page .contact-method-icon {
      flex-basis: 44px;
    }
    .contact-page .contact-form-panel {
      border-width: 3px;
    }
    .contact-page .contact-field input,
    .contact-page .contact-field textarea {
      font-size: 16px;
      padding-inline: 12px;
    }
    .contact-page .contact-action-button {
      font-size: 12px;
    }
    .contact-page .footer-legal {
      gap: 12px 20px;
    }
  }

  /* Contact banner */
  .contact-section {
    min-height: 400px;
    padding: 80px 24px;
    background:
      linear-gradient(rgba(20, 20, 19, 0.48), rgba(20, 20, 19, 0.48)),
      url("../images/contact-bg.jpg") center / cover no-repeat;
  }
  .contact-copy h2 {
    font-size: 36px;
  }
  .contact-copy p {
    font-size: 16px;
    line-height: 24px;
  }
  @media (max-width: 767px) {
    .contact-section {
      min-height: 320px;
      padding: 64px 20px;
    }
    .contact-copy h2 {
      font-size: 30px;
    }
  }

  /* Footer */
  .footer-top {
    padding: 88px 24px 56px;
    gap: 40px;
  }
  .footer-brand p {
    font-size: 15px;
  }
  .social-icon {
    background: #d1b18a;
  }
  .social-icon:hover {
    background: #c3a276;
  }
  .footer-heading {
    margin-bottom: 16px;
    font-size: 14px;
    color: #ae7d51;
  }
  .footer-col a {
    font-size: 15px;
  }
  .footer-col a:hover,
  .footer-legal a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .footer-office p {
    margin-bottom: 14px;
    font-size: 15px;
    color: #141413;
  }
  .footer-bottom {
    padding: 24px 24px 32px;
    justify-content: space-between;
    font-size: 14px;
  }
  .footer-legal {
    gap: 24px;
  }
  @media (min-width: 768px) and (max-width: 1199px) {
    .footer-top {
      row-gap: 44px;
    }
  }
  @media (max-width: 767px) {
    .footer-top {
      gap: 36px;
      padding: 56px 24px 40px;
    }
    .footer-bottom {
      flex-direction: column;
    }
  }

  /* Scroll reveals are enabled only after JavaScript attaches the observer. */
  .reveal.reveal-ready {
    opacity: 0;
    filter: blur(6px);
    will-change: opacity, transform;
    transition:
      opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
      transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
      filter 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  .reveal.reveal-ready.reveal-up {
    transform: translateY(48px);
  }
  .reveal.reveal-ready.reveal-left {
    transform: translateX(-56px);
  }
  .reveal.reveal-ready.reveal-right {
    transform: translateX(56px);
  }
  .reveal.reveal-ready.reveal-visible {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
  .reveal-delay-1 {
    transition-delay: 0.12s;
  }
  .reveal-delay-2 {
    transition-delay: 0.24s;
  }
  .reveal-delay-3 {
    transition-delay: 0.36s;
  }
  @media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal[class*="reveal-"] {
      opacity: 1;
      filter: none;
      transform: none;
      transition: none;
    }
  }
}
/* Footer text sizes */
.home-page .site-footer .footer-brand p,
.home-page .site-footer .footer-col > a,
.home-page .site-footer .footer-office p {
  font-size: 18px;
  line-height: 1.6;
}

.home-page .site-footer .footer-heading {
  font-size: 20px;
  line-height: 1.4;
}

.home-page .site-footer .footer-bottom,
.home-page .site-footer .footer-bottom p,
.home-page .site-footer .footer-legal a {
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .home-page .site-footer .footer-brand p,
  .home-page .site-footer .footer-col > a,
  .home-page .site-footer .footer-office p {
    font-size: 16px;
  }

  .home-page .site-footer .footer-heading {
    font-size: 18px;
  }

  .home-page .site-footer .footer-bottom,
  .home-page .site-footer .footer-bottom p,
  .home-page .site-footer .footer-legal a {
    font-size: 14px;
  }
}
