/* ==========================================================================
   Utility layer — the subset of Tailwind classes the original build used,
   hand-written so the markup translates across 1:1.
   ========================================================================== */

@layer utilities {

  /* ---------- Display / flex / grid ---------- */
  .block { display: block; }
  .inline-block { display: inline-block; }
  .flex { display: flex; }
  .inline-flex { display: inline-flex; }
  .grid { display: grid; }
  /* after .flex so `class="flex ... hidden"` resolves to hidden, and before
     the responsive variants so `lg:flex` can still override it */
  .hidden { display: none; }

  .flex-col { flex-direction: column; }
  .flex-wrap { flex-wrap: wrap; }
  .flex-1 { flex: 1 1 0%; }
  .flex-shrink-0 { flex-shrink: 0; }

  .items-start { align-items: flex-start; }
  .items-center { align-items: center; }
  .items-end { align-items: flex-end; }
  .justify-start { justify-content: flex-start; }
  .justify-center { justify-content: center; }
  .justify-between { justify-content: space-between; }

  .grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row-span-2 { grid-row: span 2 / span 2; }
  .lg\:col-span-1 { grid-column: span 1 / span 1; }

  /* ---------- Position ---------- */
  .relative { position: relative; }
  .absolute { position: absolute; }
  .fixed { position: fixed; }
  .sticky { position: sticky; }

  .inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
  /* the fixed header relies on these to span the viewport — without them it
     shrink-wraps to its content */
  .top-0 { top: 0; }
  .right-0 { right: 0; }
  .bottom-0 { bottom: 0; }
  .left-0 { left: 0; }
  .top-1\/2 { top: 50%; }
  .top-4 { top: 1rem; }
  .top-\[60px\] { top: 60px; }
  .left-1\/2 { left: 50%; }
  .left-4 { left: 1rem; }
  .right-4 { right: 1rem; }
  .right-8 { right: 2rem; }
  .bottom-6 { bottom: 1.5rem; }
  .bottom-8 { bottom: 2rem; }

  .z-10 { z-index: 10; }
  .z-20 { z-index: 20; }
  .z-30 { z-index: 30; }
  .z-50 { z-index: 50; }

  /* ---------- Sizing ---------- */
  .w-full { width: 100%; }
  .w-2 { width: 0.5rem; }
  .w-6 { width: 1.5rem; }
  .w-7 { width: 1.75rem; }
  .w-8 { width: 2rem; }
  .w-9 { width: 2.25rem; }
  .w-10 { width: 2.5rem; }
  .w-11 { width: 2.75rem; }
  .w-13 { width: 3.25rem; }
  .w-14 { width: 3.5rem; }
  .w-24 { width: 6rem; }
  .w-72 { width: 18rem; }
  .w-\[1px\] { width: 1px; }

  .h-2 { height: 0.5rem; }
  .h-7 { height: 1.75rem; }
  .h-8 { height: 2rem; }
  .h-9 { height: 2.25rem; }
  .h-10 { height: 2.5rem; }
  .h-11 { height: 2.75rem; }
  .h-13 { height: 3.25rem; }
  .h-14 { height: 3.5rem; }
  .h-48 { height: 12rem; }
  .h-52 { height: 13rem; }
  .h-56 { height: 14rem; }
  .h-64 { height: 16rem; }
  .h-72 { height: 18rem; }
  .h-full { height: 100%; }
  .h-px { height: 1px; }
  .h-screen { height: 100vh; }
  .h-\[1\.5px\] { height: 1.5px; }

  .min-h-screen { min-height: 100vh; }
  .min-h-\[360px\] { min-height: 360px; }
  .min-h-\[600px\] { min-height: 600px; }
  .max-h-0 { max-height: 0; }
  .max-h-\[500px\] { max-height: 500px; }
  .max-h-\[70vh\] { max-height: 70vh; }

  .max-w-\[100px\] { max-width: 100px; }
  .max-w-sm { max-width: 24rem; }
  .max-w-md { max-width: 28rem; }
  .max-w-lg { max-width: 32rem; }
  .max-w-2xl { max-width: 42rem; }
  .max-w-3xl { max-width: 48rem; }
  .max-w-4xl { max-width: 56rem; }
  .max-w-5xl { max-width: 64rem; }
  .max-w-6xl { max-width: 72rem; }
  .max-w-7xl { max-width: 80rem; }

  .aspect-square { aspect-ratio: 1 / 1; }
  .aspect-video { aspect-ratio: 16 / 9; }
  .aspect-\[3\/4\] { aspect-ratio: 3 / 4; }
  .aspect-\[4\/5\] { aspect-ratio: 4 / 5; }

  /* ---------- Spacing ---------- */
  .mx-auto { margin-left: auto; margin-right: auto; }
  .my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

  .mt-0\.5 { margin-top: 0.125rem; }
  .mt-1 { margin-top: 0.25rem; }
  .mt-2 { margin-top: 0.5rem; }
  .mt-3 { margin-top: 0.75rem; }
  .mt-4 { margin-top: 1rem; }
  .mt-6 { margin-top: 1.5rem; }
  .mt-10 { margin-top: 2.5rem; }
  .mt-16 { margin-top: 4rem; }

  .mb-1 { margin-bottom: 0.25rem; }
  .mb-2 { margin-bottom: 0.5rem; }
  .mb-3 { margin-bottom: 0.75rem; }
  .mb-4 { margin-bottom: 1rem; }
  .mb-5 { margin-bottom: 1.25rem; }
  .mb-6 { margin-bottom: 1.5rem; }
  .mb-7 { margin-bottom: 1.75rem; }
  .mb-8 { margin-bottom: 2rem; }
  .mb-10 { margin-bottom: 2.5rem; }
  .mb-12 { margin-bottom: 3rem; }
  .mb-14 { margin-bottom: 3.5rem; }
  .mb-16 { margin-bottom: 4rem; }

  .p-2 { padding: 0.5rem; }
  .p-4 { padding: 1rem; }
  .p-5 { padding: 1.25rem; }
  .p-6 { padding: 1.5rem; }
  .p-7 { padding: 1.75rem; }
  .p-8 { padding: 2rem; }
  .p-10 { padding: 2.5rem; }

  .px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
  .px-4 { padding-left: 1rem; padding-right: 1rem; }
  .px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
  .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
  .px-8 { padding-left: 2rem; padding-right: 2rem; }
  .px-9 { padding-left: 2.25rem; padding-right: 2.25rem; }
  .px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }

  .py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
  .py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
  .py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
  .py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
  .py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
  .py-4 { padding-top: 1rem; padding-bottom: 1rem; }
  .py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .py-12 { padding-top: 3rem; padding-bottom: 3rem; }
  .py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .py-32 { padding-top: 8rem; padding-bottom: 8rem; }

  .pt-6 { padding-top: 1.5rem; }
  .pt-8 { padding-top: 2rem; }
  .pt-16 { padding-top: 4rem; }
  .pb-6 { padding-bottom: 1.5rem; }
  .pb-8 { padding-bottom: 2rem; }
  .pl-11 { padding-left: 2.75rem; }

  .gap-1 { gap: 0.25rem; }
  .gap-1\.5 { gap: 0.375rem; }
  .gap-2 { gap: 0.5rem; }
  .gap-3 { gap: 0.75rem; }
  .gap-4 { gap: 1rem; }
  .gap-5 { gap: 1.25rem; }
  .gap-6 { gap: 1.5rem; }
  .gap-7 { gap: 1.75rem; }
  .gap-8 { gap: 2rem; }
  .gap-10 { gap: 2.5rem; }
  .gap-16 { gap: 4rem; }
  .gap-\[5px\] { gap: 5px; }

  .space-y-2 > * + * { margin-top: 0.5rem; }
  .space-y-3 > * + * { margin-top: 0.75rem; }
  .space-y-4 > * + * { margin-top: 1rem; }
  .space-y-5 > * + * { margin-top: 1.25rem; }
  .space-y-8 > * + * { margin-top: 2rem; }

  /* ---------- Typography ---------- */
  .text-xs { font-size: 0.75rem; line-height: 1rem; }
  .text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .text-base { font-size: 1rem; line-height: 1.5rem; }
  .text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .text-5xl { font-size: 3rem; line-height: 1; }
  .text-\[0\.55rem\] { font-size: 0.55rem; }
  .text-\[0\.6rem\] { font-size: 0.6rem; }
  .text-\[0\.65rem\] { font-size: 0.65rem; }
  .text-\[0\.97rem\] { font-size: 0.97rem; }

  .font-light { font-weight: 300; }
  .font-semibold { font-weight: 600; }
  .font-bold { font-weight: 700; }
  .italic { font-style: italic; }
  .uppercase { text-transform: uppercase; }
  .text-center { text-align: center; }
  .text-left { text-align: left; }

  .leading-none { line-height: 1; }
  .leading-tight { line-height: 1.25; }
  .leading-snug { line-height: 1.375; }
  .leading-relaxed { line-height: 1.625; }

  .tracking-wide { letter-spacing: 0.025em; }
  .tracking-wider { letter-spacing: 0.05em; }
  .tracking-widest { letter-spacing: 0.1em; }
  .tracking-\[0\.15em\] { letter-spacing: 0.15em; }
  .tracking-\[0\.18em\] { letter-spacing: 0.18em; }
  .tracking-\[0\.2em\] { letter-spacing: 0.2em; }
  .tracking-\[0\.3em\] { letter-spacing: 0.3em; }
  .tracking-\[0\.35em\] { letter-spacing: 0.35em; }

  .whitespace-nowrap { white-space: nowrap; }
  .whitespace-pre-line { white-space: pre-line; }

  /* ---------- Borders / radius ---------- */
  .border { border-width: 1px; border-style: solid; }
  .border-t { border-top-width: 1px; border-top-style: solid; }
  .border-b { border-bottom-width: 1px; border-bottom-style: solid; }
  .border-y { border-top-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-bottom-style: solid; }
  .border-gold { border-color: rgb(201 168 76); }
  .rounded-sm { border-radius: 0.125rem; }
  .rounded-full { border-radius: 9999px; }

  /* ---------- Backgrounds / gradients ---------- */
  .bg-transparent { background-color: transparent; }
  .bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--grad-stops, var(--grad-from, transparent), var(--grad-to, transparent))); }
  .bg-gradient-to-t { background-image: linear-gradient(to top, var(--grad-stops, var(--grad-from, transparent), var(--grad-to, transparent))); }
  .bg-gradient-to-r { background-image: linear-gradient(to right, var(--grad-stops, var(--grad-from, transparent), var(--grad-to, transparent))); }
  .bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--grad-stops, var(--grad-from, transparent), var(--grad-to, transparent))); }

  /* ---------- Effects ---------- */
  .shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3); }
  .shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.35), 0 8px 10px -6px rgb(0 0 0 / 0.35); }
  .shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.5); }
  .backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
  .opacity-0 { opacity: 0; }
  .opacity-60 { opacity: 0.6; }
  .opacity-70 { opacity: 0.7; }
  .opacity-100 { opacity: 1; }

  /* ---------- Overflow / object ---------- */
  .overflow-hidden { overflow: hidden; }
  .object-cover { object-fit: cover; }
  .object-contain { object-fit: contain; }
  .object-top { object-position: top; }

  /* ---------- Transform ---------- */
  .-translate-x-1\/2 { transform: translateX(-50%); }
  .-translate-y-1\/2 { transform: translateY(-50%); }
  .translate-y-0 { transform: translateY(0); }
  .translate-y-2 { transform: translateY(0.5rem); }
  .translate-y-\[6\.5px\] { transform: translateY(6.5px); }
  .-translate-y-\[6\.5px\] { transform: translateY(-6.5px); }
  .rotate-45 { transform: rotate(45deg); }
  .-rotate-45 { transform: rotate(-45deg); }
  /* the hamburger bars combine a rotation with a shift */
  .rotate-45.translate-y-\[6\.5px\] { transform: translateY(6.5px) rotate(45deg); }
  .-rotate-45.-translate-y-\[6\.5px\] { transform: translateY(-6.5px) rotate(-45deg); }

  /* ---------- Transitions ---------- */
  .transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
  .transition-colors { transition-property: color, background-color, border-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
  .transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
  .duration-200 { transition-duration: 200ms; }
  .duration-300 { transition-duration: 300ms; }
  .duration-500 { transition-duration: 500ms; }

  /* ---------- Interactivity ---------- */
  .resize-none { resize: none; }
  .pointer-events-none { pointer-events: none; }
  .hover\:scale-105:hover { transform: scale(1.05); }
  .hover\:scale-110:hover { transform: scale(1.1); }

  /* ---------- Breakpoints ---------- */
  @media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (min-width: 768px) {
    .md\:flex-row { flex-direction: row; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:h-60 { height: 15rem; }
    .md\:h-80 { height: 20rem; }
    .md\:h-96 { height: 24rem; }
    .md\:left-8 { left: 2rem; }
    .md\:right-8 { right: 2rem; }
    .md\:px-16 { padding-left: 4rem; padding-right: 4rem; }
    .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
  }
  @media (min-width: 1024px) {
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none; }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:px-24 { padding-left: 6rem; padding-right: 6rem; }
    .lg\:text-8xl { font-size: 6rem; line-height: 1; }
  }
  /* ---------- Colour (generated: theme tokens x opacity) ---------- */
  .text-cream { color: rgb(240 230 211); }
  .text-cream\/30 { color: rgb(240 230 211 / 0.3); }
  .text-cream\/35 { color: rgb(240 230 211 / 0.35); }
  .text-cream\/40 { color: rgb(240 230 211 / 0.4); }
  .text-cream\/45 { color: rgb(240 230 211 / 0.45); }
  .text-cream\/50 { color: rgb(240 230 211 / 0.5); }
  .text-cream\/55 { color: rgb(240 230 211 / 0.55); }
  .text-cream\/60 { color: rgb(240 230 211 / 0.6); }
  .text-cream\/70 { color: rgb(240 230 211 / 0.7); }
  .text-cream\/80 { color: rgb(240 230 211 / 0.8); }
  .text-gold { color: rgb(201 168 76); }
  .text-gold\/40 { color: rgb(201 168 76 / 0.4); }
  .text-gold\/60 { color: rgb(201 168 76 / 0.6); }
  .text-gold\/70 { color: rgb(201 168 76 / 0.7); }
  .text-gold-light { color: rgb(232 201 106); }
  .text-dark { color: rgb(8 8 8); }
  .text-white { color: rgb(255 255 255); }
  .text-\[\#25d366\] { color: rgb(37 211 102); }
  .bg-dark { background-color: rgb(8 8 8); }
  .bg-dark\/95 { background-color: rgb(8 8 8 / 0.95); }
  .bg-dark-2 { background-color: rgb(17 17 17); }
  .bg-dark-3 { background-color: rgb(26 26 26); }
  .bg-gold { background-color: rgb(201 168 76); }
  .bg-gold\/5 { background-color: rgb(201 168 76 / 0.05); }
  .bg-\[\#25d366\] { background-color: rgb(37 211 102); }
  .bg-\[\#25d366\]\/5 { background-color: rgb(37 211 102 / 0.05); }
  .bg-black\/80 { background-color: rgb(0 0 0 / 0.8); }
  .bg-black\/95 { background-color: rgb(0 0 0 / 0.95); }
  .bg-white\/30 { background-color: rgb(255 255 255 / 0.3); }
  .border-gold\/10 { border-color: rgb(201 168 76 / 0.1); }
  .border-gold\/20 { border-color: rgb(201 168 76 / 0.2); }
  .border-gold\/25 { border-color: rgb(201 168 76 / 0.25); }
  .border-gold\/30 { border-color: rgb(201 168 76 / 0.3); }
  .border-gold\/40 { border-color: rgb(201 168 76 / 0.4); }
  .border-\[\#25d366\]\/30 { border-color: rgb(37 211 102 / 0.3); }

  /* gradient stops */
  .from-black\/60 { --grad-from: rgb(0 0 0 / 0.6); --grad-stops: var(--grad-from), var(--grad-to, transparent); }
  .from-black\/70 { --grad-from: rgb(0 0 0 / 0.7); --grad-stops: var(--grad-from), var(--grad-to, transparent); }
  .from-black\/80 { --grad-from: rgb(0 0 0 / 0.8); --grad-stops: var(--grad-from), var(--grad-to, transparent); }
  .from-gold { --grad-from: rgb(201 168 76); --grad-stops: var(--grad-from), var(--grad-to, transparent); }
  .from-gold\/60 { --grad-from: rgb(201 168 76 / 0.6); --grad-stops: var(--grad-from), var(--grad-to, transparent); }
  .via-black\/50 { --grad-via: rgb(0 0 0 / 0.5); --grad-stops: var(--grad-from, transparent), rgb(0 0 0 / 0.5), var(--grad-to, transparent); }
  .via-transparent { --grad-via: transparent; --grad-stops: var(--grad-from, transparent), transparent, var(--grad-to, transparent); }
  .to-black\/20 { --grad-to: rgb(0 0 0 / 0.2); }
  .to-dark { --grad-to: rgb(8 8 8); }
  .to-gold-dark { --grad-to: rgb(160 120 50); }
  .to-transparent { --grad-to: transparent; }

  /* hover / group-hover colour states */
  .hover\:bg-gold\/10:hover { background-color: rgb(201 168 76 / 0.1); }
  .hover\:bg-gold\/20:hover { background-color: rgb(201 168 76 / 0.2); }
  .hover\:bg-white\/60:hover { background-color: rgb(255 255 255 / 0.6); }
  .hover\:bg-\[\#20ba5a\]:hover { background-color: #20ba5a; }
  .hover\:bg-\[\#25d366\]\/10:hover { background-color: rgb(37 211 102 / 0.1); }
  .hover\:border-gold\/60:hover { border-color: rgb(201 168 76 / 0.6); }
  .hover\:border-\[\#25d366\]\/60:hover { border-color: rgb(37 211 102 / 0.6); }
  .hover\:text-gold:hover { color: rgb(201 168 76); }
  .group:hover .group-hover\:text-gold\/80 { color: rgb(201 168 76 / 0.8); }
  .group:hover .group-hover\:border-gold\/60,
  .group:focus-within .group-hover\:border-gold\/60 { border-color: rgb(201 168 76 / 0.6); }
  .group:hover .group-hover\:scale-110,
  .group:focus-within .group-hover\:scale-110 { transform: scale(1.1); }

}
