/* ==================================================
   Dip Store Styles
   ================================================== */

   /* GT Maru */

@font-face {
    font-family: "GT Maru";
    src:
        url("../fonts/gt-maru/GT-Maru-Black.woff2") format("woff2"),
        url("../fonts/gt-maru/GT-Maru-Black.woff") format("woff");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "GT Maru";
    src:
        url("../fonts/gt-maru/GT-Maru-Black-Oblique.woff2") format("woff2"),
        url("../fonts/gt-maru/GT-Maru-Black-Oblique.woff") format("woff");
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

:root {
    /* Fonts */
   --font-heading: "GT Maru", sans-serif;
    --font-body: "avenir-lt-pro", "Avenir Book", system-ui, sans-serif;

    /* Dip Store colours */
    --red-dip: #df654f;
    --sea-dip: #00afb9;
    --sherbert-dip: #e8b64c;
    --blue-dip: #132c4f;
    --milk-dip: #f4eddc;
    --white-dip: #ffffff;
    --black-dip: #231f20;
    --foam-dip : #7caca1;
    --green-dip: #48b85c;

    /* Existing theme variable aliases */
    --brand-blue-original: var(--blue-dip);
    --brand-blue: var(--blue-dip);
    --brand-blue-bright: var(--sea-dip);

    --tech-blue: var(--sea-dip);
    --tech-blue-deep: var(--blue-dip);
    --tech-blue-soft: color-mix(in srgb, var(--sea-dip) 18%, white);

    --fresh-sky: color-mix(in srgb, var(--sea-dip) 16%, white);
    --fresh-sky-strong: var(--sea-dip);
    --mist-blue: color-mix(in srgb, var(--sea-dip) 12%, white);

    --pitch-black: var(--black-dip);
    --deep-charcoal: var(--black-dip);
    --soft-charcoal: #332b2d;

    --warm-white: var(--milk-dip);
    --platinum: color-mix(in srgb, var(--milk-dip) 70%, white);
    --plain-white: var(--white-dip);

    --rosey-copper: var(--red-dip);
    --copper: var(--red-dip);
    --sunbeam-yellow: var(--sherbert-dip);
    --highlight: var(--sherbert-dip);

    --transp-site: rgb(19 44 79 / 0%);

    /* Layout helpers */
    --section-y: clamp(56px, 7vw, 104px);
    --section-y-tight: clamp(40px, 5vw, 72px);
    --section-y-supertight: clamp(10px, 1vw, 12px);
    --content-gap: clamp(28px, 5vw, 64px);

    /* Slightly softer, shop-like shapes */
    --card-radius: 22px;
    --button-radius: 999px;
    --input-radius: 16px;

    --soft-shadow: 0 18px 42px rgba(19,44,79,0.08);
    --soft-shadow-hover: 0 24px 58px rgba(19,44,79,0.14);
    --ease-out-soft: cubic-bezier(.22,.61,.36,1);

    /* Type scale */
    --fs-body: clamp(16px, 2vw, 18px);
    --fs-h1: clamp(36px, 6vw, 64px);
    --fs-h2: clamp(30px, 4.5vw, 48px);
    --fs-h3: clamp(24px, 3.5vw, 34px);
    --fs-h4: clamp(20px, 2.8vw, 26px);
    --fs-h5: clamp(18px, 2.5vw, 22px);
    --fs-h6: clamp(16px, 2vw, 20px);
    --fs-small: clamp(13px, 1.4vw, 15px);
}

@media (max-width: 768px) {
    :root {
        --fs-body: clamp(14px, 3vw, 16px);
        --fs-h1: clamp(28px, 6vw, 32px);
        --fs-h2: clamp(24px, 4.5vw, 28px);
        --fs-h3: clamp(22px, 3.5vw, 24px);
        --fs-h4: clamp(18px, 3vw, 22px);
        --fs-h5: clamp(16px, 2.5vw, 20px);
        --fs-h6: clamp(14px, 2vw, 18px);
        --section-y: clamp(42px, 10vw, 68px);
    }
}

@media (max-width: 480px) {
    :root {
        --fs-body: clamp(14px, 3vw, 16px);
        --fs-h1: clamp(22px, 7vw, 26px);
        --fs-h2: clamp(20px, 6vw, 24px);
        --fs-h3: clamp(18px, 5vw, 22px);
        --fs-h4: clamp(16px, 4vw, 20px);
        --fs-h5: clamp(14px, 3.5vw, 18px);
        --fs-h6: clamp(12px, 3vw, 16px);
    }
}



/* feeds */
.feeds {
    padding: clamp(40px, 6vw, 80px) 5px;
}

.feeds-inner {
    margin: 0 auto;
}

.feeds-slider .feeds-inner {
    max-width: none;
    padding-left: 20px;
    padding-right: 20px;
}

.feeds-header {
    max-width: 760px;
    margin: 0 auto 32px;
    text-align: center;
}

.feeds-wrap {
    display: grid;
    gap: 24px;
}

/* DEFAULT */
.feeds-grid .feeds-wrap.columns-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* FOUR */
.feeds-grid .feeds-wrap.columns-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* TWO */
.feeds-grid .feeds-wrap.columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feeds-list .feeds-wrap {
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 1024px) {

    .feeds-grid .feeds-wrap.columns-4,
    .feeds-grid .feeds-wrap.columns-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {

    .feeds-grid .feeds-wrap.columns-4,
    .feeds-grid .feeds-wrap.columns-3,
    .feeds-grid .feeds-wrap.columns-2 {
        grid-template-columns: 1fr;
    }
}


.feeds-list .feeds-card {
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
}


.feeds-card.is-hidden {
    display: none;
}

.feeds-actions {
    display: flex;
    justify-content: center;
    margin-top: clamp(28px, 4vw, 48px);
}

.feeds-load-more {
    appearance: none;
    border: 0;
    border-radius: 12px;
    padding: 14px 28px;
    background: #f4c430;
    color: #111;
    font-weight: 700;
    cursor: pointer;
}

.feeds-load-more:hover {
    background: #111;
    color: #fff;
}


.primarytextcontainer {
    padding: clamp(40px, 6vw, 80px) 5px;
}

/* Slider: 4 / 2 / 1 */

.feeds-slider .container {
    max-width: none;
}

.feeds-swiper {
    width: 100%;
    padding: 0 20px 44px;
}

.feeds-swiper .swiper-wrapper {
    align-items: stretch;
}

.feeds-swiper .swiper-slide {
    height: auto;
}

.feeds-swiper .feeds-card {
    height: 100%;
}

.feeds-card {
    background: var(--plain-white);
    color: var(--pitch-black);
    border-radius: 10px;
   box-shadow:
    0 2px 8px rgba(0,0,0,0.04),
    0 12px 24px rgba(0,0,0,0.04);
}

.feeds-image {
    display: block;
  /*  aspect-ratio: 4 / 3; */
    overflow: hidden;
}

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

.feeds-content {
    padding: clamp(20px, 3vw, 28px);
}

.feeds-content h3 {
    margin: 0 0 12px;
}

.feeds-content h3 a {
    color: inherit;
    text-decoration: none;
}

.feeds-button {
    display: inline-flex;
    padding: 10px 18px;
    border-radius: 10px;
  background: var(--pitch-black);
color: var(--sunbeam-yellow);
    text-decoration: none;
    font-weight: 700;
}

.feeds-plain {
    margin: 0 auto;
    font-size: var(--fs-body);
    line-height: 1.7;
}

.feeds-plain a {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 1024px) {
    .feeds-slider .feeds-card {
        flex-basis: calc((100vw - 72px) / 2);
    }
}

@media (max-width: 700px) {
    .feeds-list .feeds-card {
        grid-template-columns: 1fr;
    }

    .feeds-slider .feeds-card {
        flex-basis: calc(100vw - 40px);
    }
}

/* TESTIMONIALS */

.testimonials-section {
    padding: clamp(40px, 6vw, 80px) 20px;
    color: var(--pitch-black);
}

.testimonials-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-header {
    max-width: 760px;
    margin: 0 auto 32px;
  }

.testimonials-header h2 {
    font-size: var(--fs-h2);
    margin: 0 0 12px;
      text-align: center;
}

.testimonials-header p {
      margin: 0;
}

.testimonials-wrap {
    display: grid;
    gap: 24px;
}

.testimonials-grid .testimonials-wrap {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonials-list .testimonials-wrap {
    max-width: 850px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--transp-site);
    color: inherit;
    padding: clamp(22px, 3vw, 34px);
    border-radius: 10px;
}

.testimonial-card blockquote {
    margin: 0;
    font-size: var(--fs-body);
    line-height: 1.6;
       color: inherit;
}

.testimonial-card footer {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 3px;
        font-family: var(--font-heading);
}

.testimonial-card strong {
    font-size: var(--fs-h6);
        font-family: var(--font-heading);
}

.testimonial-card span {
    opacity: 0.75;
        font-family: var(--font-heading);
}


.testimonials-swiper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    box-sizing: border-box;
}

.testimonials-swiper .swiper-wrapper {
    align-items: stretch;
}

.testimonials-swiper .swiper-slide {
    width: 100% !important;
    height: auto;
    display: flex;
    box-sizing: border-box;
}

.testimonials-swiper .testimonial-card {
    width: 100%;
    min-height: clamp(200px, 24vw, 240px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}


.testimonials-swiper .testimonial-card  
 {
      text-align: center;
}

.testimonials-swiper .testimonial-card  blockquote p
 {
      text-align: center;
}

.testimonials-swiper .swiper-pagination {
    display: none;
}

/* ==================================================
   SWIPER
================================================== */

.swiper-button-next button,
.swiper-button-prev button {
    padding: 0;
}

.swiper-button-next,
.swiper-button-prev {
    background: none;
    color: inherit;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    content: "" !important;
}

.swiper-controls {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.swiper-controls button {
    background: none;
    border: none;
    border-radius: 5px;
    color: var(--plain-white);
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    transition: transform 0.2s;
}

.swiper-controls button:hover {
    transform: scale(1.05);
}

.swiper-controls button:focus {
    outline: none;
}

.swiper-controls button:active {
    transform: scale(0.55);
}

.swiper-pagination-bullet {
    width: 16px !important;
    height: 16px !important;
    display: inline-block !important;
    border: 2px solid var(--plain-white);
    border-radius: 15% !important;
    background: none !important;
    opacity: 0.9 !important;
}

.swiper-pagination-bullet-active {
    width: 16px !important;
    height: 16px !important;
    display: inline-block !important;
    border: 2px solid var(--plain-white);
    border-radius: 15% !important;
    background: var(--plain-white) !important;
    opacity: 0.9 !important;
}

@media screen and (max-width: 768px) {
    .swiper-controls button {
        padding: 5px;
    }
}

/* FAQ BLOCK */

.faq-block {
    padding: clamp(40px, 6vw, 80px) 5px;
}

.faq-block-header {
    max-width: 760px;
    margin: 0 auto 32px;
    text-align: center;
}

.faq-block-header h2 {
    margin: 0 0 12px;
    font-size: var(--fs-h2);
}

.faq-block-intro {
    font-size: var(--fs-body);
}

.faq-list {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.faq-item {
    border-radius: 10px;
    overflow: hidden;
box-shadow:
    0 2px 8px rgba(0,0,0,0.04),
    0 12px 24px rgba(0,0,0,0.04);
}

.faq-question {
    width: 100%;
    border: 0;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    cursor: pointer;
    text-align: left;
    font: inherit;
    margin: 0px;
    font-weight: 700;
    color: var(--pitch-black);
    font-family: var(--font-heading);
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    transition: transform 0.25s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    color: var(--pitch-black);
}

.faq-answer-inner {
    padding: 22px 24px 26px;
}

.faq-answer-inner > *:first-child {
    margin-top: 0;
}

.faq-answer-inner > *:last-child {
    margin-bottom: 0;
}

@media (max-width: 700px) {
    .faq-question {
        padding: 18px 20px;
    }

    .faq-answer-inner {
        padding: 20px;
    }
}


/* SIMPLE SLIDER */

.simple-slider-section {
    padding: 0;
}

.simple-slider-full-container {
    width: 100%;
}

.simple-slider-swiper {
    width: 100%;
    padding-bottom: 44px;
}

.simple-slider-slide {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4 / 3;
    color: var(--plain-white);
    text-decoration: none;
    background: var(--pitch-black);
}

.simple-slider-fullwidth .simple-slider-slide {
    border-radius: 0;
}

.simple-slider-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.simple-slider-slide:hover img {
    transform: scale(1.03);
}

.simple-slider-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: clamp(20px, 4vw, 36px);
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.72),
        rgba(0,0,0,0)
    );
}

.simple-slider-overlay h2 {
    margin: 0 0 8px;
    color: inherit;
    font-size: var(--fs-h3);
}

.simple-slider-overlay p {
    margin: 0;
    color: inherit;
    font-size: var(--fs-body);
}

.simple-slider-swiper .swiper-pagination {
    bottom: 0;
}

@media (max-width: 700px) {
    .simple-slider-slide {
        aspect-ratio: 4 / 3;
    }
}

/* BANNER */

/* BANNER BLOCK */

.banner-block {
    position: relative;
    padding: clamp(44px, 7vw, 90px) 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.banner-has-bg-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,var(--banner-overlay-opacity, 0.45));
    z-index: 0;
}

