/*
Theme Name: DMN WP STARTER
Description: DMN WP STARTER Child theme for customizations.
Author: DMN Creative
Author URI: mailto:dev@dmncreative.com
Template: oceanwp
Text Domain:  dmnwpstarter
Version: 2.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

/* Importing fonts */
/* @import "assets/fonts/fonts.css"; */
/* Importing fonts end */

/* Helpers and Init Styles */
:root{
    --site-headings-font: "Roundark";
    --site-body-font: "futura-pt";
    --site-main-green: #20B5AC;
    --site-main-black: #120D08;
    --site-main-white: #ffffff;
    --site-button-padding: 18px 24px;
    /* Sizes in px, not rem: OceanWP sets html{font-size:62.5%}, so 1rem = 10px. xd-apply-tokens.php rewrites these per site. */
    --site-h1-size: clamp(40px, 25.44px + 3.883vw, 100px);
    --site-h2-size: clamp(25px, 17.75px + 2.201vw, 60px);
    --site-h3-size: clamp(25px, 17.75px + 2.201vw, 60px);
    --site-h4-size: clamp(18px, 16.3px + 0.453vw, 25px);
    --site-span-size: clamp(16px, 15.03px + 0.259vw, 20px);
    --site-button-size: clamp(18px, 17.03px + 0.259vw, 22px);
    --site-container-width: 1660px;
    --site-link-hover: var(--site-main-espresso); /* text links hover to the site colour */
    --site-transition: .3s ease-out;
    /* Layout system tokens (elementor_layout.py + the classes below); xd-apply-tokens.php sets them per site */
    --site-heading-gap: clamp(24px, 2.5vw, 48px);
    --site-radius: 20px;
    --site-radius-hero: 0;
    --site-shadow-card: 0 3px 3px rgba(0,0,0,0.16);
    --site-button-height: 59px;
    --site-hero-overlay: 0.5;
    --site-field-height: 65px; /* form fields: equal space round the text (Jakkie) */
    --site-field-pad: 24px;
    /* Fluid spacing: scales smoothly from mobile (min) to 1920 desktop (max). Use for section padding and gaps. */
    --site-section-pad-y: clamp(56px, 7.3vw, 140px);
    --site-section-pad-x: clamp(16px, 6.77vw, 130px);
    --site-gap-lg: clamp(16px, 2.35vw, 45px);
    --site-gap: clamp(16px, 1.25vw, 24px);
    --site-gap-sm: clamp(8px, 0.65vw, 12px);
    --site-main-sand: #D4CABE;
    --site-main-cream: #EEEAE4;
    --site-main-espresso: #3A271C;
    --site-main-ink: #120D08;
    --site-radius-sm: 5px;
    --site-hero-top: clamp(112px, 13.85vw, 266px);
    --site-hero-gap: clamp(40px, 9.8vw, 188px);
    --site-photo-overlap: clamp(96px, 19.5vw, 375px);
    --site-block-gap: clamp(40px, 5.2vw, 100px);
}

/* Hide focus rings for mouse clicks only; keyboard users keep a visible outline (accessibility) */
a:focus:not(:focus-visible) {
    outline: none;
}
a:focus-visible, button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0px;
}

/* Base typography. OceanWP defaults to Open Sans 14px. Body size lives on body: paragraphs, spans and links
   inherit it, so a span inside a heading or an Elementor Text Editor's typography is never overridden. */
html body {
    font-family: var(--site-body-font), sans-serif;
    font-size: var(--site-span-size);
    line-height: 1.45;
    color: var(--site-main-black);
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--site-headings-font), sans-serif;
}

:is(.site-content, .site-main) h1, .archive .site h1 {
    font-size: var(--site-h1-size);
}

:is(.site-content, .site-main) h2, .archive .site h2 {
    font-size: var(--site-h2-size);
}

:is(.site-content, .site-main) h3, .archive .site h3 {
    font-size: var(--site-h3-size);
}

:is(.site-content, .site-main) h4, .archive .site h4 {
    font-size: var(--site-h4-size);
}

:is(.site-content, .site-main) .elementor-widget-button .elementor-button-wrapper .elementor-button-text {
    font-size: var(--site-button-size);
}

.oceanwp-pagination .page-numbers a.page-numbers, .oceanwp-pagination .page-numbers span.page-numbers {
    font-size: var(--site-span-size);
}

.cust-boxed-container-left > .e-con-inner {
    margin: 0px 0px 0px auto;
}