.banner-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: clamp(28px, 5vw, 60px);
    align-items: center;
}

.banner-has-side-image .banner-inner {
    grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
}

.banner-image-right .banner-inner {
    grid-template-columns: minmax(280px, 1.1fr) minmax(260px, 0.9fr);
}

.banner-content {
    max-width: 760px;
}

.banner-has-bg-image .banner-content {
    color: var(--plain-white);
}

.banner-content h2 {
    margin: 0 0 16px;
    font-size: var(--fs-h2);
}

.banner-text {
    margin: 0 0 14px;
    font-size: var(--fs-body);
    line-height: 1.65;
}

.banner-text-2 {
    font-weight: 700;
}

.banner-buttons {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.banner-button-wrap {
    display: flex;
}

.banner-button-wrap.align-left {
    justify-content: flex-start;
}

.banner-button-wrap.align-centre {
    justify-content: center;
}

.banner-button-wrap.align-right {
    justify-content: flex-end;
}

.banner-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    color: var(--plain-white);
}

.banner-button.bg-plain-white,
.banner-button.bg-sunbeam-yellow,
.banner-button.bg-platinum {
    color: var(--pitch-black);
}

.banner-side-image {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(0,0,0,0.16);
}

.banner-side-image img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

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

.banner-button-plain {
    background: transparent !important;
    color: var(--pitch-black) !important;
    padding: 0 !important;
    border-radius: 0 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
       border: 1px solid rgb(0 0 0 / 0%) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.0) !important;
    transition: none !important;
}

.banner-button-plain:hover {
    background: transparent !important;
    color: var(--pitch-black) !important;
    padding: 0 !important;
    border-radius: 0 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
        border: 1px solid rgb(0 0 0 / 0%) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.0) !important;
    transition: none !important;
}


.banner-button-large {
    padding: 16px 28px;
    font-size: 1.1rem;
}

.banner-button-icon::after {
    content: "→";
    margin-left: 10px;
    transition: transform 0.2s ease;
     top: 0.2em;
    width: 24px;
    height: 24px;
    background-image: var(--bullet-icon);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.banner-button-icon:hover::after {
    transform: translateX(4px);
}

.banner-has-bg-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--banner-overlay-colour, rgba(0,0,0,0.45));
    z-index: 0;
}

@media (max-width: 800px) {
    .banner-has-side-image .banner-inner,
    .banner-image-right .banner-inner {
        grid-template-columns: 1fr;
    }

    .banner-image-left .banner-content {
        order: 2;
    }

    .banner-image-left .banner-side-image {
        order: 1;
    }
}

/* TEXT AND IMAGE */

.text-image-block {
    padding: clamp(40px, 6vw, 80px) 0px;
}

.text-image-outer {
    width: 100%;
}

.text-image-inner {
    display: grid;
    align-items: stretch;
    gap: clamp(28px, 5vw, 60px);
}

.text-image-has-image .text-image-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.text-image-content.contentwidth {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}

.text-image-content.fullwidth {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 5vw, 70px);
}

.text-image-content h2 {
    margin: 0 0 18px;
    font-size: var(--fs-h2);
}

.text-image-copy > *:first-child {
    margin-top: 0;
}

.text-image-copy > *:last-child {
    margin-bottom: 0;
}

.text-image-media {
    margin: 0;
    min-height: 360px;
    overflow: hidden;
}

.text-image-media img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
}

.text-image-contentwidth .text-image-media {
    border-radius: 10px;
}

.text-image-fullwidth .text-image-content {
    width: 100%;
    max-width: none;
    padding: clamp(40px, 6vw, 90px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* constrain readable text width INSIDE the content area */
.text-image-fullwidth .text-image-copy,
.text-image-fullwidth .text-image-content h2 {
    max-width: 540px;
}

/* image right */
.text-image-left.text-image-fullwidth .text-image-copy,
.text-image-left.text-image-fullwidth .text-image-content h2 {
    margin-left: auto;
    margin-right: 0;
}

/* image left */
.text-image-right.text-image-fullwidth .text-image-copy,
.text-image-right.text-image-fullwidth .text-image-content h2 {
    margin-right: auto;
    margin-left: 0;
}

.text-image-fullwidth.text-image-fullwidth-no-image .text-image-content,
.text-image-fullwidth:not(.text-image-has-image) .text-image-content {
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 800px) {
    .text-image-has-image .text-image-inner {
        grid-template-columns: 1fr;
    }

    .text-image-content {
        padding: 28px 20px;
    }

    .text-image-media,
    .text-image-media img {
        min-height: 280px;
    }

    .text-image-left .text-image-content,
    .text-image-right .text-image-content {
        margin: 0;
        max-width: none;
    }
}

/* Fullwidth text/image panels: controlled crop */
.text-image-fullwidth .text-image-media {
    aspect-ratio: 5 / 3.6;
    min-height: 360px;
    overflow: hidden;
}

.text-image-fullwidth .text-image-media img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

/* Desktop split: image never grows beyond half viewport */
@media (min-width: 800px) {
    .text-image-fullwidth.text-image-has-image .text-image-media {
        max-width: 50vw;
    }
}

/* Mobile: let it behave naturally-ish but still tidy */
@media (max-width: 800px) {
    .text-image-fullwidth .text-image-media {
        max-width: none;
        min-height: 280px;
    }

    .text-image-fullwidth .text-image-media img {
        min-height: 280px;
    }
}

/* ==================================================
   TEXT + IMAGE: CONTENT WIDTH NATURAL IMAGES
================================================== */

.text-image-contentwidth .text-image-inner {
    align-items: center;
}

.text-image-contentwidth .text-image-media {
    min-height: 0;
    height: auto;
    align-self: center;
    overflow: hidden;
}

.text-image-contentwidth .text-image-media img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
}

/* Keep the nice rounded image only on content-width layouts */
.text-image-contentwidth .text-image-media {
    border-radius: var(--card-radius, 10px);
}

/* Stop tall image panels on mobile */
@media (max-width: 800px) {
    .text-image-contentwidth .text-image-media,
    .text-image-contentwidth .text-image-media img {
        min-height: 0;
        height: auto;
    }
}

/* MAPS */

.gc-map {
    width: 100%;
    min-height: 360px;
    border-radius: 0px;
    overflow: hidden;
    background: #f3f3f3;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.section--locations-map {
    padding: clamp(48px, 7vw, 96px) 0;
}

.section-header {
    max-width: 780px;
    margin: 0 auto 32px;
    text-align: center;
}

.location-map-section {
    padding: clamp(32px, 5vw, 72px) 0;
}

.locations-map-block {
    padding: 0;
}

.locations-map-block.map-width-fullwidth .gc-map {
    width: 100%;
    border-radius: 0;
}

.locations-map-block.map-width-contentwidth {
    padding: clamp(40px, 6vw, 80px) 20px;
}

.locations-map-block.map-width-contentwidth .gc-map {
    border-radius: 10px;
}

/* sidebar */



.floating-sidebar-container {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
width: fit-content;
    z-index: 20;
    display: flex;
justify-content: flex-end;
}

.floating-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,252,0.92);
    padding: 10px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    width: fit-content;
}

.floating-sidebar-title {
    font-weight: 700;
    margin-bottom: 12px;
}

.floating-social-icons {
    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;

    gap: 12px;

    align-items: center;
    justify-content: center;
}

.floating-social-icons li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.floating-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-sidebar-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.floating-social-icon,
.floating-callout-image {
    width: 28px;
    height: 28px;
    display: block;
    object-fit: contain;
}

.floating-sidebar-menu li {
    margin-bottom: 8px;
}

.floating-sidebar.has-menu {
    min-width: 240px;
}

.floating-sidebar-callout {
    margin: 3px 0px 3px 0px;
}

.floating-callout-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    text-decoration: none;
}

.floating-callout-icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.floating-callout-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    min-width: 220px;
    max-width: 280px;
    padding: 12px 14px;
    background: var(--pitch-black);
    color: var(--plain-white);
    font-size: 0.9rem;
    line-height: 1.35;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 100;
}

.floating-callout-tooltip strong,
.floating-callout-tooltip span {
    display: block;
}

.floating-callout-tooltip strong {
    margin-bottom: 4px;
}

@media (hover: hover) and (pointer: fine) {
    .floating-callout-link:hover .floating-callout-tooltip,
    .floating-callout-link:focus-visible .floating-callout-tooltip {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 768px) {

    .floating-sidebar-container {
        position: fixed;
        right: 0;
        left: 0;
        bottom: 0;
        top: auto;
        transform: none;
        width: 100%;
        z-index: 999;
    }

    .floating-sidebar {
        width: 100%;
        padding: 10px 16px;
        border-radius: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 18px;
    }

    .floating-sidebar-title,
    .floating-sidebar-menu {
        display: none;
    }

    .floating-sidebar-callout {
        margin: 0;
    }

    .floating-social-icons {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 18px;
        margin: 0;
        padding: 0;
    }

    .floating-social-icons li {
        margin: 0;
        padding: 0;
    }

    .floating-callout-tooltip {
        display: none;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 64px;
    }
}


/* CALL OUT */
.emergency-callout-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.emergency-callout-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.emergency-callout-content {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.emergency-callout-heading {
    font-weight: 700;
    font-size: clamp(0.8rem, 1vw, 1rem);
}

.emergency-callout-number {
    font-weight: 700;
    font-size: clamp(1rem, 1.4vw, 1.3rem);
}

.header-callout .floating-callout-link,
.menu-callout .floating-callout-link,
.footer-callout .floating-callout-link {
    width: auto;
    height: auto;
}

.header-callout .floating-callout-image,
.menu-callout .floating-callout-image,
.footer-callout .floating-callout-image {
    width: 34px;
    height: 34px;
    margin-right: 5px;
}

/* HEADER */

.page-header {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.page-header--narrow {
    min-height: clamp(220px, 22vw, 320px);
}

.page-header--deep {
    min-height: clamp(420px, 52vw, 680px);
}

.page-header-image,
.page-header-slider {
    position: absolute;
    inset: 0;
    z-index: -3;
}

.page-header-slider .swiper-wrapper,
.page-header-slider .swiper-slide {
    height: 100%;
}

.page-header-slide {
    position: relative;
}

.page-header-image img,
.page-header-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: var(--header-overlay-color, #000);
    opacity: var(--header-overlay-opacity, 0.45);
    z-index: -2;
}

.page-header-inner {
    width: min(1200px, calc(100% - 40px));
    min-height: inherit;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.page-header--align-left .page-header-inner {
    justify-content: flex-start;
}

.page-header--align-centre .page-header-inner {
    justify-content: center;
}

.page-header--align-right .page-header-inner {
    justify-content: flex-end;
}

.page-header-content {
    width: min(560px, calc(100% - 48px));
    max-width: 560px;
    padding: clamp(16px, 2vw, 28px) clamp(24px, 3vw, 48px);
    border: 0px solid rgba(255,255,255,0.75);
    background: var(--page-header-box-bg, rgba(0,0,0,0.62));
    color: #fff;
    text-align: center;
    border-radius: var(--card-radius)
}

.page-header-content h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@supports (font-size: 1cqw) {
    .page-header-content {
        container-type: inline-size;
    }

    .page-header-content h1 {
        font-size: clamp(1.5rem, 8cqw, 4rem);
    }
}

.page-header-content p {
    margin: 14px 0 0;
    font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.page-header--no-image {
    min-height: 260px;
}

@media (max-width: 768px) {
    .page-header-inner {
        width: min(100% - 28px, 1200px);
    }

    .page-header-content {
        width: 100%;
    }
}

/* CONTACT FORM */

.contact-form-section {
    padding: clamp(50px, 7vw, 90px) 20px;
    color: var(--pitch-black);
}

.contact-form-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-form-header {
    max-width: 760px;
    margin: 0 auto 32px;
    text-align: center;
}

.contact-form-header h2,
.contact-form-content h2 {
    font-size: var(--fs-h2);
    margin: 0 0 16px;
}

.contact-form-intro {
    font-size: var(--fs-body);
}

.contact-form-intro > *:last-child {
    margin-bottom: 0;
}

.contact-form-panel {
    max-width: 760px;
    margin: 0 auto;
}

.contact-form-style-boxed .contact-form-panel,
.contact-form-style-emergency .contact-form-panel,
.contact-form-style-split_with_text .contact-form-panel {
    background: var(--plain-white);
    padding: clamp(24px, 4vw, 44px);
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
}

.contact-form-split {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
}

.contact-form-split .contact-form-panel {
    max-width: none;
    margin: 0;
}

.contact-form-content {
    max-width: 520px;
}

.contact-form-style-emergency {
    background: var(--sunbeam-yellow);
}

.contact-form-style-emergency .contact-form-panel {
    border: 3px solid var(--pitch-black);
}

/* Gravity Forms soft reset */

.contact-form-section .gform_wrapper input,
.contact-form-section .gform_wrapper select,
.contact-form-section .gform_wrapper textarea {
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 12px 14px;
}

.contact-form-section .gform_wrapper .gform_button,
.contact-form-section .gform_wrapper button,
.contact-form-section .gform_wrapper input[type="submit"] {
    border: 0;
    border-radius: 10px;
    padding: 12px 24px;
    background: var(--tech-blue);
    color: var(--plain-white);
    font-weight: 700;
    cursor: pointer;
}

.contact-form-section .gform_wrapper .gform_button:hover,
.contact-form-section .gform_wrapper button:hover,
.contact-form-section .gform_wrapper input[type="submit"]:hover {
    background: var(--pitch-black);
}

@media (max-width: 800px) {
    .contact-form-split {
        grid-template-columns: 1fr;
    }

    .contact-form-content {
        max-width: none;
        text-align: center;
    }
}

/* --------------------------------------------------
   GRAVITY FORMS GLOBAL RESET
-------------------------------------------------- */

.gform_wrapper,
.gform_wrapper * {
    font-family: var(--font-body);
}

/* Labels */

.gform_wrapper .gfield_label {
    font-family: var(--font-heading);
    font-size: var(--fs-small);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--pitch-black);
}

/* Inputs */

.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="number"],
.gform_wrapper input[type="password"],
.gform_wrapper textarea,
.gform_wrapper select {
    width: 100%;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.5;

    background: var(--plain-white);
    color: var(--pitch-black);

    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 6px;

    padding: 14px 16px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

/* Focus */

.gform_wrapper input:focus,
.gform_wrapper textarea:focus,
.gform_wrapper select:focus {
    outline: none;
    border-color: var(--tech-blue);
    box-shadow: 0 0 0 4px rgba(0,94,184,0.12);
}

/* Textareas */

.gform_wrapper textarea {
    min-height: 160px;
    resize: vertical;
}

/* Descriptions */

.gform_wrapper .gfield_description,
.gform_wrapper .instruction {
    font-size: var(--fs-small);
    opacity: 0.8;
}

/* Validation */

.gform_wrapper .validation_message {
    font-size: var(--fs-small);
    border-radius: 10px;
    padding: 10px 12px;
}

/* Submit button */

.gform_wrapper .gform_button,
.gform_wrapper button[type="submit"],
.gform_wrapper input[type="submit"] {
    appearance: none;
    border: 0;

    background: var(--tech-blue);
    color: var(--plain-white);

    font-family: var(--font-heading);
    font-size: var(--fs-body);
    font-weight: 700;

    border-radius: 999px;

    padding: 14px 26px;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.gform_wrapper .gform_button:hover,
.gform_wrapper button[type="submit"]:hover,
.gform_wrapper input[type="submit"]:hover {
    background: var(--pitch-black);
    transform: translateY(-1px);
}

/* Confirmation message */

.gform_confirmation_message {
    background: var(--fresh-sky);
    padding: 22px 24px;
    border-radius: 6px;
    font-size: var(--fs-body);
}

/* Remove weird default spacing */

.gform_wrapper .gfield {
    margin-bottom: 18px;
}

.gform_wrapper .gform_footer {
    margin-top: 24px;
    padding-top: 0;
}

/* ==================================================
   SEARCH
================================================== */

.search-container,
.menu-search-container {
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 1000;
}

.search-form,
.menu-search-form {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 54px;
    height: 54px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
    transition: width 0.3s ease, background 0.25s ease;
}

.search-container.active .search-form,
.menu-search-container.active .menu-search-form {
    width: 320px;
    background: var(--plain-white);
    border-color: rgba(255,255,255,0.25);
}

.search-input,
.menu-search-input {
    position: absolute;
    left: 0;
    top: 0;
    width: calc(100% - 54px);
    height: 100%;
    padding: 0 14px;
    border: 0;
    background: transparent;
    color: var(--tech-blue);
    font-size: 16px;
    opacity: 0;
    pointer-events: none;
    outline: none;
}


.search-container.active .search-input,
.menu-search-container.active .menu-search-input {
    opacity: 1;
    pointer-events: auto;
}


.search-submit,
.menu-search-submit {
    appearance: none;
    position: relative;
    z-index: 2;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    margin: 0;
    padding: 0;
    border: 0;
    display: grid;
    place-items: center;
    background: transparent;
    color: var(--plain-white);
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    box-shadow: none;
}


.search-submit i,
.menu-search-submit i {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    line-height: 1;
    margin: 0;
}

.search-container.active .search-submit,
.menu-search-container.active .menu-search-submit {
    color: var(--tech-blue);
}

.search-submit:hover,
.search-submit:focus,
.menu-search-submit:hover,
.menu-search-submit:focus {
    background: rgba(255,255,255,0.08);
    color: var(--sunbeam-yellow);
}

.search-input:focus,
.menu-search-input:focus {
    outline: none;
}

.search-input:-webkit-autofill,
.menu-search-input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--plain-white) inset !important;
    -webkit-text-fill-color: var(--tech-blue) !important;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration,
[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

@media screen and (max-width: 768px) {
    .search-container {
        display: none;
    }
}


/* ==================================================
   FULLSCREEN MENU
================================================== */


body.menu-open {
    overflow: hidden;
}

.fullscreen-menu * {
    box-sizing: border-box;
}

.fullscreen-menu a {
    color: inherit;
    text-decoration: none;
}

.fullscreen-menu a:hover,
.fullscreen-menu a:focus {
    color: var(--sunbeam-yellow);
}

.menu-header {
 width: min(1500px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 160px 1fr auto;
        gap: 24px;
    margin-bottom: 10px;
 align-items: center;
}


.menu-logo {
    display: inline-block;
}

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

.fullscreen-menu .menu-close {
    appearance: none;
    width: 64px;
    height: 64px;
    font-size: 42px;
    padding: 0 0 0px 0;
    border: 0;
        border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    font-weight: 800;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: none;
    text-shadow: none;
}

.fullscreen-menu .menu-close:hover,
.fullscreen-menu .menu-close:focus {
 background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.24);
    transform: translateY(-2px);
}

.fullscreen-menu-inner {
    width: min(1500px, 100%);
    margin: 10px auto;
    display: grid;
   gap: clamp(24px, 1vw, 22px);
}

.menu-section-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr)); 
   gap: clamp(28px, 3vw, 48px); 
}

.menu-column {
    min-width: 0;
}

.menuheader {
    color: var(--plain-white);
    border-bottom: 0px solid rgba(255,255,255,.65);
      padding-bottom: 14px;
    margin: 0 0 14px;
    font-size: clamp(26px, 2vw, 32px);
    line-height: 1.05;
}

.fullscreen-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fullscreen-menu li {
    margin: 0;
    padding: 0;
}

.fullscreen-menu .menu > li {
    margin-bottom: .5px;
}

.fullscreen-menu .menu > li > a,
.fullscreen-menu .sub-menu a {
    font-family: var(--font-body);
       font-size: clamp(16px, 1.1vw, 18px);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: .01em;
}

.fullscreen-menu .sub-menu {
    display: none;
    margin: 12px 0 6px 0;
    padding: 0 0 0 18px;
   }

.fullscreen-menu .menu-item.is-open > .sub-menu {
    display: block;
}

.fullscreen-menu .sub-menu li {
    margin-bottom: .5px;
}

.fullscreen-menu .sub-menu a {
    font-size: clamp(16px, 1.4vw, 19px);
    font-weight: 500;
    opacity: .9;
}

.fullscreen-menu .menu-item-has-children > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.fullscreen-menu .menu-item-has-children > a::after {
    content: "+";
    color: var(--sunbeam-yellow);
    font-weight: 700;
}

.fullscreen-menu .menu-item-has-children.is-open > a::after {
    content: "−";
}

.fullscreen-menu .menu-search-container {
    padding-top: 9px;
}

.fullscreen-menu .menu-search-form {
    width: 320px;
}

.gc-button svg,
.search-button svg,
.eachmenulink svg {
    width: 1em;
    height: 1em;
    display: inline-block;
    flex: 0 0 auto;
}

.menu-site-map-link {
    display: inline-flex;
    justify-content: center;
    min-width: 320px;
      padding: 11px 22px;
    font-weight: 800;
       text-decoration: none;
       border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.menu-site-map-link:hover,
.menu-site-map-link:focus, 
.menu-site-map-link a:hover,
.menu-site-map-link a:focus {
 background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.24);
    transform: translateY(-2px);
}


.menu-utility-column {
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
    padding-top: 0;
}


.menu-header-left {
    display: flex;
    align-items: flex-start;
}

.menu-header-center {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.menu-header-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .fullscreen-menu {
        padding: 22px;
    }

    .menu-header {
        grid-template-columns: 120px 1fr auto;
        margin-bottom: 10px;
    }

    .fullscreen-menu .menu-close {
        width: 64px;
        height: 64px;
        font-size: 42px;
    }

    .fullscreen-menu-inner {
        gap: 22px;
    }

    .menu-section-row {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .fullscreen-menu .menu-search-form {
        width: 100%;
    }

    .menu-site-map {
        justify-self: stretch;
    }

    .menu-site-map a,
    .menu-site-map-link {
        width: 100%;
        min-width: 200px;
        max-width: 200px;
    }

    .menu-utility-column {
        align-self: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding-top: 0;
    }


}

@media (max-width: 600px) {
    .menu-header {
        grid-template-columns: 1fr auto;
    }

    .menu-header-center {
        grid-column: 1 / -1;
        order: 3;
    }
  
}

/*action links */

.global-action-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.global-action-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.884);
    border: 1px solid rgba(255,255,255,0.14);
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.2s ease;
}

.global-action-icon:hover,
.global-action-icon:focus {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.24);
    transform: translateY(-2px);
}