.cust-boxed-container-right > .e-con-inner {
    margin: 0px auto 0px 0px;
}
/* OceanWP containers line up with section content: --site-container-width max, the section side padding below that.
   (Bootstrap grid, removed 2026-10-10, used to restyle .container too; don't add a CSS framework back.) */
#outer-wrap .container {
    width: calc(100% - 2 * var(--site-section-pad-x));
    max-width: var(--site-container-width);
    padding-left: 0;
    padding-right: 0;
}
/* Links inside running text are underlined, so they don't rely on colour alone (WCAG 1.4.1, Level A).
   Paragraphs and Text Editor lists only: icon lists, menus, buttons and cards keep their own design. */
:is(.site-main, #footer-widgets, #footer-bottom) :is(p, .elementor-widget-text-editor li) a:not([class]) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}
/* Text links change to the site colour on hover (buttons and image cards keep their own hover) */
:is(.site-main, #footer-widgets, #footer-bottom) a:not([class]),
:is(.site-main, #footer-widgets, #footer-bottom) a:not([class]) :is(.elementor-icon-list-text, .elementor-icon-list-icon i),
#site-navigation-wrap .dropdown-menu > li > a {
    transition: color var(--site-transition);
}
:is(.site-main, #footer-widgets, #footer-bottom) a:not([class]):hover,
:is(.site-main, #footer-widgets, #footer-bottom) a:not([class]):hover :is(.elementor-icon-list-text, .elementor-icon-list-icon i),
#site-header #site-navigation-wrap .dropdown-menu > li > a:hover {
    color: var(--site-link-hover);
}
/* Back to top (OceanWP #scroll-top): round like the slider arrows, site colour on hover, bottom right
   (set Customizer > General > Scroll To Top position = right; ocean_scroll_top_position). */
#scroll-top {
    right: 20px;
    left: auto;
    bottom: 20px;
    width: 44px;
    height: 44px;
    line-height: 44px;
    border-radius: 50%;
    background-color: var(--site-main-black);
    color: var(--site-main-white);
    font-size: 16px;
    box-shadow: var(--site-shadow-card);
    transition: background-color var(--site-transition), transform var(--site-transition), opacity var(--site-transition);
}
#scroll-top:hover,
#scroll-top:focus-visible {
    background-color: var(--site-link-hover);
    color: var(--site-main-white);
    transform: translateY(-2px);
}
#scroll-top:focus-visible {
    outline: 2px solid var(--site-link-hover);
    outline-offset: 3px;
}
/* Header: OceanWP pulls the menu 15px past the container (right: -15px); the last link ends at the content edge like the XD */
#site-header #site-navigation-wrap { right: 0; }
/* Burger: the icon link is ~20x16px; tap target >= 44px, pulled back so the icon still ends at the content edge.
   The fullscreen menu colour is Customizer > Header > Mobile Menu (ocean_full_screen_mobile_menu_bg): use an opaque
   colour, any alpha lets the page show through behind the links. */
.oceanwp-mobile-menu-icon a.mobile-menu { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin-right: -12px; }
/* In-page anchors (#contact-form, a newsletter band button) scroll smoothly, unless the visitor asked for less motion */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* 404 (OceanWP library "404", Customizer > General Options > 404 Error Page, Blank Page off so the menu shows): OceanWP
   wraps the template in its content container (site width + 50px padding); the template's sections bring their own gutters */
.error404 #main #content-wrap.container { width: 100%; max-width: none; padding-top: 0; padding-bottom: 0; }
/* Helpers End */

/* LAYOUT SYSTEM: classes used by ~/.claude/tools/elementor_layout.py. Spacing only from tokens, never per widget. */
.e-con.cust-section { --padding-top: var(--site-section-pad-y); --padding-bottom: 0px; }
.e-con.cust-section-bg { --padding-top: var(--site-section-pad-y); --padding-bottom: var(--site-section-pad-y); }
.e-con.cust-section-last { --padding-bottom: var(--site-section-pad-y); }
.e-con.cust-section.e-con-boxed,
.e-con.cust-section-bg.e-con-boxed { --padding-left: var(--site-section-pad-x); --padding-right: var(--site-section-pad-x); }
/* a white section followed by a photo/colour band keeps one section gap of white between them */
.e-con.cust-section + .e-con:is(.cust-section-bg, .cust-lib:has(.cust-section-bg)) { margin-top: var(--site-section-pad-y); }
/* the same after a library template whose section is white (e.g. a stats card before a logo band) */
.e-con.cust-lib:not(:has(.cust-section-bg)) + .e-con:is(.cust-section-bg, .cust-lib:has(.cust-section-bg)) { margin-top: var(--site-section-pad-y); }
.e-con.cust-stack { --row-gap: var(--site-heading-gap); --gap: var(--site-heading-gap); }
/* OceanWP gives every p a 20px bottom margin: the last paragraph of a text widget adds no space under it (spacing comes from the container gaps) */
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.e-con.cust-lib { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; }
.cust-lib .elementor-widget-shortcode { width: 100%; }

/* Hero: a real <img> (an Image widget with the class cust-hero-media: srcset, eager, fetchpriority high) under a gradient, text on top */
.e-con.cust-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--site-radius-hero);
    --padding-left: var(--site-section-pad-x);
    --padding-right: var(--site-section-pad-x);
}
/* The hero image: an Image widget with class cust-hero-media (or, on older sites, [dmn_hero_image] = .cust-hero-img) */
.cust-hero > .elementor-widget:is(.cust-hero-media, :has(.cust-hero-img)),
.cust-hero > .e-con-inner > .elementor-widget:is(.cust-hero-media, :has(.cust-hero-img)) {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
}
.cust-hero .elementor-widget:is(.cust-hero-media, :has(.cust-hero-img)) :is(.elementor-widget-container, .elementor-shortcode) { height: 100%; }
/* Beats Elementor's .elementor img { height: auto } and the widget's own height rule; object-position stays
   with the widget's Style > Object Position setting */
.e-con.cust-hero .elementor-widget.cust-hero-media img,
.cust-hero .cust-hero-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}
.e-con.cust-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%);
    opacity: var(--site-hero-overlay);
    pointer-events: none;
}
.cust-hero > .elementor-widget:not(.cust-hero-media, :has(.cust-hero-img)),
.cust-hero > .e-con-inner > .elementor-widget:not(.cust-hero-media, :has(.cust-hero-img)) { position: relative; z-index: 2; }
.e-con.cust-tuck { margin-top: calc(-1 * var(--site-radius)); --padding-top: calc(var(--site-radius) + var(--site-section-pad-y)); }

/* Buttons: one style for Elementor buttons, .cust-btn links and CF7 submits; colour variants are deliberate */
.cust-btn,
:is(.site-content, .site-main) .elementor-widget-button .elementor-button,
.wpcf7 .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--site-button-height);
    padding: var(--site-button-padding);
    border: 0;
    border-radius: var(--site-radius-sm);
    background: var(--site-main-espresso);
    color: var(--site-main-cream);
    font-family: var(--site-body-font);
    font-size: var(--site-button-size);
    line-height: 1;
    text-transform: none;
    text-decoration: none;
    transition: background-color var(--site-transition), color var(--site-transition), border-color var(--site-transition);
}
.cust-btn:hover, .cust-btn:focus-visible,
:is(.site-content, .site-main) .elementor-widget-button .elementor-button:hover,
.wpcf7 .wpcf7-submit:hover { background: var(--site-main-ink); color: var(--site-main-cream); }
/* Cream button on dark/photo bands (XD "Nothing is repeated"): espresso text, Sand on hover */
.cust-btn.cust-btn-light, :is(.site-content, .site-main) .cust-btn-light .elementor-button { background: var(--site-main-cream); color: var(--site-main-espresso); }
.cust-btn.cust-btn-light:hover, :is(.site-content, .site-main) .cust-btn-light .elementor-button:hover { background: var(--site-main-sand); color: var(--site-main-espresso); }