.global-action-icon-image {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.menu-action-links {
    justify-content: flex-end;
}

/* ==================================================
   FOOTER
================================================== */

.footer-container {
    background: var(--tech-blue-deep);
    color: var(--plain-white);
}

.footer1 {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: clamp(20px, 2vw, 32px);

    width: 100%;

    padding:
        clamp(24px, 2.8vw, 42px)
        clamp(20px, 3vw, 40px);

    align-items: start;
}

.footer1 h3 {
    color: var(--plain-white);
 margin: 0 0 12px;
    font-size: clamp(22px, 1.6vw, 30px);
    line-height: 1.05;
    letter-spacing: .01em;
}

.footer1 p,
.footer1 a,
.footer1 li {
    color: var(--plain-white);
    font-size: 15px;
    line-height: 1.15;
    margin-bottom: 0em;
}

.footer1 a {
    text-decoration: none;
}

.footer1 a:hover,
.footer1 a:focus {
    color: var(--sunbeam-yellow);
}

.footer-branding {
    width: 160px;
}

.footer-branding img {
    display: block;
    width: 100%;
    height: auto;
}

.footer2,
.footer3,
.footer4 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
}


.footer2 > *,
.footer3 > *,
.footer4 > * {
    margin-top: 0;
    margin-bottom: 0;
}
.footerblurb {
    max-width: 300px;
  margin: 0 0 18px;
}

.footeraddress,
.footeremail {
    margin: 0 0 8px;
}

.footer-menu,
.footer-menu-items,
.footer-social-links,
.footer-social-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu {
    display: grid;
    gap: 5px;
}

/* Action icons reused from menu */
.footer-action-links,
.footer-social-links {
    display: flex;
    align-items: center;
        flex-wrap: wrap;
       gap: 8px;
    margin-top: 14px;
}

.footer5 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 4px;
    background: var(--red-dip);
  color: var(--milk-dip);
}
.footer6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 4px;
     background: var(--red-dip);
  color: var(--milk-dip);
}

.footer5 .floating-sidebar-callout {
    margin: 0;
    font-size: .9rem;
}