/* Slider controls ([dmn_slider_controls name="x"]): round arrows + dash pagination */
.cust-slider-controls { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 20px; color: var(--site-main-black); }
.cust-slider-controls.is-light { color: var(--site-main-white); }
.cust-arrow {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin: 0 -9px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer;
    transition: opacity var(--site-transition), transform var(--site-transition);
}
.cust-arrow-prev svg { transform: rotate(180deg); }
.cust-arrow .cust-arrow-bg { fill: currentColor; }
.cust-arrow .cust-arrow-ink { fill: none; stroke: var(--site-main-white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cust-slider-controls.is-light .cust-arrow-ink { stroke: var(--site-main-black); }
.cust-arrow:hover { transform: scale(1.1); }
.cust-arrow.swiper-button-disabled { opacity: 0.5; cursor: default; transform: none; }
.cust-arrow.swiper-button-lock, .cust-dashes.swiper-pagination-lock { display: none; }
.cust-dashes { display: flex; gap: 15px; flex-basis: 100%; justify-content: inherit; }
.cust-dash { width: 25px; height: 6px; padding: 0; border: 0; background: currentColor; opacity: 0.25; cursor: pointer; transition: opacity var(--site-transition); }
.cust-dash.is-active { opacity: 1; }
/* Elementor Site Settings > Buttons styles every <button> (.elementor-kit-N button 0,1,1; :hover/:focus 0,2,1: pill
   padding, border, lime hover). The controls keep their own look with a doubled class (0,3,0) in every state. */
.cust-slider-controls.cust-slider-controls :is(.cust-arrow, .cust-dash) { padding: 0; border: 0; border-radius: 0; min-height: 0; line-height: 1; }
.cust-slider-controls.cust-slider-controls .cust-arrow { background: none; color: inherit; }
.cust-slider-controls.cust-slider-controls .cust-dash { background: currentColor; }
/* controls over a slider: the Elementor widget is the positioning context */
.cust-overlay-controls { position: relative; }
.cust-overlay-controls > .elementor-widget:has(.cust-slider-controls) { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.cust-overlay-controls > .elementor-widget:has(.cust-slider-controls) :is(.elementor-widget-container, .elementor-shortcode) { height: 100%; }
.cust-overlay-controls .cust-slider-controls { height: 100%; justify-content: space-between; align-items: center; flex-wrap: nowrap; }
.cust-overlay-controls .cust-arrow { pointer-events: auto; }
/* Shadow room: Swiper clips everything outside its box (overflow:hidden), which cuts off card shadows.
   Give the shadow room inside the slider and pull the box back out with a negative margin, so the cards
   still line up with the column. Set --shadow-room (all sides) or --shadow-room-t/-r/-b/-l on the slider.
   .swiper.x beats Swiper's own .swiper { padding: 0 }, which loads after the theme. */
.swiper:is([style*="--shadow-room"], .partner-swiper, .testimonial-swiper, .cust-shadow-room) {
    padding: var(--shadow-room-t, var(--shadow-room, 0px)) var(--shadow-room-r, var(--shadow-room, 0px))
             var(--shadow-room-b, var(--shadow-room, 0px)) var(--shadow-room-l, var(--shadow-room, 0px));
    margin: calc(-1 * var(--shadow-room-t, var(--shadow-room, 0px))) calc(-1 * var(--shadow-room-r, var(--shadow-room, 0px)))
            calc(-1 * var(--shadow-room-b, var(--shadow-room, 0px))) calc(-1 * var(--shadow-room-l, var(--shadow-room, 0px)));
}
/* LAYOUT SYSTEM END */

/* BLOG ([blog_grid], templates/single/single-post.php, templates/archive-blog.php) */
.cust-blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(32px, 3.6vw, 64px) var(--site-gap-lg);
}
.cust-post-card-img {
    display: block;
    overflow: hidden;
    border-radius: var(--site-radius);
}
.cust-post-card-img img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform var(--site-transition);
}
.cust-post-card:hover .cust-post-card-img img {
    transform: scale(1.014);
}
:is(.site-content, .site-main) .cust-card-title {
    margin: 16px 0 0;
    font-size: var(--site-h4-size);
    line-height: 1.3;
}
.cust-post-card .cust-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--site-transition);
}
.cust-post-card .cust-card-title a:hover {
    color: var(--site-link-hover);
}
:is(.site-content, .site-main) .cust-post-card-excerpt {
    margin: 12px 0 24px;
    line-height: 1.45;
}
.cust-post-card.no-image {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(24px, 2.6vw, 40px);
    border-radius: var(--site-radius);
    background: rgba(0, 0, 0, 0.04);
}
.cust-post-card.no-image .cust-card-title {
    margin-top: 0;
}
.cust-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: clamp(40px, 5.2vw, 100px);
}
.cust-pagination .page-numbers {
    min-width: 32px;
    padding: 4px 6px;
    text-align: center;
    font-size: var(--site-button-size);
    color: var(--site-main-black);
    transition: color var(--site-transition);
}
.cust-pagination a.page-numbers:hover {
    color: var(--site-link-hover);
}
.cust-pagination .page-numbers.current {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 6px;
}
.cust-archive,
.cust-post-content {
    width: calc(100% - 2 * var(--site-section-pad-x));
    max-width: var(--site-container-width);
    margin: 0 auto;
    padding: var(--site-section-pad-y) 0;
}
.cust-archive-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    max-width: 640px;
}
.cust-archive-empty .searchform {
    width: 100%;
}
.cust-post-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(320px, 37.5vw, 720px);
    padding: 0 var(--site-section-pad-x);
    overflow: hidden;
    border-radius: var(--site-radius-hero);
    background: var(--site-main-black);
}
.cust-post-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cust-post-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%);
    opacity: var(--site-hero-overlay);
}
.cust-post-hero-title {
    position: relative;
    z-index: 1;
    margin: 0;
    text-align: center;
    color: var(--site-main-white);
    font-size: var(--site-h2-size);
    line-height: 1.3;
}
.cust-post-content p {
    margin: 0 0 1.45em;
    line-height: 1.45;
}
.cust-post-content h2 {
    margin: 1.6em 0 0.6em;
    font-size: var(--site-h3-size);
    line-height: 1.2;
}
.cust-post-content .wp-block-image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 2.5em 0;
}
@media (min-width: 768px) {
    .cust-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .cust-pagination { justify-content: flex-end; }
}
@media (min-width: 1025px) {
    .cust-blog-grid { grid-template-columns: repeat(3, 1fr); }
}
/* BLOG END */

/* FORMS */

/* Global Changes */

.wpcf7 .wpcf7-form .wpcf7-response-output {
    margin: 0px;
}

.wpcf7 .wpcf7-form.sent .wpcf7-response-output {
    border-color: var(--site-main-espresso);
}

/* Global Changes End */

/* DMN default contact form (.cust-form) */
.cust-form {
    --bs-gutter-y: 20px;
}
/* Form grid: the CF7 forms use Bootstrap-style row/col classes (row cust-form > col-12 / col-md-6). Bootstrap itself
   was removed (2026-10-10), so this reproduces just that part for forms. Gutters: --bs-gutter-x / --bs-gutter-y. */
.cust-form.row {
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y, 20px));
    margin-left: calc(-0.5 * var(--bs-gutter-x, 15px));
    margin-right: calc(-0.5 * var(--bs-gutter-x, 15px));
}
.cust-form.row > * {
    flex: 0 0 auto;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding-left: calc(0.5 * var(--bs-gutter-x, 15px));
    padding-right: calc(0.5 * var(--bs-gutter-x, 15px));
    margin-top: var(--bs-gutter-y, 20px);
}
@media (min-width: 768px) {
    .cust-form.row > .col-md-6 { width: 50%; }
}
.cust-form label {
    display: block;
    margin-bottom: 6px;
}
.cust-form input:not([type="checkbox"]):not([type="submit"]),
.cust-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0 var(--site-field-pad);
    line-height: 1.2;
    font-family: var(--site-body-font), sans-serif;
    font-size: var(--site-span-size); /* OceanWP gives fields 14px */
}
/* Fields: equal space round the text. Fixed height + side padding centres single-line inputs exactly. */
.cust-form input:not([type="checkbox"]):not([type="submit"]) {
    height: var(--site-field-height);
}
.cust-form textarea {
    min-height: 140px;
    padding: calc(var(--site-field-pad) - 3px) var(--site-field-pad);
}
.cust-form .cust-form-consent .wpcf7-list-item {
    margin: 0;
}
.cust-form .cust-form-consent label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.cust-form .cust-form-consent input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
}
 
.cust-form-submit .wpcf7-submit {
    border: 1px solid #3A271C !important;
}

.cust-form-submit .wpcf7-submit:hover {
    background-color: #EEEAE5 !important;
    color: #3A271C !important;
}

/* CF7 spinner centred on the submit button (wrap [submit] in .cust-form-submit): while sending, the label hides
   and the spinner sits in its place, in the button's text colour. No layout shift. */
.cust-form-submit {
    position: relative;
    display: inline-flex;
}
.cust-form-submit .wpcf7-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
    background-color: currentColor;
    opacity: 0.9;
    pointer-events: none;
}
.cust-form-submit .wpcf7-spinner::before {
    background-color: var(--site-main-white);
}
.wpcf7-form.submitting .cust-form-submit .wpcf7-submit {
    color: transparent !important;
}
/* DMN default contact form End */

/* FORMS END */