.footer-copyright {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-copyright p {
    margin: 0;
    color: var(--plain-white);
    font-size: 13px;
    text-align: center;
}



/* ==================================================
   FOOTER RESPONSIVE
================================================== */

@media (max-width: 1100px) {
    .footer1 {
        grid-template-columns: 150px repeat(2, minmax(220px, 1fr));
    }
}

@media (max-width: 760px) {
    .footer1 {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 36px 24px;
        text-align: left;
    }

    .footer-branding {
        width: 130px;
    }

    .footer1 h3 {
        margin-bottom: 12px;
    }

    .footerblurb {
        max-width: none;
        margin-bottom: 18px;
    }

    .footer-action-links,
    .footer-social-links {
        margin-top: 16px;
    }

    .footer5 {
        padding: 18px 20px;
    }
}

/* ==================================================
   Modern visual pass, current overrides and final polish

/* --------------------------------------------------
   Base rhythm
-------------------------------------------------- */

.feeds,
.testimonials-list, 
.testimonials-grid,
.simple-slider-section,
.banner-block,
.text-image-block,
.section--locations-map,
.contact-form-section {
    padding-top: var(--section-y-tight);
    padding-bottom: var(--section-y-tight);
}

.testimonials-slider,
.faq-block,
.primarytextcontainer {
    padding-top: var(--section-y-supertight);
    padding-bottom: var(--section-y-supertight);
}

.location-map-section,
.text-image-block.text-image-fullwidth {
    padding-top: 0;
     padding-bottom: 0;
}


.simple-slider-section.padding-1 {
      padding-top: 0;
    padding-bottom: 0;  
}

.simple-slider-section.padding-1  .simple-slider-swiper {
    padding-bottom: 0px;
}


.feeds-header,
.testimonials-header,
.faq-block-header,
.contact-form-header,
.section-header {
    max-width: 780px;
    margin-bottom: clamp(28px, 4vw, 46px);
}

.feeds-header h2,
.testimonials-header h2,
.faq-block-header h2,
.banner-content h2,
.text-image-content h2,
.contact-form-header h2,
.contact-form-content h2,
.section-header h2 {
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.feeds-intro,
.testimonials-header p,
.faq-block-intro,
.banner-text,
.text-image-copy,
.contact-form-intro,
.section-header p {
    line-height: 1.72;
}

/* White-first content areas */
.bg-tech-blue,
.bg-fresh-sky {
    background: var(--warm-white);
}

.bg-platinum {
    background: var(--platinum);
}

.bg-pitch-black,
.bg-soft-charcoal {
    background: var(--pitch-black);
    color: var(--plain-white);
}


/* --------------------------------------------------
   Reveal animation system
   JS adds .gc-reveal-in when visible
-------------------------------------------------- */

.gc-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.7s var(--ease-out-soft),
        transform 0.7s var(--ease-out-soft);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.gc-reveal.gc-reveal-in {
    opacity: 1;
    transform: translateY(0);
}

.gc-reveal-group > * {
    --reveal-delay: 0ms;
}

.gc-reveal-group > *:nth-child(2) { --reveal-delay: 60ms; }
.gc-reveal-group > *:nth-child(3) { --reveal-delay: 120ms; }
.gc-reveal-group > *:nth-child(4) { --reveal-delay: 180ms; }
.gc-reveal-group > *:nth-child(5) { --reveal-delay: 240ms; }
.gc-reveal-group > *:nth-child(6) { --reveal-delay: 300ms; }
.gc-reveal-group > *:nth-child(7) { --reveal-delay: 360ms; }
.gc-reveal-group > *:nth-child(8) { --reveal-delay: 420ms; }

@media (prefers-reduced-motion: reduce) {
    .gc-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* --------------------------------------------------
   Links and buttons
-------------------------------------------------- */


.feeds-plain a,
.text-image-copy a,
.faq-answer-inner a,
.contact-form-content a {
    position: relative;
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition:
        color 0.25s ease,
        background-size 0.35s var(--ease-out-soft);
}

.banner-button-plain:hover,
.feeds-plain a:hover,
.text-image-copy a:hover,
.faq-answer-inner a:hover,
.contact-form-content a:hover {
    color: var(--tech-blue);
    background-size: 100% 2px;
}


.feeds-content h3 a{
    position: relative;
    color: inherit;
    text-decoration: none;
    background-image: none;
    background-size: 0 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition:
        color 0.25s ease,
        background-size 0.35s var(--ease-out-soft);
}

.feeds-content h3 a:hover {
    color: var(--pitch-black);
    background-size: 100% 2px;
}





.banner-button,
.feeds-button,
.gform_wrapper .gform_button,
.gform_wrapper button[type="submit"],
.gform_wrapper input[type="submit"],
.contact-form-section .gform_wrapper .gform_button,
.contact-form-section .gform_wrapper button,
.contact-form-section .gform_wrapper input[type="submit"] {
    background: var(--pitch-black);
    color: var(--sunbeam-yellow);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 24px rgba(0,0,0,0.13);
    transition:
        transform 0.25s var(--ease-out-soft),
        box-shadow 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.banner-button:hover,
.feeds-button:hover,
.gform_wrapper .gform_button:hover,
.gform_wrapper button[type="submit"]:hover,
.gform_wrapper input[type="submit"]:hover,
.contact-form-section .gform_wrapper .gform_button:hover,
.contact-form-section .gform_wrapper button:hover,
.contact-form-section .gform_wrapper input[type="submit"]:hover {
    background: var(--tech-blue);
    color: var(--plain-white);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0,0,0,0.18);
}

/* --------------------------------------------------
   Cards
-------------------------------------------------- */

.feeds-card,
.faq-item,
.contact-form-style-boxed .contact-form-panel,
.contact-form-style-emergency .contact-form-panel,
.contact-form-style-split_with_text .contact-form-panel,
.banner-side-image {
    border-radius: var(--card-radius);
    box-shadow: var(--soft-shadow);
}

.feeds-card,
.faq-item {
    background: var(--plain-white);
    border: 0px solid rgba(0,0,0,0.06);
    transition:
        transform 0.45s var(--ease-out-soft),
        box-shadow 0.45s ease,
        border-color 0.3s ease;
}

.feeds-card:hover,
.faq-item:hover {
    transform: translateY(-4px);

    box-shadow:
        0 8px 18px rgba(0,0,0,0.06),
        0 24px 44px rgba(0,0,0,0.08);
}

.feeds-image,
.simple-slider-slide,
.text-image-media,
.banner-side-image {
    overflow: hidden;
}

.feeds-image img,
.simple-slider-slide img,
.text-image-media img,
.banner-side-image img {
    transition:
        transform 0.7s var(--ease-out-soft),
        opacity 0.35s ease;
}

.feeds-card:hover .feeds-image img,
.simple-slider-slide:hover img,
.text-image-media:hover img,
.banner-side-image:hover img {
    transform: scale(1.03);
}

/* --------------------------------------------------
   feeds
-------------------------------------------------- */

/* feeds: equal-height product/service cards */

.feeds-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feeds-image {
    aspect-ratio: 5 / 3.6;
    padding: 0px;
    background: var(--plain-white); 
    border-radius: 10px 10px 0px 0px;
}

.feeds-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feeds-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: clamp(24px, 3vw, 34px);
}

.feeds-content h3 {
    min-height: 3.1em;
    margin: 0 0 18px;
       line-height: 1.08;
}

.feeds-content p {
        font-size: var(--soft-charcoal);
    line-height: 1.45;
    margin: 0 0 24px;
}

.feeds-content .feeds-button,
.feeds-content a.feeds-button {
    margin-top: auto;
    align-self: flex-start;
}

/* optional: for tighter product cards */
.feeds-grid .feeds-card {
    min-height: 100%;
}

.feeds-wrap {
    gap: clamp(20px, 3vw, 32px);
}

.feeds-content h3 {
        position: relative;
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: 14px;
}

.feeds-content {
    padding: clamp(22px, 3vw, 32px);
}

.feeds-button {
    margin-top: 8px;
    background: var(--pitch-black);
    color: var(--sunbeam-yellow);
}

.feeds-content h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 1px;

    background: var(--rosey-copper);

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.35s ease;
}

.feeds-card:hover h3::after {
    transform: scaleX(1);
}



.feeds-content {
    padding: clamp(24px, 3vw, 34px);
}

.feeds-content h3 {
    margin-bottom: 16px;
        width: fit-content;
}

.feeds-content p {
    line-height: 1.3rem;
}

/* --------------------------------------------------
   Testimonials
-------------------------------------------------- */

.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: "";
    display: block;
    width: 82px;
    height: 3px;
    margin: auto;
    margin-bottom: 22px;
    border-radius: 10px;
    background: var(--rosey-copper);
}

.testimonial-card blockquote {
    line-height: 1.72;
}

.testimonial-card span {
    color: var(--rosey-copper);
    opacity: 0.92;
}
 
/* --------------------------------------------------
   FAQ
-------------------------------------------------- */

.faq-item {
    overflow: clip;
}

.faq-question {
    background: var(--plain-white);
    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.faq-question:hover,
.faq-question[aria-expanded="true"] {
    color: var(--tech-blue-deep);
    background: var(--warm-white);
}

.faq-answer {
    background: var(--plain-white);
    border-top: 1px solid rgba(20,20,20,0.07);
}

/* --------------------------------------------------
   Banner
-------------------------------------------------- */

.banner-block {
    background-color: var(--warm-white);
}

.banner-content {
    max-width: 720px;
}

.banner-has-bg-image .banner-content {
    color: var(--plain-white);
    text-shadow: 0 2px 18px rgba(0,0,0,0.24);
}

.banner-side-image {
   border: 1px solid rgba(0,0,0,0.06);
}

/* --------------------------------------------------
   Text and image
-------------------------------------------------- */

.text-image-inner {
    gap: var(--content-gap);
}

.text-image-content.fullwidth,
.text-image-fullwidth .text-image-content {
    background: inherit;
}

.text-image-media {
    border-radius: var(--card-radius);
    box-shadow: var(--soft-shadow);
}

.text-image-fullwidth .text-image-media {
    border-radius: 0;
    box-shadow: none;
}

.text-image-fullwidth .text-image-inner {
    gap: 0;
}

@media (max-width: 768px) {

    .text-image-inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "content"
            "image";
    }

    .text-image-content {
        grid-area: content;
    }

    .text-image-media {
        grid-area: image;
    }
	
	.text-image-left.text-image-fullwidth .text-image-copy, .text-image-left.text-image-fullwidth .text-image-content h2
 {
    margin-left: 0;
    margin-right: 0;
}

}

/* --------------------------------------------------
   Simple slider
-------------------------------------------------- */

.simple-slider-slide {
    box-shadow: var(--soft-shadow);
}

.simple-slider-overlay {
    background:
        linear-gradient(to top, rgba(0,0,0,0.76), rgba(0,0,0,0.08) 72%, rgba(0,0,0,0));
}

.simple-slider-overlay h2 {
    letter-spacing: -0.02em;
}

.swiper-slide a:hover, .swiper-wrapper a:hover{
color: var(--rosey-copper);
}


.simple-slider-section.padding-1 {
    padding: 0;
}

.simple-slider-section.padding-1 .simple-slider-inner,
.simple-slider-section.padding-1 .swiper,
.simple-slider-section.padding-1 .swiper-wrapper,
.simple-slider-section.padding-1 .swiper-slide {
    margin: 0;
    padding: 0;
}

.simple-slider-section.padding-1 .swiper-slide {
    overflow: hidden;
}

.simple-slider-section.padding-1 .simple-slider-inner {
    padding: 0;
    max-width: none;
}

.simple-slider-section.padding-1 .swiper-slide {
    margin: 0;
}

.simple-slider-swiper {
    opacity: 0;
    transition: opacity .25s ease;
}

.simple-slider-swiper.swiper-ready {
    opacity: 1;
}

.simple-slider-swiper .swiper-slide {
    height: clamp(280px, 32vw, 430px);
    overflow: hidden;
}

.simple-slider-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* --------------------------------------------------
   Maps
-------------------------------------------------- */

.gc-map {
   border: 0px solid rgba(0,0,0,0.06);
}

/* --------------------------------------------------
   Contact forms
-------------------------------------------------- */

.contact-form-style-emergency {
    background: var(--pitch-black);
    color: var(--plain-white);
}

.contact-form-style-emergency .contact-form-panel {
    border: 2px solid var(--sunbeam-yellow);
}

.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="number"],
.gform_wrapper input[type="password"],
.gform_wrapper textarea,
.gform_wrapper select {
    border-color: rgba(20,20,20,0.14);
    background: #fff;
    border-radius: 10px;
}