/* HOME (landing page) */
/* Headings wrap into even lines (no single word left on the last line); text unchanged */
.elementor-widget-heading .elementor-heading-title, .cust-expedition .cust-expedition-title { text-wrap: balance; }
/* Hero: flat ink veil (XD #120D08 at 50%), text from the top; the photo row of the next section tucks up over its bottom */
/* XD: ink at 50% plus a frosted layer (background blur 13.66, brightness -1.13). In CSS, not baked into the photo:
   the client swaps the hero image (conventions.md › Images › Effects baked in) */
.e-con.cust-hero::after { background: var(--site-main-ink); }
.e-con.cust-hero::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    -webkit-backdrop-filter: blur(13.66px) brightness(0.99); backdrop-filter: blur(13.66px) brightness(0.99);
}
.e-con.cust-hero.cust-hero-tucked {
    justify-content: flex-start;
    --padding-top: var(--site-hero-top);
    --padding-bottom: calc(var(--site-hero-gap) + var(--site-photo-overlap));
}
.e-con.cust-consider { --padding-top: 0px; --row-gap: var(--site-block-gap); --gap: var(--site-block-gap); }
.e-con.cust-photo-row { margin-top: calc(-1 * var(--site-photo-overlap)); position: relative; z-index: 3; --gap: var(--site-gap-lg); --column-gap: var(--site-gap-lg); }
.cust-photo-row > .elementor-widget-image { flex: 1 1 0; }
.cust-photo-row .elementor-widget-image img,
.cust-video-frame img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--site-radius); }
.cust-photo-row .elementor-widget-image img { aspect-ratio: 524 / 764; }
.cust-video-frame img, .cust-video-frame video { aspect-ratio: 1660 / 764; }
.cust-video-frame :is(.elementor-wrapper, video) { border-radius: var(--site-radius); overflow: hidden; }
/* the XD's line length for centred copy (beats Elementor's widget max-width: 100%) */
.elementor.elementor .e-con > .elementor-widget.cust-measure { max-width: 1340px; }
/* "Nothing is repeated": copy in the right half over the yacht photo */
.e-con.cust-nothing { background-color: #000; }
/* Footer (OceanWP library "Footer"): logo + Follow us, centred as a group on the ink band */
.e-con.cust-footer { --gap: clamp(32px, 13.8vw, 265px); --column-gap: clamp(32px, 13.8vw, 265px); }
/* a centred Image widget shrink-wraps its SVG: size the widget, the image fills it */
/* Elementor sets SVGs in an Image widget to 48px (.elementor-widget-image a img[src$=".svg"]) */
.cust-footer .elementor-widget.cust-footer-logo { flex: 0 0 auto; width: clamp(220px, 30.6vw, 587px); --container-widget-width: clamp(220px, 30.6vw, 587px); }
.cust-footer .cust-footer-logo a img[src$=".svg"], .cust-footer .cust-footer-logo img { width: 100%; height: auto; }
.cust-footer .elementor-heading-title { white-space: nowrap; }
/* XD: 30px between the icons and from "Follow Us". The box is the icon itself; the 44px tap area is an invisible
   larger hit zone (::before), so it doesn't add to the spacing. gap set directly too: it differed per tier */
.e-con.cust-social { --gap: 30px; --column-gap: 30px; --row-gap: 30px; gap: 30px; column-gap: 30px; }
.cust-social .elementor-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.cust-social .elementor-icon::before { content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); }
.cust-social .elementor-icon:hover { color: var(--site-main-cream); }
/* Expedition Slider ([expedition_swiper] + [dmn_slider_controls name="expedition" light="1"]) */
.e-con.cust-expeditions { --row-gap: var(--site-block-gap); --gap: var(--site-block-gap); }
.e-con.cust-expeditions-head { --row-gap: 24px; --gap: 24px; }
.cust-expedition { position: relative; overflow: hidden; border-radius: var(--site-radius); aspect-ratio: 524 / 638; }
.cust-expedition .cust-expedition-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cust-expedition .cust-expedition-text {
    position: absolute; inset: auto 0 0; z-index: 1; text-align: center;
    padding: 0 var(--site-gap) clamp(40px, 5.6vw, 107px);
}
/* .cust-expedition h3 (0,1,1+) beats the kit's .elementor-kit-N h3 */
.cust-expedition .cust-expedition-title {
    margin: 0 0 clamp(12px, 1.25vw, 24px); color: var(--site-main-cream);
    font-family: var(--site-headings-font), sans-serif; font-size: var(--site-h2-size); font-weight: 400; line-height: 1.1; text-transform: uppercase;
}
.cust-expedition .cust-expedition-line { margin: 0; color: var(--site-main-white); font-size: var(--site-span-size); font-weight: 300; line-height: 1.3; letter-spacing: 0.1em; }
/* XD controls: chevron, capsule dots, chevron on one centred line */
.cust-expeditions .elementor-widget:has(.cust-slider-controls) { margin-top: calc(-0.3 * var(--site-block-gap)); }
.cust-expeditions .cust-slider-controls { justify-content: center; flex-wrap: nowrap; gap: 8px; color: var(--site-main-cream); }
/* Swiper's .swiper-pagination-horizontal is width: 100%, which pushed the arrows to the edges */
.cust-expeditions .cust-slider-controls .cust-dashes { flex-basis: auto; width: auto; order: 1; gap: 5px; }
.cust-expeditions .cust-slider-controls .cust-arrow-next { order: 2; }
.cust-expeditions .cust-slider-controls .cust-arrow .cust-arrow-bg { fill: transparent; }
.cust-expeditions .cust-slider-controls .cust-arrow .cust-arrow-ink { stroke: var(--site-main-cream); }
.cust-expeditions .cust-slider-controls .cust-dash {
    width: 11px; height: 17px; border-radius: 10px; opacity: 1;
    background: transparent; box-shadow: inset 0 0 0 1px var(--site-main-cream);
}
.cust-expeditions .cust-slider-controls .cust-dash.is-active { background: var(--site-main-cream); }
/* tap area 16 x 24 (the dot plus its share of the 5px gap, so the zones don't overlap); the dot itself stays 11 x 17 */
.cust-expeditions .cust-slider-controls .cust-dash { position: relative; }
.cust-expeditions .cust-slider-controls .cust-dash::before { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 24px; transform: translate(-50%, -50%); }
/* Expedition Slider End */