.gform_wrapper input:focus,
.gform_wrapper textarea:focus,
.gform_wrapper select:focus {
    border-color: var(--tech-blue);
    box-shadow: 0 0 0 4px rgba(30,91,135,0.13);
}

.gform_confirmation_message {
    background: var(--fresh-sky);
    border-left: 4px solid var(--tech-blue);
}

/* --------------------------------------------------
   Floating sidebar and callouts
-------------------------------------------------- */

.floating-sidebar {
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(10px);
   border: 1px solid rgba(0,0,0,0.06);
}

.floating-callout-tooltip {
    background: var(--pitch-black);
    color: var(--plain-white);
    border-left: 3px solid var(--sunbeam-yellow);
}

#calloutfooter {
	padding-top: 10px
}

/* --------------------------------------------------
   Mobile tightening
-------------------------------------------------- */

@media (max-width: 800px) {
    .feeds-header,
    .testimonials-header,
    .faq-block-header,
    .contact-form-header,
    .section-header {
        margin-bottom: 26px;
    }

    .feeds-card:hover,
    .testimonial-card:hover,
    .faq-item:hover {
        transform: none;
    }
}



.bg-none {
    background: transparent;
    color: var(--black-dip);
        --bullet-icon: url('/wp-content/themes/magellanic/assets/images/dipstore-logo-black.svg');
}

.bg-white-dip {
    background: var(--white-dip);
    color: var(--black-dip);
        --bullet-icon: url('/wp-content/themes/magellanic/assets/images/dipstore-logo-black.svg');
}

.bg-milk-dip {
    background: var(--milk-dip);
    color: var(--black-dip);
        --bullet-icon: url('/wp-content/themes/magellanic/assets/images/dipstore-logo-black.svg');
}


.bg-sea-dip {
    background: var(--sea-dip);
    color: var(--milk-dip);
        --bullet-icon: url('/wp-content/themes/magellanic/assets/images/dipstore-logo-red.svg');
}

.bg-blue-dip {
    background: var(--blue-dip);
    color: var(--white-dip);
        --bullet-icon: url('/wp-content/themes/magellanic/assets/images/dipstore-logo-white.svg');
}

.bg-green-dip {
    background: var(--green-dip);
  color: var(--white-dip);
        --bullet-icon: url('/wp-content/themes/magellanic/assets/images/dipstore-logo-white.svg');
}

.bg-foam-dip {
    background: var(--foam-dip);
    color: var(--blue-dip);
        --bullet-icon: url('/wp-content/themes/magellanic/assets/images/dipstore-logo-blue.svg');
}

.bg-black-dip {
    background: var(--black-dip);
    color: var(--white-dip);
        --bullet-icon: url('/wp-content/themes/magellanic/assets/images/dipstore-logo-white.svg');
}

.bg-red-dip {
    background: var(--red-dip);
    color: var(--sherbert-dip);
        --bullet-icon: url('/wp-content/themes/magellanic/assets/images/dipstore-logo-sherbert.svg');
}

.bg-sherbert-dip {
    background: var(--sherbert-dip);
    color: var(--black-dip);
        --bullet-icon: url('/wp-content/themes/magellanic/assets/images/dipstore-logo-red.svg');
}

.bg-tech-blue h1,
.bg-tech-blue h2,
.bg-tech-blue h3,
.bg-tech-blue p,
.bg-tech-blue-deep h1,
.bg-tech-blue-deep h2,
.bg-tech-blue-deep h3,
.bg-tech-blue-deep p,
.bg-soft-charcoal h1,
.bg-soft-charcoal h2,
.bg-soft-charcoal h3,
.bg-soft-charcoal p,
.bg-pitch-black h1,
.bg-pitch-black h2,
.bg-pitch-black h3,
.bg-pitch-black p,
.bg-rosey-copper h1,
.bg-rosey-copper h2,
.bg-rosey-copper h3,
.bg-rosey-copper p {
    color: inherit;
}

/* --------------------------------------------------
   Gravity Forms: light global tidy
-------------------------------------------------- */

/* Wider outer panel */
.contact-form-panel {
    max-width: 1200px;
}

/* Reduce vertical space between GF fields */
.contact-form-panel .gform_wrapper .gform_fields {
    row-gap: 22px !important;
}

/* GF sometimes adds margins directly to fields */
.contact-form-panel .gform_wrapper .gfield {
    margin-bottom: 0 !important;
}