/* Waiting list (CF7 #137 in the #waiting-list band): XD fields 467 / 467 / 646 in one row, 40px apart */
.cust-waiting-form { --bs-gutter-x: clamp(16px, 2.1vw, 40px); --bs-gutter-y: clamp(16px, 1.6vw, 30px); }
@media (min-width: 1025px) {
    .cust-waiting-form.row > .col-lg-4 { width: 29.82%; }
    .cust-waiting-form.row > .cust-col-wide { width: 40.36%; }
}
.cust-waiting-form input:not([type="checkbox"]):not([type="submit"]) {
    border: 1px solid var(--site-main-ink); border-radius: var(--site-radius-sm); background: transparent;
    color: var(--site-main-ink); font-weight: 300; letter-spacing: 0.1em;
    transition: border-color var(--site-transition);
}
/* beats OceanWP's pale placeholder colour */
.cust-waiting-form.cust-form input:not([type="checkbox"]):not([type="submit"])::placeholder { color: var(--site-main-ink); opacity: 1; }
.cust-waiting-form input:not([type="checkbox"]):not([type="submit"]):focus { border-color: var(--site-main-espresso); box-shadow: inset 0 0 0 1px var(--site-main-espresso); }
/* consent: the XD's 32px box with a 3px ink outline (radius 5) and an ink tick when checked, 30px from the text;
   the box sits on the first line of the text (1.3 x the text size), also when it wraps on phones */
.cust-waiting-form .cust-form-consent label { gap: 30px; align-items: flex-start; font-size: var(--site-span-size); font-weight: 300; letter-spacing: 0.1em; color: var(--site-main-ink); }
.cust-waiting-form .cust-form-consent input[type="checkbox"] {
    appearance: none; -webkit-appearance: none; width: 32px; height: 32px; margin: 0; flex-shrink: 0;
    border: 3px solid var(--site-main-ink); border-radius: var(--site-radius-sm); background: transparent no-repeat center / 16px; cursor: pointer;
}
.cust-waiting-form .cust-form-consent input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 14'%3E%3Cpath d='M1.8 7.2l5 5L16.2 1.8' fill='none' stroke='%23120D08' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* OceanWP draws its own tick (input[type=checkbox]:checked:before): the XD tick is the background image */
.cust-waiting-form .cust-form-consent input[type="checkbox"]::before { content: none; display: none; }
/* the first line of text centred on the 32px box (the box stays inside the row) */
.cust-waiting-form .cust-form-consent .wpcf7-list-item-label { padding-top: calc((32px - 1.3em) / 2); line-height: 1.3; }
.cust-waiting-form .cust-form-consent input[type="checkbox"]:focus-visible { outline: 2px solid var(--site-main-espresso); outline-offset: 2px; }
.cust-waiting-form .cust-form-consent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cust-waiting-form .cust-form-consent a:hover { color: var(--site-link-hover); }
.cust-waiting-form .wpcf7-not-valid-tip { margin-top: 6px; font-size: 16px; }
.cust-waiting .wpcf7-response-output { border-radius: var(--site-radius-sm); }
/* Back to top (bottom right) sits above Google's reCAPTCHA v3 badge (bottom right, ~60px tall, 14px up) */
body:has(.grecaptcha-badge) #scroll-top { bottom: 90px; }
/* HOME END */