/* Reduce big gaps around fieldsets / checkbox sections */
.contact-form-panel .gform_wrapper fieldset.gfield {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Make checkbox list horizontal */
.contact-form-panel .gform_wrapper .gfield_checkbox {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 10px 22px;
    align-items: center;
}

/* Keep each checkbox tidy */
.contact-form-panel .gform_wrapper .gchoice {
    display: flex;
    align-items: center;
    gap: 7px;
}

/* Button: Guy Crabb black/yellow style */
.contact-form-panel .gform_wrapper .gform_button,
.contact-form-panel .gform_wrapper input[type="submit"] {
    background: var(--pitch-black, #100B00) !important;
    color: var(--sunbeam-yellow, #ffd600) !important;
    border: 0px solid var(--pitch-black, #100B00) !important;
    border-radius: 4px;
    padding: 12px 22px;
    font-weight: 700;
}

.contact-form-panel .gform_wrapper .gform_button:hover,
.contact-form-panel .gform_wrapper input[type="submit"]:hover {
    background: var(--sunbeam-yellow, #ffd600) !important;
    color: var(--pitch-black, #100B00) !important;
}


.global-action-icon-image {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

/* NEWS WIDGET */

.footer4 .widgettitle {
    display: none;
}

.footer4 .wp-block-latest-posts,
.footer4 .latest-posts-widget ul {
    display: flex;
    flex-direction: column;
    gap: 12px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.footer4 .latest-posts-widget li {
    margin: 0;
    padding: 0;
} 

.sideimagediv {
    border-radius: 22px;
}

.sideimage {
    border-radius: 22px;
}

.eachmenulink {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.placeholderimg {
    border-radius: 22px;
}


/* Gravity Forms tidy override */
.contact-form-panel,
.gform_wrapper {
    max-width: 1200px;
    margin-inline: auto;
}

/* Reduce giant gaps */
.gform_wrapper.gravity-theme .gform_fields {
    row-gap: 18px !important;
}

.gform_wrapper.gravity-theme .gfield {
    margin-bottom: 0 !important;
}

.gform_wrapper.gravity-theme .gfield_label {
    margin-bottom: 6px !important;
    font-weight: 600;
}

/* Inputs - single source of truth */
.gform_wrapper.gravity-theme input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.gform_wrapper.gravity-theme select,
.gform_wrapper.gravity-theme textarea {
    width: 100% !important;
    min-height: 44px;
    padding: 10px 14px !important;

    background: #fff !important;
    border: 2px solid #d8e0e8 !important;
    border-radius: 6px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,.04) !important;

    font-size: 16px;
    transition: .2s ease;
    appearance: auto;
}

/* Focus */
.gform_wrapper.gravity-theme input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):focus,
.gform_wrapper.gravity-theme select:focus,
.gform_wrapper.gravity-theme textarea:focus {
    border-color: var(--tech-blue) !important;
    box-shadow: 0 0 0 4px rgba(15,92,153,.12) !important;
    outline: none;
}

/* Textarea less barn-door */
.gform_wrapper.gravity-theme textarea {
    min-height: 140px;
}

/* Description text */
.gform_wrapper.gravity-theme .gfield_description,
.gform_wrapper.gravity-theme .gform-field-label--type-sub {
    margin-top: 4px;
    font-size: 14px;
    color: #667085;
}

/* Required text */
.gform_wrapper.gravity-theme .gfield_required {
    color: #d93600;
    font-size: 13px;
}

/* Horizontal checkbox/radio groups */
.gform_wrapper.gravity-theme .gfield_checkbox,
.gform_wrapper.gravity-theme .gfield_radio {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
}

.gform_wrapper.gravity-theme .gfield_checkbox .gchoice,
.gform_wrapper.gravity-theme .gfield_radio .gchoice {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gform_wrapper.gravity-theme .gform_button:hover,
.gform_wrapper.gravity-theme input[type="submit"]:hover {
    background: #ffd600;
    color: #100B00;
}

.gform_wrapper.gravity-theme .gform_fields {
    row-gap: 12px !important;
}

/* nav header extras */
@media (max-width: 800px) {
	.sub-header-container {display: none;}
	.floating-sidebar-callout.header-callout .floating-callout-visible-text {display: none;}
}

@media screen and (max-width: 800px) {
    .header-left {
        display: flex;
        flex: 2;
        padding-left: 5%;
			padding-top: 10px;
    }
}

.header-callout .floating-callout-image {
	width: 54px;
    height: 54px;
}

.menu-callout .floating-callout-image {
	width: 54px;
    height: 54px;
}

.floating-sidebar-callout.header-callout  {
    margin: 0px 0px 0px 0px;
}




/* BULLETS */

section ul {
    list-style: none; /* Remove default bullets */
    padding-left: 0; /* Remove default padding */
			margin-left: 10px;
}

section ul li {
    position: relative;
    padding-left: 2em; /* Space for bullet */
}

section ul li::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0.2em;
    width: 24px;
    height: 24px;
    background-image: var(--bullet-icon);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

section ul li {
    text-indent: 0; /* Ensures the first line doesn't shift back */
    padding-left: 1.8em; /* Adjust this based on icon size */
    display: block;
	padding-bottom: 1em;
}

/* ==================================================
   RESTORED SITE HEADER / NAVIGATION
   Restored after CSS consolidation. These are site chrome rules,
   not page-header hero rules.
================================================== */

.site-header {
    position: relative;
    z-index: 99;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 0;
    padding: 0;
}

.header-container {
    position: fixed;
    z-index: 98;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 10px;
    padding-right: 10px;
  }

.header-left {
    display: flex;
    flex: 1;
    align-items: center;
    padding-left: 5%;
}

.header-center {
    display: flex;
    flex: 1;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 1rem;
    padding-right: 20px;
    text-align: right;
    flex-wrap: nowrap;
}

.header-right {
    flex: 0;
    margin: 5px;
    background-color: var(--transp-site);
}

.site-logo {
    display: flex;
    min-width: 360px;
    margin: 5px;
    position: relative;
    border-bottom: 0 dotted black;
    cursor: pointer;
}

.site-logo img {
    width: 360px;
    height: auto;
    margin-bottom: -65px;
    transform-origin: top left;
    transform: scale(1);
    transition: transform 0.8s cubic-bezier(.22,1,.36,1);
    will-change: transform;
}

.site-logo img.scrolled {
    transform: translateY(-8px) scale(0.72);
}

.hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 60px;
    margin: 0;
    border-radius: 999px;
    right: 0;
    top: 0;
}

.hamburger span {
    width: 36px;
    height: 3px;
    border-radius: 18px;
    background-color: var(--plain-white);
    transition: all 0.3s ease;
}

.hamb1span,
.hamb2span,
.hamb3span {
    margin-left: auto;
    margin-right: auto;
}

.hamb1span {
    margin-top: 20px;
    
}

.hamb3span {
    margin-bottom: 20px;
}

.hamb1span {
    background-color: var(--red-dip) !important;
    }

.hamb2span {
      background-color: var(--sherbert-dip) !important;
}

.hamb3span {
     background-color: var(--green-dip) !important;
}

/* WordPress navigation fallback */
.main-navigation {
    display: block;
    width: 100%;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation ul ul {
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
    float: left;
    box-shadow: 0 3px 3px rgba(0,0,0,0.2);
}

.main-navigation ul ul ul {
    top: 0;
    left: -999em;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul,
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    left: auto;
    display: block;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

@media screen and (min-width: 37.5em) {
    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: flex;
    }
}

/* Sub-header menu below main header */
.sub-header-container {
    position: relative;
    z-index: 97;
    clear: both;
    width: 100%;
    margin-top: 90px;
    background: var(--warm-white);
    border-top: 1px solid var(--platinum);
    border-bottom: 1px solid var(--platinum);
}

.sub-header-nav {
    width: 100%;
}

#sub-header-menu,
.sub-header-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    list-style: none;
    margin: 0;
    padding: 0;
}

#sub-header-menu > li,
.sub-header-menu > li {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

#sub-header-menu > li > a,
.sub-header-menu > li > a {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    color: var(--pitch-black);
    text-decoration: none;
    font-weight: 600;
    line-height: 1.2;
}

#sub-header-menu > li:hover > a,
.sub-header-menu > li:hover > a {
    background: var(--platinum);
}

#sub-header-menu > li > .sub-menu,
.sub-header-menu > li > .sub-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    min-width: 300px;
    list-style: none;
    margin: 0;
    padding: 20px 0 6px;
    background: var(--platinum) !important;
    border: 1px solid var(--platinum);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

#sub-header-menu > li:hover > .sub-menu,
#sub-header-menu > li:focus-within > .sub-menu,
.sub-header-menu > li:hover > .sub-menu,
.sub-header-menu > li:focus-within > .sub-menu {
    display: flex !important;
    flex-direction: column !important;
    align-content: flex-start !important;
}

#sub-header-menu > li > .sub-menu > li,
.sub-header-menu > li > .sub-menu > li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#sub-header-menu > li > .sub-menu > li > a,
.sub-header-menu > li > .sub-menu > li > a {
    display: block;
    padding: 10px 16px;
    color: var(--pitch-black);
    text-decoration: none;
    white-space: nowrap;
    font-weight: 400;
}

#sub-header-menu > li > .sub-menu > li > a:hover,
.sub-header-menu > li > .sub-menu > li > a:hover {
    background: var(--platinum);
    color: var(--tech-blue);
}

.linkstitle {
    width: 100%;
    margin-bottom: 10px;
}

.linkstitle h4 {
    color: var(--plain-white);
        margin-bottom: 5px;
}

@media screen and (max-width: 800px) {
    .sub-header-container {
        display: none;
    }

    .header-container {
        height: 90px;
        padding-left: 0;
        padding-right: 0;
    }

    .header-left {
        flex: 2;
        padding-left: 5%;
        padding-top: 10px;
    }

    .hamburger span {
        width: 30px;
    }

    .hamb1span {
        margin-top: 10px;
    }

    .hamb3span {
        margin-bottom: 10px;
    }

    .floating-sidebar-callout.header-callout .floating-callout-visible-text {
        display: none;
    }
}


/* ==================================================
   PRIMARY CONTENT
================================================== */

.primarytextcontainer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
}

.primarytextcontainer.eventcontainer {
    flex-direction: column;
}

.primarytext {
    flex: 5;
}

.primarytext h1,
.primarytext h2,
.primarytext h3,
.primarytext h4,
.primarytext h5,
.primarytext p {
    color: var(--pitch-black);
}

.primarytext p,
.primarytext li {
    font-size: 1.2rem;
}

.primarytext strong {
    color: var(--pitch-black);
    font-weight: 700;
}

.primarytext a {
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: underline;
}

.primarytext ul a {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .primarytextcontainer {
        flex-direction: column;
    }
}

.sideacc {
    flex: 2;
}

.sidemenu {
    flex: 2;
}

.textside {
    flex: 3;
}

.sideimage {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

/* ================================
   Single Post / News Template
================================ */

.gc-single-post {
    background: #f6f3ef;
}

.gc-post-article {
    margin: 0;
}

.gc-post-hero {
    position: relative;
    min-height: clamp(380px, 56vw, 720px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #111;
}

.gc-post-hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.gc-post-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gc-post-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.48) 45%,
            rgba(0, 0, 0, 0.12) 100%
        ),
        linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.68) 0%,
            rgba(0, 0, 0, 0) 55%
        );
}

.gc-post-hero-overlay {
    position: relative;
    z-index: 3;
    width: 100%;
}

.gc-post-hero-content {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
    padding: clamp(48px, 8vw, 110px) 0;
    color: #fff;
}

.gc-post-kicker {
    display: inline-flex;
    margin: 0 0 14px;
    padding: 7px 13px;
    background: #f2c230;
    color: #111;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
}

.gc-post-title {
    max-width: 860px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.4rem, 6vw, 5.8rem);
    line-height: 0.95;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.gc-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.95rem;
}

.gc-post-body-section {
    padding: clamp(42px, 6vw, 88px) 0;
}

.gc-post-body-wrap {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(30px, 5vw, 70px);
    align-items: start;
}

.gc-post-main-content {
    background: #fff;
    border-radius: 24px;
    padding: clamp(28px, 5vw, 64px);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.08);
}

.gc-post-content {
    max-width: 780px;
}

.gc-post-content > *:first-child {
    margin-top: 0;
}

.gc-post-content > *:last-child {
    margin-bottom: 0;
}

.gc-post-content p,
.gc-post-content li {
    font-size: clamp(1.05rem, 1.2vw, 1.18rem);
    line-height: 1.72;
}

.gc-post-content h2,
.gc-post-content h3,
.gc-post-content h4 {
    margin-top: 1.8em;
    line-height: 1.1;
}

.gc-post-content h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.gc-post-content h3 {
    font-size: clamp(1.4rem, 2vw, 2rem);
}

.gc-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
}

.gc-post-content figure {
    margin: 2.2em 0;
}

.gc-post-content blockquote {
    margin: 2em 0;
    padding: 22px 26px;
    border-left: 6px solid #f2c230;
    background: #f6f3ef;
    border-radius: 0 18px 18px 0;
    font-size: 1.2rem;
    line-height: 1.55;
}

.gc-post-sidebar {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 20px;
}

.gc-post-sidebar-card {
    background: #111;
    color: #fff;
    border-radius: 22px;
    padding: 26px;
}

.gc-post-sidebar-card h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 1.35rem;
}

.gc-post-sidebar-card p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
}

.gc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
}

.gc-button-primary {
    background: #f2c230;
    color: #111;
}

.gc-button-primary:hover {
    background: #fff;
    color: #111;
}

.gc-post-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.gc-post-cat-list a {
    color: #f2c230;
    text-decoration: none;
    font-weight: 700;
}

.gc-post-cat-list a:hover {
    color: #fff;
}

@media (max-width: 900px) {
    .gc-post-body-wrap {
        grid-template-columns: 1fr;
    }

    .gc-post-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .gc-post-hero {
        min-height: 420px;
    }

    .gc-post-hero-content,
    .gc-post-body-wrap {
        width: min(100% - 28px, 1180px);
    }

    .gc-post-main-content,
    .gc-post-sidebar-card {
        border-radius: 18px;
    }
}
/* GALLERY */

.simple-gallery-block {
    padding: clamp(48px, 7vw, 96px) 0;
}

.simple-gallery-header {
    max-width: 760px;
    margin: 0 auto clamp(28px, 4vw, 52px);
    text-align: center;
}

.simple-gallery-header h2 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.simple-gallery-intro {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.65;
}

.simple-gallery-grid {
    display: grid;
    gap: clamp(14px, 2vw, 28px);
}

.simple-gallery-cols-3 .simple-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.simple-gallery-cols-4 .simple-gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.simple-gallery-item {
    margin: 0;
}

.simple-gallery-item.is-hidden {
    display: none;
}

.simple-gallery-link {
    display: block;
    overflow: hidden;
    border-radius: 18px;
    background: #111;
    box-shadow: 0 18px 42px rgba(0,0,0,0.12);
}

.simple-gallery-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.simple-gallery-link:hover .simple-gallery-img {
    transform: scale(1.045);
    opacity: 0.9;
}

.simple-gallery-item figcaption {
    margin-top: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.78;
}

.simple-gallery-actions {
    display: flex;
    justify-content: center;
    margin-top: clamp(28px, 4vw, 48px);
}

.simple-gallery-more {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 14px 28px;
    background: #f4c430;
    color: #111;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.simple-gallery-more:hover {
    transform: translateY(-2px);
    background: #111;
    color: #fff;
}

@media (max-width: 900px) {
    .simple-gallery-cols-3 .simple-gallery-grid,
    .simple-gallery-cols-4 .simple-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .simple-gallery-cols-3 .simple-gallery-grid,
    .simple-gallery-cols-4 .simple-gallery-grid {
        grid-template-columns: 1fr;
    }
}


/* ----------------------------------------
   Guy Crabb Modern Embed Block
---------------------------------------- */

.gc-embed-block {
    position: relative;
   padding-top: var(--section-y-supertight);
    padding-bottom: var(--section-y-supertight);
    overflow: hidden;
}

.gc-embed-block.bg-none {
    background: transparent;
}

.gc-embed-outer {
    width: min(100% - 32px, 1200px);
    margin-inline: auto;
}

.gc-embed-fullwidth .gc-embed-outer {
    width: 100%;
    max-width: none;
}

.gc-embed-fullwidth .gc-embed-inner {
    width: 100%;
}

.gc-embed-contentwidth .gc-embed-inner,
.gc-embed-split .gc-embed-inner {
    width: min(100%, 1200px);
    margin-inline: auto;
}

.gc-embed-inner {
    display: grid;
    gap: clamp(24px, 4vw, 48px);
}

.gc-embed-split .gc-embed-inner {
    align-items: center;
}

@media (min-width: 850px) {
    .gc-embed-split .gc-embed-inner {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }
}

/* Content */

.gc-embed-content {
    max-width: 760px;
}

.gc-embed-content h2 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.035em;
}

.gc-embed-copy {
    font-size: clamp(1rem, 1.15vw, 1.15rem);
    line-height: 1.65;
}

.gc-embed-copy > *:first-child {
    margin-top: 0;
}

.gc-embed-copy > *:last-child {
    margin-bottom: 0;
}

.gc-embed-contentwidth .gc-embed-content,
.gc-embed-fullwidth .gc-embed-content {
    text-align: center;
    margin-inline: auto;
}

/* Media */

.gc-embed-media {
    width: 100%;
}

.gc-embed-frame {
    position: relative;
    width: 100%;
    min-height: 280px;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}

.gc-embed-contentwidth .gc-embed-frame {
    max-width: 980px;
    margin-inline: auto;
}

.gc-embed-fullwidth .gc-embed-frame {
    border-radius: 0;
    min-height: clamp(320px, 56vw, 760px);
}

.gc-embed-frame iframe,
.gc-embed-frame embed,
.gc-embed-frame object,
.gc-embed-frame video {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 360px;
    border: 0;
}

.gc-embed-type-video .gc-embed-frame {
    aspect-ratio: 16 / 9;
}

.gc-embed-type-video .gc-embed-frame iframe,
.gc-embed-type-video .gc-embed-frame video {
    position: absolute;
    inset: 0;
    height: 100%;
    min-height: 0;
}

/* Facebook / awkward embeds */

.gc-embed-frame .fb-post,
.gc-embed-frame .fb-video,
.gc-embed-frame blockquote {
    margin: 0 auto !important;
    max-width: 100% !important;
}

.gc-embed-frame script {
    display: none;
}

/* Dark backgrounds */

.bg-tech-blue,
.bg-tech-blue-deep,
.bg-soft-charcoal,
.bg-pitch-black,
.bg-rosey-copper {
    color: #fff;
}

.bg-tech-blue .gc-embed-frame,
.bg-tech-blue-deep .gc-embed-frame,
.bg-soft-charcoal .gc-embed-frame,
.bg-pitch-black .gc-embed-frame,
.bg-rosey-copper .gc-embed-frame {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}


.gc-embed-frame.gc-embed-ratio-landscape {
    aspect-ratio: 16 / 9;
}

.gc-embed-frame.gc-embed-ratio-portrait {
    max-width: 500px;
    margin-inline: auto;
}

.gc-embed-frame.gc-embed-ratio-portrait iframe {
    width: 100% !important;
    min-height: 800px;
}

.gc-embed-frame.gc-embed-ratio-square {
    aspect-ratio: 1 / 1;
    max-width: 700px;
    margin-inline: auto;
}

.gc-embed-type-shortcode .gc-embed-frame {
    background: transparent;
    box-shadow: none;
    padding: 5px;
}

#sb_instagram .sbi_photo_wrap {
    overflow: hidden;
    border-radius: 12px !important;
}

/* Mobile */

@media (max-width: 849px) {
    .gc-embed-block {
        padding: clamp(40px, 10vw, 64px) 0;
    }

    .gc-embed-split .gc-embed-inner {
        grid-template-columns: 1fr;
    }

    .gc-embed-content {
        text-align: center;
        margin-inline: auto;
    }

    .gc-embed-frame {
        border-radius: 16px;
    }

    .gc-embed-frame iframe,
    .gc-embed-frame embed,
    .gc-embed-frame object,
    .gc-embed-frame video {
        min-height: 280px;
    }
}

@media (max-width: 849px) {
.site-logo {
    display: flex;
    min-width: 160px;
    max-width: 50%;
    margin: 5px;
    position: relative;
    border-bottom: 0 dotted black;
    cursor: pointer;
}

.floating-sidebar-callout.header-callout {
display: none;
}

.site-logo img {
    width: 160px;
    height: auto;
    margin-bottom: 0px;
    transform-origin: top left;
    transform: scale(1);
    transition: transform 1.3s ease-in-out;
}

.menu-logo {
    display: flex;
    min-width: 160px;
    max-width: 50%;
    margin: 5px;
    position: relative;
    border-bottom: 0 dotted black;
    cursor: pointer;
}

.menu-logo img {
    width: 160px;
    height: auto;
    margin-bottom: 0px;
    transform-origin: top left;
    transform: scale(1);
    transition: transform 1.3s ease-in-out;
}

.fullscreen-menu .menu-close {
    appearance: none;
    width: 32px;
    height: 32px;
    font-size: 28px;
    padding: 0 0 0px 0;
    border: 0;
        border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    font-weight: 800;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: none;
    text-shadow: none;
} }

@media (max-width: 1024px) {

   /* body {
      padding-top: var(--mobile-header-height, 90px);
    } */

    .header-container {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        transition: transform 0.28s ease;
        will-change: transform;
    }

    .header-container.header-hidden {
        transform: translateY(-110%);
    }

}

/* Search results tidy */
.searchpage {
    padding-top: clamp(3rem, 8vw, 6rem);
}

.search-header {
    padding-bottom: 2rem;
}

.search-header h1 span {
    display: inline-block;
}

.search-results-block .feeds-actions {
    margin-top: 2rem;
    text-align: center;
}

.search-no-results {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.menu-search-submit-icon,
.search-submit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
}

.menu-search-submit-icon .search-svg,
.menu-search-submit-icon .arrow-svg,
.search-submit-icon .search-svg,
.search-submit-icon .arrow-svg {
    display: none;
    width: 1em;
    height: 1em;
}

.menu-search-submit-icon .is-active,
.search-submit-icon .is-active {
    display: inline-flex;
}

.menu-search-submit-icon svg,
.search-submit-icon svg {
    width: 1em;
    height: 1em;
    display: block;
}

/* menu callout extra */
@media (max-width: 900px) {
    .menu-callout {
        align-self: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding-top: 0;
    }
}

body {
    background: var(--milk-dip);
    color: var(--blue-dip);
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6,
.menuheader,
.feeds-content h3,
.footer1 h3,
.faq-question,
.banner-button,
.feeds-button,
.gc-button {
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: 0.01em;
}




.sub-header-container {
    background: var(--milk-dip);
    color: var(--blue-dip);
}

.footer-container {
    background: var(--sea-dip);
    color: var(--white-dip);
}

.banner-button,
.feeds-button,
.gc-button,
.gform_wrapper .gform_button,
.gform_wrapper button[type="submit"],
.gform_wrapper input[type="submit"] {
    border-radius: var(--button-radius) !important;
    background: var(--red-dip) !important;
    color: var(--milk-dip) !important;
}

.banner-button:hover,
.feeds-button:hover,
.gc-button:hover,
.gform_wrapper .gform_button:hover,
.gform_wrapper button[type="submit"]:hover,
.gform_wrapper input[type="submit"]:hover {
    background: var(--blue-dip) !important;
    color: var(--sherbert-dip) !important;
}

.feeds-card,
.faq-item,
.contact-form-panel,
.simple-gallery-link,
.simple-slider-slide,
.text-image-media,
.banner-side-image {
    border-radius: var(--card-radius);
}

.feeds-content h3::after,
.testimonial-card::before {
    background: var(--sea-dip);
}

a:hover,
.footer1 a:hover,
.fullscreen-menu a:hover,
.fullscreen-menu a:focus {
    color: var(--red-dip);
}

/* Fullscreen menu panel */
/* Fullscreen menu: smooth surf drop */
.fullscreen-menu {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: clamp(20px, 2.5vw, 36px);

    background: var(--sea-dip);
    color: var(--white-dip);

    overflow: hidden;

    visibility: hidden;
    pointer-events: none;

    transform: translate3d(0, -100%, 0);

    transition:
        transform 1.1s cubic-bezier(.22, 1, .36, 1),
        visibility 0s linear 1.1s;

    will-change: transform;
    backface-visibility: hidden;
}

.fullscreen-menu.active {
    visibility: visible;
    pointer-events: auto;

    transform: translate3d(0, 0, 0);

    transition:
        transform 1.1s cubic-bezier(.22, 1, .36, 1),
        visibility 0s;
}

/* soft surf edge, no curve */
.fullscreen-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(42px, 6vw, 90px);
    z-index: 1;
    pointer-events: none;

    background: linear-gradient(
        0deg,
        rgba(255,255,255,0.72) 0%,
        rgba(255,255,255,0.42) 32%,
        rgba(255,255,255,0.16) 66%,
        rgba(255,255,255,0) 100%
    );

    opacity: 0;
}

.fullscreen-menu.active::before {
    animation: menu-surf-fade 1.15s ease forwards;
}

@keyframes menu-surf-fade {
    0% {
        opacity: 1;
    }

    55% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;
    }
}

/* Header visible immediately */
.fullscreen-menu .menu-header {
    position: relative;
    z-index: 3;
    opacity: 1;
    transform: none;
}

/* Main menu content fades in after the surf starts clearing */
.fullscreen-menu .fullscreen-menu-inner {
    position: relative;
    z-index: 3;

    opacity: 0;
    transform: translate3d(0, -14px, 0);

    transition:
        opacity 0.55s ease 0.7s,
        transform 0.75s cubic-bezier(.22, 1, .36, 1) 0.7s;
}

.fullscreen-menu.active .fullscreen-menu-inner {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}