/*
 * DMN breakpoints (match Elementor Site Settings > Layout > Breakpoints, OceanWP mobile menu 1024, Swiper 768/1025/1691):
 *   Mobile  <= 767 | Tablet 768-1024 | Laptop 1025-1690 | Desktop >= 1691 (XD designs are 1920 wide)
 * Use clamp() tokens in :root for smooth scaling between breakpoints; use these blocks only for layout changes.
 */

/* Laptop + Desktop (>= 1025) */
@media screen and (min-width: 1025px) {

}

/* Desktop Styles Only (>= 1691) */
@media screen and (min-width: 1691px) {

}

/* Laptop Styles Only (1025 - 1690) */
@media screen and (min-width: 1025px) and (max-width: 1690px) {

}

/* Tablet + Mobile (<= 1024): the yacht as a band at the top of "Nothing is repeated", the copy below on black.
   !important: Elementor prints the container's background size/position with an element-id selector. */
@media screen and (max-width: 1024px) {
    .e-con.cust-nothing { background-size: 180% auto !important; background-position: 0 0 !important; --padding-top: 88vw; } /* photo ends at 85.2vw: the heading starts on black (build audit B11) */
    .e-con.cust-nothing .cust-nothing-copy { --width: 100%; }
    /* the photo's bottom edge fades into the black instead of ending in a hard line (Jakkie, build audit B11) */
    .e-con.cust-nothing { --ob-photo-end: 85.2vw; }
    .e-con.cust-nothing::before {
        content: ""; display: block; position: absolute; left: 0; width: 100%; top: calc(var(--ob-photo-end) - 60px); height: 61px;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000); opacity: 1; mix-blend-mode: normal; pointer-events: none; z-index: 0;
    }
}

/* Tablet Styles (768 - 1024) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .cust-video-frame img, .cust-video-frame video { aspect-ratio: 16 / 9; }
    /* wider screen: less zoom on the yacht band, so it isn't mostly black water */
    .e-con.cust-nothing { background-size: 125% auto !important; --padding-top: 62vw; --ob-photo-end: 59.2vw; } /* photo ends at 59.2vw */
}


/* Tablet Portrait fine-tuning (768 - 850), optional */
@media screen and (min-width: 768px) and (max-width: 850px) {

}

/* Mobile Styles (<= 767) */
@media screen and (max-width: 767px) {
    .cust-video-frame img, .cust-video-frame video { aspect-ratio: 16 / 9; }
    /* "BY CONSIDERATION. One-of-one. DISCREETLY HELD.": one sentence per line on phones (no break inside ONE-OF-ONE) */
    .cust-consider h2.elementor-heading-title { max-width: 10em; margin-inline: auto; }
    /* the three photos stack on phones (Jakkie, 2026-10-13; Elementor: the row's mobile direction = column) */
    .cust-photo-row > .elementor-widget-image { flex: 0 0 auto; width: 100%; }
    .e-con.cust-footer { text-align: center; }
    .e-con.cust-social { justify-content: center; } /* the icons centred under "Follow Us" */
    /* the card line's own line break is for the wide card; on phones the text wraps by itself */
    .cust-expedition .cust-expedition-line br { display: none; }
}

/* ANIMATIONS */
/* Elementor entrance animations hide an element with visibility: hidden until it scrolls into view, which also takes
   it out of the accessibility tree and the Tab order (screen readers skipped 3 section headings and the buttons).
   Transparent instead: it looks the same, the fade/slide keyframes start from opacity 0, and it stays readable. */
.elementor .elementor-invisible { visibility: visible; opacity: 0; }

/* ANIMATIONS END */