@charset "UTF-8";
/* =================================================================== 
 * Anchor Dental & Implant Center — Main Stylesheet
 * Built on the Mueller template (Ver. 1.0.0)
 *
 * Every color, font and spacing value is a CSS custom property declared
 * in # SETTINGS below. Change the token, never the call site.
 * ------------------------------------------------------------------
 *
 * TOC:
 *
 * # SETTINGS
 *      ## fonts 
 *      ## colors
 *      ## spacing and typescale
 *      ## grid variables
 * # NORMALIZE
 * # BASE SETUP
 * # GRID
 *      ## large screen devices
 *      ## medium screen devices 
 *      ## tablet devices 
 *      ## mobile devices 
 *      ## small screen devices
 *      ## additional column stackpoints
 * # UTILITY CLASSES
 * # TYPOGRAPHY
 *      ## base type styles
 *      ## additional typography & helper classes
 *      ## lists
 *      ## spacing
 * # PRELOADER
 *      ## page loaded
 * # FORM
 *      ## style placeholder text
 *      ## change autocomplete styles in Chrome
 * # BUTTONS
 * # TABLE
 * # COMPONENTS
 *      ## pagination
 *      ## alert box 
 *      ## skillbars
 *      ## stats tabs
 * # PROJECT-WIDE SHARED STYLES
 *      ## theme-specific typography classes
 *      ## media classes
 *      ## section header
 *      ## list block
 *      ## swiper overrides
 * # PAGE WRAP
 * # SITE HEADER
 *      ## logo
 *      ## main navigation
 *      ## header social
 *      ## mobile menu toggle
 * # INTRO
 *      ## intro background
 *      ## intro content
 *      ## intro scroll down
 *      ## intro transitions
 * # ABOUT
 * # SERVICES
 * # PORTFOLIO
 *      ## bricks masonry 
 *      ## masonry entries 
 *      ## modal popup
 * # CLIENTS
 * # TESTIMONIALS
 *      ## testimonial slider 
 * # FOOTER
 *      ## contact btn
 *      ## subscription form
 *      ## footer social
 *      ## copyright
 *      ## go top
 *
 * ------------------------------------------------------------------ */


/* ===================================================================
 * # SETTINGS
 *
 *
 * ------------------------------------------------------------------- */

/* ------------------------------------------------------------------- 
 * ## fonts 
 * ------------------------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap");

:root {
    --font-1    : "Libre Baskerville", serif;
    --font-2    : "Lato", sans-serif;

    /* monospace
     */
    --font-mono : Consolas, "Andale Mono", Courier, "Courier New", monospace;
}

/* ------------------------------------------------------------------- 
 * ## colors
 * ------------------------------------------------------------------- */
:root {

    /* brand palette — #ffffff, #00264A, #086599
     * Sampled from the current anchordentalsd.com site: color-1(#00264A)
     * is the deep navy used for headings and the header/footer bars;
     * color-2(#086599) is the lighter blue used for links and accents.
     * TODO: confirm against the official brand/logo files before launch.
     */
    --color-1                      : #00264A;
    --color-2                      : #086599;

    /* theme color variations — tints/shades of #00264A */
    --color-1-lightest             : #CCD4DB;
    --color-1-lighter              : #99A8B7;
    --color-1-light                : #667D92;
    --color-1-dark                 : #001E3B;
    --color-1-darker               : #001121;
    --color-1-darkest              : #000C18;

    /* theme color variations — tints/shades of #086599 */
    --color-2-lightest             : #CEE0EB;
    --color-2-lighter              : #9CC1D6;
    --color-2-light                : #6BA3C2;
    --color-2-dark                 : #06517A;
    --color-2-darker               : #042D45;
    --color-2-darkest              : #032031;

    /* feedback colors
     * color-error(#ffd1d2), color-success(#c8e675), 
     * color-info(#d7ecfb), color-notice(#fff099)
     */
    --color-error                  : hsla(359, 100%, 91%, 1);
    --color-success                : hsla(76, 69%, 68%, 1);
    --color-info                   : hsla(205, 82%, 91%, 1);
    --color-notice                 : hsla(51, 100%, 80%, 1);
    --color-error-content          : hsla(359, 50%, 50%, 1);
    --color-success-content        : hsla(76, 29%, 28%, 1);
    --color-info-content           : hsla(205, 32%, 31%, 1);
    --color-notice-content         : hsla(51, 30%, 30%, 1);

    /* shades 
     * generated using 
     * Tint & Shade Generator 
     * (https://maketintsandshades.com/)
     */
    --color-black                  : #000000;
    --color-gray-19                : #161616;
    --color-gray-18                : #2c2c2c;
    --color-gray-17                : #424241;
    --color-gray-16                : #585857;
    --color-gray-15                : #6e6e6d;
    --color-gray-14                : #848383;
    --color-gray-13                : #9a9999;
    --color-gray-12                : #b0afae;
    --color-gray-11                : #c6c5c4;
    --color-gray-10                : #dcdbda;
    --color-gray-9                 : #e0dfde;
    --color-gray-8                 : #e3e2e1;
    --color-gray-7                 : #e7e6e5;
    --color-gray-6                 : #eae9e9;
    --color-gray-5                 : #eeeded;
    --color-gray-4                 : #f1f1f0;
    --color-gray-3                 : #f5f4f4;
    --color-gray-2                 : #F9F7F7;
    --color-gray-1                 : #fcfbfb;
    --color-white                  : #ffffff;

    /* text
     */
    --color-text                   : var(--color-gray-19);
    --color-text-dark              : var(--color-black);
    --color-text-light             : var(--color-gray-14);
    --color-placeholder            : var(--color-gray-14);

    /* buttons
     */
    --color-btn                    : var(--color-gray-6);
    --color-btn-text               : var(--color-black);
    --color-btn-hover              : var(--color-gray-8);
    --color-btn-hover-text         : var(--color-gray-19);
    --color-btn-primary            : var(--color-1);
    --color-btn-primary-text       : var(--color-white);
    --color-btn-primary-hover      : var(--color-gray-19);
    --color-btn-primary-hover-text : var(--color-white);
    --color-btn-stroke             : var(--color-1-darker);
    --color-btn-stroke-text        : var(--color-1-darker);
    --color-btn-stroke-hover       : var(--color-1-darker);
    --color-btn-stroke-hover-text  : var(--color-white);

    /* preloader
     */
    --color-preloader-bg           : var(--color-gray-19);
    --color-loader                 : white;
    --color-loader-light           : rgba(255, 255, 255, 0.1);

    /* others
     */
    --color-body                   : white;
    --color-border                 : rgba(0, 0, 0, .08);
    --border-radius                : 3px;
}

/* ------------------------------------------------------------------- 
 * ## spacing and typescale
 * ------------------------------------------------------------------- */
:root {

    /* spacing
     * base font size: 18px 
     * vertical space unit : 32px
     */
    --base-size        : 62.5%;
    --multiplier       : 1;
    --base-font-size   : calc(1.8rem * var(--multiplier));
    --space            : calc(3.2rem * var(--multiplier));

    /* vertical spacing 
     */
    --vspace-0_125     : calc(0.125 * var(--space));
    --vspace-0_25      : calc(0.25 * var(--space));
    --vspace-0_375     : calc(0.375 * var(--space));
    --vspace-0_5       : calc(0.5 * var(--space));
    --vspace-0_625     : calc(0.625 * var(--space));
    --vspace-0_75      : calc(0.75 * var(--space));
    --vspace-0_875     : calc(0.875 * var(--space));
    --vspace-1         : calc(var(--space));
    --vspace-1_25      : calc(1.25 * var(--space));
    --vspace-1_5       : calc(1.5 * var(--space));
    --vspace-1_75      : calc(1.75 * var(--space));
    --vspace-2         : calc(2 * var(--space));
    --vspace-2_5       : calc(2.5 * var(--space));
    --vspace-3         : calc(3 * var(--space));
    --vspace-3_5       : calc(3.5 * var(--space));
    --vspace-4         : calc(4 * var(--space));
    --vspace-4_5       : calc(4.5 * var(--space));
    --vspace-5         : calc(5 * var(--space));

    /* type scale
     * ratio 1:2 | base: 18px
     * -------------------------------------------------------
     *
     * --text-display-3 = (77.40px)
     * --text-display-2 = (64.50px)
     * --text-display-1 = (53.75px)
     * --text-xxxl      = (44.79px)
     * --text-xxl       = (37.32px)
     * --text-xl        = (31.10px)
     * --text-lg        = (25.92px)
     * --text-md        = (21.60px)
     * --text-size      = (18.00px) BASE
     * --text-sm        = (15.00px)
     * --text-xs        = (12.50px)
     *
     * ---------------------------------------------------------
     */
    --text-scale-ratio : 1.2;
    --text-size        : var(--base-font-size);
    --text-xs          : calc((var(--text-size) / var(--text-scale-ratio)) / var(--text-scale-ratio));
    --text-sm          : calc(var(--text-xs) * var(--text-scale-ratio));
    --text-md          : calc(var(--text-sm) * var(--text-scale-ratio) * var(--text-scale-ratio));
    --text-lg          : calc(var(--text-md) * var(--text-scale-ratio));
    --text-xl          : calc(var(--text-lg) * var(--text-scale-ratio));
    --text-xxl         : calc(var(--text-xl) * var(--text-scale-ratio));
    --text-xxxl        : calc(var(--text-xxl) * var(--text-scale-ratio));
    --text-display-1   : calc(var(--text-xxxl) * var(--text-scale-ratio));
    --text-display-2   : calc(var(--text-display-1) * var(--text-scale-ratio));
    --text-display-3   : calc(var(--text-display-2) * var(--text-scale-ratio));

    /* default button height
     */
    --vspace-btn       : var(--vspace-2);

    /* header height — also set locally on .s-header; defined here too so
     * other components (e.g. .s-page-header) can offset against it
     */
    --header-height    : 80px;
}

/* on mobile devices below 600px, change the value of '--multiplier' 
 * to adjust the values of base font size and vertical space unit.
 */
@media screen and (max-width: 600px) {
    :root {
        --multiplier : .9375;
    }
}

/* ------------------------------------------------------------------- 
 * ## grid variables
 * ------------------------------------------------------------------- */
:root {

    /* widths for rows and containers
     */
    --width-full     : 100%;
    --width-max      : 1180px;
    --width-wide     : 1400px;
    --width-wider    : 1600px;
    --width-widest   : 1800px;
    --width-narrow   : 1000px;
    --width-narrower : 800px;
    --width-grid-max : var(--width-max);

    /* gutter
     */
    --gutter         : 2.2rem;
}

/* on medium screen devices
 */
@media screen and (max-width: 1200px) {
    :root {
        --gutter : 2rem;
    }
}

/* on mobile devices
 */
@media screen and (max-width: 600px) {
    :root {
        --gutter : 1rem;
    }
}


/* ====================================================================
 * # NORMALIZE
 *
 *
 * --------------------------------------------------------------------
 * normalize.css v8.0.1 | MIT License |
 * github.com/necolas/normalize.css
 * -------------------------------------------------------------------- */
html {
    line-height              : 1.15;
    -webkit-text-size-adjust : 100%;
}

body {
    margin : 0;
}

main {
    display : block;
}

h1 {
    font-size : 2em;
    margin    : 0.67em 0;
}

hr {
    box-sizing : content-box;
    height     : 0;
    overflow   : visible;
}

pre {
    font-family : monospace, monospace;
    font-size   : 1em;
}

a {
    background-color : transparent;
}

abbr[title] {
    border-bottom   : none;
    text-decoration : underline;
    text-decoration : underline dotted;
}

b,
strong {
    font-weight : bolder;
}

code,
kbd,
samp {
    font-family : monospace, monospace;
    font-size   : 1em;
}

small {
    font-size : 80%;
}

sub,
sup {
    font-size      : 75%;
    line-height    : 0;
    position       : relative;
    vertical-align : baseline;
}

sub {
    bottom : -0.25em;
}

sup {
    top : -0.5em;
}

img {
    border-style : none;
}

button,
input,
optgroup,
select,
textarea {
    font-family : inherit;
    font-size   : 100%;
    line-height : 1.15;
    margin      : 0;
}

button,
input {
    overflow : visible;
}

button,
select {
    text-transform : none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance : button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style : none;
    padding      : 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline : 1px dotted ButtonText;
}

fieldset {
    padding : 0.35em 0.75em 0.625em;
}

legend {
    box-sizing  : border-box;
    color       : inherit;
    display     : table;
    max-width   : 100%;
    padding     : 0;
    white-space : normal;
}

progress {
    vertical-align : baseline;
}

textarea {
    overflow : auto;
}

[type="checkbox"],
[type="radio"] {
    box-sizing : border-box;
    padding    : 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height : auto;
}

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

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

::-webkit-file-upload-button {
    -webkit-appearance : button;
    font               : inherit;
}

details {
    display : block;
}

summary {
    display : list-item;
}

template {
    display : none;
}

[hidden] {
    display : none;
}


/* ===================================================================
 * # BASE SETUP
 *
 *
 * ------------------------------------------------------------------- */
html {
    font-size  : var(--base-size);
    box-sizing : border-box;
}

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

html,
body {
    height : 100%;
}

body {
    background-color            : var(--color-body);
    -webkit-overflow-scrolling  : touch;
    -webkit-text-size-adjust    : 100%;
    -webkit-tap-highlight-color : rgba(0, 0, 0, 0);
    -webkit-font-smoothing      : antialiased;
    -moz-osx-font-smoothing     : grayscale;
}

p {
    font-size      : inherit;
    text-rendering : optimizeLegibility;
}

a {
    text-decoration : none;
}

svg,
img,
video {
    max-width : 100%;
    height    : auto;
}

pre {
    overflow : auto;
}

div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
p,
blockquote,
th,
td {
    margin  : 0;
    padding : 0;
}

input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
    -webkit-appearance : none;
    -moz-appearance    : none;
    appearance         : none;
}


/* ===================================================================
 * # GRID v4.0.0
 *
 *
 *   -----------------------------------------------------------------
 * - Grid breakpoints are based on MAXIMUM WIDTH media queries, 
 *   meaning they apply to that one breakpoint and ALL THOSE BELOW IT.
 * - Grid columns without a specified width will automatically layout 
 *   as equal width columns.
 *
 * - BLOCK GRID columns(columns inside BLOCK GRID containers) are 
 *   equally-sized columns define at parent/row level. 
 *   A BLOCK GRID container's class attribute value begins with "block-".
 *
 * ------------------------------------------------------------------- */

/* row 
 */
.row {
    width     : 92%;
    max-width : var(--width-grid-max);
    margin    : 0 auto;
    display   : flex;
    flex-flow : row wrap;
}

.row .row {
    width        : auto;
    max-width    : none;
    margin-left  : calc(var(--gutter) * -1);
    margin-right : calc(var(--gutter) * -1);
}

/* column
 */
.column {
    display : block;
    flex    : 1 1 0%;
    padding : 0 var(--gutter);
}

.collapse>.column,
.column.collapse {
    padding : 0;
}

/* row utility classes
 */
.row.row-wrap {
    flex-wrap : wrap;
}

.row.row-nowrap {
    flex-wrap : nowrap;
}

.row.row-y-top {
    align-items : flex-start;
}

.row.row-y-bottom {
    align-items : flex-end;
}

.row.row-y-center {
    align-items : center;
}

.row.row-stretch {
    align-items : stretch;
}

.row.row-baseline {
    align-items : baseline;
}

.row.row-x-left {
    justify-content : flex-start;
}

.row.row-x-right {
    justify-content : flex-end;
}

.row.row-x-center {
    justify-content : center;
}

/* --------------------------------------------------------------------
 * ## large screen devices 
 * -------------------------------------------------------------------- */
.lg-1 {
    flex  : none;
    width : 8.33333%;
}

.lg-2 {
    flex  : none;
    width : 16.66667%;
}

.lg-3 {
    flex  : none;
    width : 25%;
}

.lg-4 {
    flex  : none;
    width : 33.33333%;
}

.lg-5 {
    flex  : none;
    width : 41.66667%;
}

.lg-6 {
    flex  : none;
    width : 50%;
}

.lg-7 {
    flex  : none;
    width : 58.33333%;
}

.lg-8 {
    flex  : none;
    width : 66.66667%;
}

.lg-9 {
    flex  : none;
    width : 75%;
}

.lg-10 {
    flex  : none;
    width : 83.33333%;
}

.lg-11 {
    flex  : none;
    width : 91.66667%;
}

.lg-12 {
    flex  : none;
    width : 100%;
}

.block-lg-one-eight>.column {
    flex  : none;
    width : 12.5%;
}

.block-lg-one-sixth>.column {
    flex  : none;
    width : 16.66667%;
}

.block-lg-one-fifth>.column {
    flex  : none;
    width : 20%;
}

.block-lg-one-fourth>.column {
    flex  : none;
    width : 25%;
}

.block-lg-one-third>.column {
    flex  : none;
    width : 33.33333%;
}

.block-lg-one-half>.column {
    flex  : none;
    width : 50%;
}

.block-lg-whole>.column {
    flex  : none;
    width : 100%;
}

/* --------------------------------------------------------------------
 * ## medium screen devices 
 * -------------------------------------------------------------------- */
@media screen and (max-width: 1200px) {
    .md-1 {
        flex  : none;
        width : 8.33333%;
    }

    .md-2 {
        flex  : none;
        width : 16.66667%;
    }

    .md-3 {
        flex  : none;
        width : 25%;
    }

    .md-4 {
        flex  : none;
        width : 33.33333%;
    }

    .md-5 {
        flex  : none;
        width : 41.66667%;
    }

    .md-6 {
        flex  : none;
        width : 50%;
    }

    .md-7 {
        flex  : none;
        width : 58.33333%;
    }

    .md-8 {
        flex  : none;
        width : 66.66667%;
    }

    .md-9 {
        flex  : none;
        width : 75%;
    }

    .md-10 {
        flex  : none;
        width : 83.33333%;
    }

    .md-11 {
        flex  : none;
        width : 91.66667%;
    }

    .md-12 {
        flex  : none;
        width : 100%;
    }

    .block-md-one-eight>.column {
        flex  : none;
        width : 12.5%;
    }

    .block-md-one-sixth>.column {
        flex  : none;
        width : 16.66667%;
    }

    .block-md-one-fifth>.column {
        flex  : none;
        width : 20%;
    }

    .block-md-one-fourth>.column {
        flex  : none;
        width : 25%;
    }

    .block-md-one-third>.column {
        flex  : none;
        width : 33.33333%;
    }

    .block-md-one-half>.column {
        flex  : none;
        width : 50%;
    }

    .block-md-whole>.column {
        flex  : none;
        width : 100%;
    }

    .hide-on-md {
        display : none;
    }
}

/* --------------------------------------------------------------------
 * ## tablet devices 
 * -------------------------------------------------------------------- */
@media screen and (max-width: 800px) {
    .tab-1 {
        flex  : none;
        width : 8.33333%;
    }

    .tab-2 {
        flex  : none;
        width : 16.66667%;
    }

    .tab-3 {
        flex  : none;
        width : 25%;
    }

    .tab-4 {
        flex  : none;
        width : 33.33333%;
    }

    .tab-5 {
        flex  : none;
        width : 41.66667%;
    }

    .tab-6 {
        flex  : none;
        width : 50%;
    }

    .tab-7 {
        flex  : none;
        width : 58.33333%;
    }

    .tab-8 {
        flex  : none;
        width : 66.66667%;
    }

    .tab-9 {
        flex  : none;
        width : 75%;
    }

    .tab-10 {
        flex  : none;
        width : 83.33333%;
    }

    .tab-11 {
        flex  : none;
        width : 91.66667%;
    }

    .tab-12 {
        flex  : none;
        width : 100%;
    }

    .block-tab-one-eight>.column {
        flex  : none;
        width : 12.5%;
    }

    .block-tab-one-sixth>.column {
        flex  : none;
        width : 16.66667%;
    }

    .block-tab-one-fifth>.column {
        flex  : none;
        width : 20%;
    }

    .block-tab-one-fourth>.column {
        flex  : none;
        width : 25%;
    }

    .block-tab-one-third>.column {
        flex  : none;
        width : 33.33333%;
    }

    .block-tab-one-half>.column {
        flex  : none;
        width : 50%;
    }

    .block-tab-whole>.column {
        flex  : none;
        width : 100%;
    }

    .hide-on-tab {
        display : none;
    }
}

/* --------------------------------------------------------------------
 * ## mobile devices 
 * -------------------------------------------------------------------- */
@media screen and (max-width: 600px) {
    .row {
        width         : 100%;
        padding-left  : 6vw;
        padding-right : 6vw;
    }

    .row .row {
        padding-left  : 0;
        padding-right : 0;
    }

    .mob-1 {
        flex  : none;
        width : 8.33333%;
    }

    .mob-2 {
        flex  : none;
        width : 16.66667%;
    }

    .mob-3 {
        flex  : none;
        width : 25%;
    }

    .mob-4 {
        flex  : none;
        width : 33.33333%;
    }

    .mob-5 {
        flex  : none;
        width : 41.66667%;
    }

    .mob-6 {
        flex  : none;
        width : 50%;
    }

    .mob-7 {
        flex  : none;
        width : 58.33333%;
    }

    .mob-8 {
        flex  : none;
        width : 66.66667%;
    }

    .mob-9 {
        flex  : none;
        width : 75%;
    }

    .mob-10 {
        flex  : none;
        width : 83.33333%;
    }

    .mob-11 {
        flex  : none;
        width : 91.66667%;
    }

    .mob-12 {
        flex  : none;
        width : 100%;
    }

    .block-mob-one-eight>.column {
        flex  : none;
        width : 12.5%;
    }

    .block-mob-one-sixth>.column {
        flex  : none;
        width : 16.66667%;
    }

    .block-mob-one-fifth>.column {
        flex  : none;
        width : 20%;
    }

    .block-mob-one-fourth>.column {
        flex  : none;
        width : 25%;
    }

    .block-mob-one-third>.column {
        flex  : none;
        width : 33.33333%;
    }

    .block-mob-one-half>.column {
        flex  : none;
        width : 50%;
    }

    .block-mob-whole>.column {
        flex  : none;
        width : 100%;
    }

    .hide-on-mob {
        display : none;
    }
}

/* --------------------------------------------------------------------
 * ## small screen devices 
 * --------------------------------------------------------------------*/

/* stack columns on small screen devices
 */
@media screen and (max-width: 400px) {
    .row .row {
        margin-left  : 0;
        margin-right : 0;
    }

    .block-stack>.column,
    .column {
        flex         : none;
        width        : 100%;
        margin-left  : 0;
        margin-right : 0;
        padding      : 0;
    }

    .hide-on-sm {
        display : none;
    }
}

/* --------------------------------------------------------------------
 * ## additional column stackpoints 
 * -------------------------------------------------------------------- */
@media screen and (max-width: 1100px) {

    .stack-on-1100,
    .block-stack-on-1100>.column {
        flex         : none;
        width        : 100%;
        margin-left  : 0;
        margin-right : 0;
    }
}

@media screen and (max-width: 1000px) {

    .stack-on-1000,
    .block-stack-on-1000>.column {
        flex         : none;
        width        : 100%;
        margin-left  : 0;
        margin-right : 0;
    }
}

@media screen and (max-width: 900px) {

    .stack-on-900,
    .block-stack-on-900>.column {
        flex         : none;
        width        : 100%;
        margin-left  : 0;
        margin-right : 0;
    }
}

@media screen and (max-width: 700px) {

    .stack-on-700,
    .block-stack-on-700>.column {
        flex         : none;
        width        : 100%;
        margin-left  : 0;
        margin-right : 0;
    }
}

@media screen and (max-width: 500px) {

    .stack-on-500,
    .block-stack-on-500>.column {
        flex         : none;
        width        : 100%;
        margin-left  : 0;
        margin-right : 0;
    }
}


/* ===================================================================
 * # UTILITY CLASSES
 *
 *
 * ------------------------------------------------------------------- */

/* flex item alignment classes
 */
.u-flexitem-center {
    margin     : auto;
    align-self : center;
}

.u-flexitem-left {
    margin-right : auto;
    align-self   : center;
}

.u-flexitem-right {
    margin-left : auto;
    align-self  : center;
}

.u-flexitem-x-center {
    margin-right : auto;
    margin-left  : auto;
}

.u-flexitem-x-left {
    margin-right : auto;
}

.u-flexitem-x-right {
    margin-left : auto;
}

.u-flexitem-y-center {
    align-self : center;
}

.u-flexitem-y-top {
    align-self : flex-start;
}

.u-flexitem-y-bottom {
    align-self : flex-end;
}

/* misc helper classes
 */
.u-screen-reader-text {
    clip      : rect(1px, 1px, 1px, 1px);
    clip-path : inset(50%);
    height    : 1px;
    width     : 1px;
    margin    : -1px;
    overflow  : hidden;
    padding   : 0;
    border    : 0;
    position  : absolute;
    word-wrap : normal !important;
}

.u-clearfix:after {
    content : "";
    display : table;
    clear   : both;
}

.u-hidden {
    display : none;
}

.u-invisible {
    visibility : hidden;
}

.u-antialiased {
    -webkit-font-smoothing  : antialiased;
    -moz-osx-font-smoothing : grayscale;
}

.u-overflow-hidden {
    overflow : hidden;
}

.u-remove-top {
    margin-top : 0;
}

.u-remove-bottom {
    margin-bottom : 0;
}

.u-add-half-bottom {
    margin-bottom : var(--vspace-0_5);
}

.u-add-bottom {
    margin-bottom : var(--vspace-1);
}

.u-no-border {
    border : none;
}

.u-fullwidth {
    width : 100%;
}

.u-pull-left {
    float : left;
}

.u-pull-right {
    float : right;
}


/* ===================================================================
 * # TYPOGRAPHY 
 *
 *
 * ------------------------------------------------------------------- 
 * type scale - ratio 1:2 | base: 18px
 * -------------------------------------------------------------------
 *
 * --text-display-3 = (77.40px)
 * --text-display-2 = (64.50px)
 * --text-display-1 = (53.75px)
 * --text-xxxl      = (44.79px)
 * --text-xxl       = (37.32px)
 * --text-xl        = (31.10px)
 * --text-lg        = (25.92px)
 * --text-md        = (21.60px)
 * --text-size      = (18.00px) BASE
 * --text-sm        = (15.00px)
 * --text-xs        = (12.50px)
 *
 * -------------------------------------------------------------------- */

/* --------------------------------------------------------------------
 * ## base type styles
 * -------------------------------------------------------------------- */
body {
    font-family : var(--font-2);
    font-size   : var(--base-font-size);
    font-weight : 400;
    line-height : var(--vspace-1);
    color       : var(--color-text);
}

/* links
 */
a {
    color      : var(--color-1);
    transition : all 0.3s ease-in-out;
}

a:focus,
a:hover,
a:active {
    color : var(--color-2);
}

a:hover,
a:active {
    outline : 0;
}

/* headings
 */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family            : var(--font-2);
    font-weight            : 600;
    color                  : var(--color-text-dark);
    font-variant-ligatures : common-ligatures;
    text-rendering         : optimizeLegibility;
    letter-spacing         : -.010em;
}

h1,
.h1 {
    margin-top    : var(--vspace-2_5);
    margin-bottom : var(--vspace-0_75);
}

h2,
.h2,
h3,
.h3,
h4,
.h4 {
    margin-top    : var(--vspace-2);
    margin-bottom : var(--vspace-0_75);
}

h5,
.h5,
h6,
.h6 {
    margin-top    : var(--vspace-1_75);
    margin-bottom : var(--vspace-0_5);
}

h1,
.h1 {
    font-size      : var(--text-display-2);
    line-height    : calc(2.25 * var(--space));
    letter-spacing : -.020em;
}

@media screen and (max-width: 500px) {

    h1,
    .h1 {
        font-size   : var(--text-display-1);
        line-height : calc(1.875 * var(--space));
    }
}

h2,
.h2 {
    font-size      : var(--text-xxl);
    line-height    : calc(1.375 * var(--space));
    letter-spacing : -.015em;
}

h3,
.h3 {
    font-size   : var(--text-xl);
    line-height : calc(1.125 * var(--space));
}

h4,
.h4 {
    font-size   : var(--text-lg);
    line-height : var(--vspace-1);
}

h5,
.h5 {
    font-size   : var(--text-md);
    line-height : var(--vspace-0_875);
}

h6,
.h6 {
    font-weight    : 700;
    font-size      : var(--text-sm);
    line-height    : var(--vspace-0_75);
    text-transform : uppercase;
    letter-spacing : .2rem;
}

/* emphasis, italic,
 * strong, bold and small text
 */
em,
i,
strong,
b {
    font-size   : inherit;
    line-height : inherit;
}

em,
i {
    font-style : italic;
}

strong,
b {
    font-weight : 600;
}

small {
    font-size   : 80%;
    font-weight : 400;
    line-height : var(--vspace-0_5);
}

/* blockquotes
 */
blockquote {
    margin      : 0 0 var(--vspace-1) 0;
    padding     : var(--vspace-1) var(--vspace-1_5);
    border-left : 2px solid var(--color-text-dark);
    position    : relative;
}

blockquote p {
    font-family : var(--font-1);
    font-weight : 400;
    font-size   : var(--text-lg);
    font-style  : normal;
    line-height : var(--vspace-1_25);
    color       : var(--color-text-dark);
    padding     : 0;
}

blockquote cite {
    display     : block;
    font-family : var(--font-2);
    font-weight : 400;
    font-size   : var(--text-sm);
    line-height : var(--vspace-0_75);
    font-style  : normal;
}

blockquote cite:before {
    content : "\2014 \0020";
}

blockquote cite,
blockquote cite a,
blockquote cite a:visited {
    color  : var(--color-text-light);
    border : none;
}

@media screen and (max-width: 500px) {
    blockquote {
        padding : var(--vspace-0_75) var(--vspace-0_75);
    }

    blockquote p {
        font-size   : var(--text-md);
        line-height : var(--vspace-1);
    }
}

/* figures
 */
figure img,
p img {
    margin         : 0;
    vertical-align : bottom;
}

figure {
    display      : block;
    margin-left  : 0;
    margin-right : 0;
}

figure img+figcaption {
    margin-top : var(--vspace-1);
}

figcaption {
    /* font-style: italic; */
    font-size     : var(--text-sm);
    text-align    : center;
    margin-bottom : 0;
}

/* preformatted, code
 */
var,
kbd,
samp,
code,
pre {
    font-family : var(--font-mono);
}

pre {
    padding    : var(--vspace-0_75) var(--vspace-1) var(--vspace-1);
    background : var(--color-gray-6);
    overflow-x : auto;
}

code {
    font-size     : var(--text-sm);
    line-height   : 1.6rem;
    margin        : 0 .2rem;
    padding       : calc(((var(--vspace-1) - 1.6rem) / 2) - .1rem) calc(.8rem - .1rem);
    white-space   : nowrap;
    background    : var(--color-gray-6);
    border        : 1px solid var(--color-gray-10);
    color         : var(--color-text-dark);
    border-radius : 3px;
}

pre>code {
    display     : block;
    white-space : pre;
    line-height : var(--vspace-1);
    padding     : 0;
    margin      : 0;
    border      : none;
}

/* deleted text, abbreviation,
 * & mark text
 */
del {
    text-decoration : line-through;
}

abbr {
    font-family    : var(--font-1);
    font-weight    : 600;
    font-variant   : small-caps;
    text-transform : lowercase;
    letter-spacing : .1em;
}

abbr[title],
dfn[title] {
    border-bottom   : 1px dotted;
    cursor          : help;
    text-decoration : none;
}

mark {
    background : var(--color-2-lightest);
    color      : var(--color-black);
}

/* horizontal rule
 */
hr {
    border       : solid var(--color-border);
    border-width : .1rem 0 0;
    clear        : both;
    margin       : var(--vspace-2) 0 calc(var(--vspace-2) - 1px);
    height       : 0;
}

hr.fancy {
    border     : none;
    margin     : var(--vspace-2) 0;
    height     : var(--vspace-1);
    text-align : center;
}

hr.fancy::before {
    content        : "*****";
    letter-spacing : .3em;
}

/* --------------------------------------------------------------------
 * ## additional typography & helper classes
 * -------------------------------------------------------------------- */
.lead,
.attention-getter {
    font-family : var(--font-2);
    font-weight : 300;
    font-size   : var(--text-md);
    line-height : var(--vspace-1_25);
    color       : var(--color-text);
}

@media screen and (max-width: 800px) {

    .lead,
    .attention-getter {
        font-size   : calc(var(--text-size) * 1.0556);
        line-height : calc(1.125 * var(--space));
    }
}

@media screen and (max-width: 400px) {

    .lead,
    .attention-getter {
        font-size   : var(--text-size);
        line-height : var(--vspace-1);
    }
}

.pull-quote {
    position   : relative;
    padding    : 0;
    margin-top : 0;
    text-align : center;
}

.pull-quote blockquote {
    border      : none;
    margin      : 0 auto;
    max-width   : 62rem;
    padding-top : var(--vspace-2_5);
    position    : relative;
}

.pull-quote blockquote p {
    font-weight : 400;
    color       : var(--color-text-dark);
}

.pull-quote blockquote:before {
    content           : "";
    display           : block;
    height            : var(--vspace-1);
    width             : var(--vspace-1);
    background-repeat : no-repeat;
    background        : center center;
    background-size   : contain;
    background-image  : url(../images/icons/icon-quote.svg);
    transform         : translate(-50%, 0, 0);
    position          : absolute;
    top               : var(--vspace-1);
    left              : 50%;
}

.drop-cap:first-letter {
    float          : left;
    font-family    : var(--font-2);
    font-weight    : 700;
    font-size      : calc(3 * var(--space));
    line-height    : 1;
    padding        : 0 0.125em 0 0;
    text-transform : uppercase;
    background     : transparent;
    color          : var(--color-text-dark);
}

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

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

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

/* --------------------------------------------------------------------
 * ## lists
 * -------------------------------------------------------------------- */
ol {
    list-style : decimal;
}

ul {
    list-style : disc;
}

li {
    display : list-item;
}

ol,
ul {
    margin-left : 1.6rem;
}

ul li {
    padding-left : .4rem;
}

ul ul,
ul ol,
ol ol,
ol ul {
    margin : 1.6rem 0 1.6rem 1.6rem;
}

ul.disc li {
    display    : list-item;
    list-style : none;
    padding    : 0 0 0 .8rem;
    position   : relative;
}

ul.disc li::before {
    content        : "";
    display        : inline-block;
    width          : 8px;
    height         : 8px;
    border-radius  : 50%;
    background     : var(--color-1);
    position       : absolute;
    left           : -.9em;
    top            : 11px;
    vertical-align : middle;
}

dt {
    margin : 0;
    color  : var(--color-1);
}

dd {
    margin : 0 0 0 2rem;
}

/* definition list line style 
 */
.lining dt,
.lining dd {
    display : inline;
    margin  : 0;
}

.lining dt+dt:before,
.lining dd+dt:before {
    content     : "\A";
    white-space : pre;
}

.lining dd+dd:before {
    content : ", ";
}

.lining dd+dd:before {
    content : ", ";
}

.lining dd:before {
    content     : ": ";
    margin-left : -0.2em;
}

/* definition list dictionary style 
 */
.dictionary-style dt {
    display       : inline;
    counter-reset : definitions;
}

.dictionary-style dt+dt:before {
    content     : ", ";
    margin-left : -0.2em;
}

.dictionary-style dd {
    display           : block;
    counter-increment : definitions;
}

.dictionary-style dd:before {
    content : counter(definitions, decimal) ". ";
}

/* --------------------------------------------------------------------
 * ## spacing
 * -------------------------------------------------------------------- */
fieldset,
button,
.btn {
    margin-bottom : var(--vspace-0_5);
}

input,
textarea,
select,
pre,
blockquote,
figure,
figcaption,
table,
p,
ul,
ol,
dl,
form,
img,
.video-container,
.ss-custom-select {
    margin-bottom : var(--vspace-1);
}


/* =================================================================== 
 * # PRELOADER
 * 
 * 
 * -------------------------------------------------------------------
 * - markup:
 *
 * <div id="preloader">
 *    <div id="loader"></div>
 * </div>
 *
 * ------------------------------------------------------------------- */
#preloader {
    position        : fixed;
    display         : flex;
    flex-flow       : row wrap;
    justify-content : center;
    align-items     : center;
    background      : var(--color-preloader-bg);
    z-index         : 500;
    height          : 100vh;
    width           : 100%;
    opacity         : 1;
}

.no-js #preloader {
    display : none;
}

#loader {
    width   : var(--vspace-1_5);
    height  : var(--vspace-1_5);
    padding : 0;
    opacity : 1;
}

#loader:before {
    content           : "";
    border-top        : 4px solid var(--color-loader-light);
    border-right      : 4px solid var(--color-loader-light);
    border-bottom     : 4px solid var(--color-loader-light);
    border-left       : 4px solid var(--color-loader);
    -webkit-animation : load 1.1s infinite linear;
    animation         : load 1.1s infinite linear;
    display           : block;
    border-radius     : 50%;
    width             : 100%;
    height            : 100%;
}

@-webkit-keyframes load {
    0% {
        -webkit-transform : rotate(0deg);
        transform         : rotate(0deg);
    }

    100% {
        -webkit-transform : rotate(360deg);
        transform         : rotate(360deg);
    }
}

@keyframes load {
    0% {
        transform : rotate(0deg);
    }

    100% {
        transform : rotate(360deg);
    }
}

/* ------------------------------------------------------------------- 
 * ## page loaded
 * ------------------------------------------------------------------- */
.ss-loaded #preloader {
    opacity    : 0;
    visibility : hidden;
    transition : all .6s .9s ease-in-out;
}

.ss-loaded #preloader #loader {
    opacity    : 0;
    transition : opacity .6s ease-in-out;
}


/* ===================================================================
 * # FORM
 *
 *
 * ------------------------------------------------------------------- */
fieldset {
    border  : none;
    padding : 0;
}

input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
    --input-height      : var(--vspace-2);
    --input-line-height : var(--vspace-1);
    --input-vpadding    : calc(((var(--input-height) - var(--input-line-height)) / 2) - 1px);
    display             : block;
    height              : var(--input-height);
    padding             : var(--input-vpadding) calc(2.4rem - 1px);
    border              : 0;
    outline             : 0;
    color               : var(--color-placeholder);
    font-family         : var(--font-1);
    font-size           : var(--text-sm);
    font-size           : calc(var(--text-size) * 0.8889);
    line-height         : var(--input-line-height);
    max-width           : 100%;
    background-color    : var(--color-gray-5);
    border              : 1px solid transparent;
    transition          : all .3s ease-in-out;
}

.ss-custom-select {
    position : relative;
    padding  : 0;
}

.ss-custom-select select {
    -webkit-appearance : none;
    -moz-appearance    : none;
    appearance         : none;
    text-indent        : 0.01px;
    text-overflow      : '';
    margin             : 0;
    vertical-align     : middle;
}

.ss-custom-select select option {
    padding-left  : 2rem;
    padding-right : 2rem;
}

.ss-custom-select select::-ms-expand {
    display : none;
}

.ss-custom-select::after {
    border-bottom    : 2px solid black;
    border-right     : 2px solid black;
    content          : '';
    display          : block;
    height           : 8px;
    width            : 8px;
    margin-top       : -7px;
    pointer-events   : none;
    position         : absolute;
    right            : 2.4rem;
    top              : 50%;
    transition       : all 0.15s ease-in-out;
    transform-origin : 66% 66%;
    transform        : rotate(45deg);
}

textarea {
    min-height : calc(8 * var(--space));
}

input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    color            : var(--color-black);
    background-color : white;
    box-shadow       : 0 0 5px var(--color-1);
    border           : 1px solid var(--color-1-light);
}

label,
legend {
    font-family   : var(--font-1);
    font-weight   : 600;
    font-size     : var(--text-sm);
    line-height   : var(--vspace-0_5);
    margin-bottom : var(--vspace-0_5);
    color         : var(--color-text-dark);
    display       : block;
}

input[type="checkbox"],
input[type="radio"] {
    display : inline;
}

label>.label-text {
    display     : inline-block;
    margin-left : 1rem;
    font-family : var(--font-1);
    line-height : inherit;
}

label>input[type="checkbox"],
label>input[type="radio"] {
    margin   : 0;
    position : relative;
    top      : 2px;
}

/* ------------------------------------------------------------------- 
 * ## style placeholder text
 * ------------------------------------------------------------------- */
::-webkit-input-placeholder {
    /* WebKit, Blink, Edge */
    color : var(--color-placeholder);
}

:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color   : var(--color-placeholder);
    opacity : 1;
}

::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color   : var(--color-placeholder);
    opacity : 1;
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color : var(--color-placeholder);
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color : var(--color-placeholder);
}

::placeholder {
    /* Most modern browsers support this now. */
    color : var(--color-placeholder);
}

/* ------------------------------------------------------------------- 
 * ## change autocomplete styles in Chrome
 * ------------------------------------------------------------------- */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color : var(--color-1);
    transition              : background-color 5000s ease-in-out 0s;
}


/* ===================================================================
 * # BUTTONS
 *
 *
 * ------------------------------------------------------------------- */
.btn,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
    --btn-height            : var(--vspace-btn);
    display                 : inline-block;
    font-family             : var(--font-2);
    font-weight             : 400;
    font-size               : calc(var(--text-size) * 0.6667);
    text-transform          : uppercase;
    letter-spacing          : .3em;
    height                  : var(--btn-height);
    line-height             : calc(var(--btn-height) - 4px);
    padding                 : 0 3.6rem;
    margin                  : 0 0.4rem var(--vspace-0_5) 0;
    color                   : var(--color-btn-text);
    text-decoration         : none;
    text-align              : center;
    white-space             : nowrap;
    cursor                  : pointer;
    transition              : all .3s;
    background-color        : var(--color-btn);
    border                  : 2px solid var(--color-btn);
    -webkit-font-smoothing  : antialiased;
    -moz-osx-font-smoothing : grayscale;
}

/* long button labels shouldn't force horizontal overflow on narrow
 * screens — let them wrap onto a second line instead of a fixed-height
 * single-line box */
@media screen and (max-width: 500px) {
    .btn,
    button,
    input[type="submit"],
    input[type="reset"],
    input[type="button"] {
        height         : auto;
        min-height     : var(--btn-height);
        line-height    : 1.4;
        white-space    : normal;
        padding-top    : var(--vspace-0_375);
        padding-bottom : var(--vspace-0_375);
    }
}

.btn:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus,
.btn:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
    background-color : var(--color-btn-hover);
    border-color     : var(--color-btn-hover);
    color            : var(--color-btn-hover-text);
    outline          : 0;
}

/* button primary
 */
.btn.btn--primary,
button.btn--primary,
input[type="submit"].btn--primary,
input[type="reset"].btn--primary,
input[type="button"].btn--primary {
    background   : var(--color-btn-primary);
    border-color : var(--color-btn-primary);
    color        : var(--color-btn-primary-text);
}

.btn.btn--primary:focus,
button.btn--primary:focus,
input[type="submit"].btn--primary:focus,
input[type="reset"].btn--primary:focus,
input[type="button"].btn--primary:focus,
.btn.btn--primary:hover,
button.btn--primary:hover,
input[type="submit"].btn--primary:hover,
input[type="reset"].btn--primary:hover,
input[type="button"].btn--primary:hover {
    background   : var(--color-btn-primary-hover);
    border-color : var(--color-btn-primary-hover);
    color        : var(--color-btn-primary-hover-text);
}

/* button modifiers
 */
.btn.u-fullwidth,
button.u-fullwidth {
    width        : 100%;
    margin-right : 0;
}

.btn--small,
button.btn--small {
    --btn-height : calc(var(--vspace-btn) - 1.6rem);
}

.btn--medium,
button.btn--medium {
    --btn-height : calc(var(--vspace-btn) + .8rem);
}

.btn--large,
button.btn--large {
    --btn-height : calc(var(--vspace-btn) + 1.6rem);
}

.btn--stroke,
button.btn--stroke {
    background  : transparent !important;
    font-weight : 400;
    border      : 2px solid var(--color-btn-stroke);
    color       : var(--color-btn-stroke-text);
}

.btn--stroke:focus,
button.btn--stroke:focus,
.btn--stroke:hover,
button.btn--stroke:hover {
    background : var(--color-btn-stroke-hover) !important;
    border     : 2px solid var(--color-btn-stroke-hover);
    color      : var(--color-btn-stroke-hover-text);
}

.btn--pill,
button.btn--pill {
    padding-left  : 3.2rem !important;
    padding-right : 3.2rem !important;
    border-radius : 1000px !important;
}


/* ===================================================================
 * # TABLE
 *
 *
 * ------------------------------------------------------------------- */
table {
    border-width    : 0;
    width           : 100%;
    max-width       : 100%;
    font-family     : var(--font-1);
    border-collapse : collapse;
}

th,
td {
    padding       : var(--vspace-0_5) 3.2rem calc(var(--vspace-0_5) - 1px);
    text-align    : left;
    border-bottom : 1px solid var(--color-border);
}

th {
    padding     : var(--vspace-0_5) 3.2rem;
    color       : var(--color-text-dark);
    font-family : var(--font-2);
    font-weight : 500;
}

th:first-child,
td:first-child {
    padding-left : 0;
}

th:last-child,
td:last-child {
    padding-right : 0;
}

.table-responsive {
    overflow-x                 : auto;
    -webkit-overflow-scrolling : touch;
}


/* ===================================================================
 * # COMPONENTS
 *
 *
 * ------------------------------------------------------------------- */

/* -------------------------------------------------------------------
 * ## pagination
 * ------------------------------------------------------------------- */
.pgn {
    --pgn-num-height : calc(var(--vspace-1) + .4rem);
    margin           : 0 auto var(--vspace-1);
    text-align       : center;
}

.pgn ul {
    display         : inline-flex;
    flex-flow       : row wrap;
    justify-content : center;
    list-style      : none;
    margin-left     : 0;
    position        : relative;
    padding         : 0 6rem;
}

.pgn ul li {
    margin  : 0;
    padding : 0;
}

.pgn__num {
    font-family   : var(--font-2);
    font-weight   : 600;
    font-size     : var(--text-size);
    line-height   : var(--vspace-1);
    display       : block;
    padding       : .2rem 1.2rem;
    height        : var(--pgn-num-height);
    margin        : .2rem .2rem;
    color         : var(--color-text-dark);
    border-radius : var(--border-radius);
    transition    : all, .3s, ease-in-out;
}

.pgn__num:focus,
.pgn__num:hover {
    background : var(--color-text-dark);
    color      : var(--color-white);
}

.pgn .current,
.pgn .current:focus,
.pgn .current:hover {
    background : var(--color-text-dark);
    color      : var(--color-white);
}

.pgn .inactive,
.pgn .inactive:focus,
.pgn .inactive:hover {
    opacity : 0.4;
    cursor  : default;
}

.pgn__prev,
.pgn__next {
    display         : inline-flex;
    flex-flow       : row wrap;
    justify-content : center;
    align-items     : center;
    height          : var(--pgn-num-height);
    width           : 4.8rem;
    line-height     : var(--vspace-1);
    border-radius   : 4px;
    padding         : 0;
    margin          : 0;
    opacity         : 1;
    font            : 0/0 a;
    text-shadow     : none;
    color           : transparent;
    transition      : all, .3s, ease-in-out;
    position        : absolute;
    top             : 50%;
    transform       : translate(0, -50%);
}

.pgn__prev:focus,
.pgn__prev:hover,
.pgn__next:focus,
.pgn__next:hover {
    background : var(--color-text-dark);
}

.pgn__prev svg,
.pgn__next svg {
    height     : 2.4rem;
    width      : 2.4rem;
    transition : all, .3s, ease-in-out;
}

.pgn__prev svg path,
.pgn__next svg path {
    fill : var(--color-text-dark);
}

.pgn__prev:focus svg path,
.pgn__prev:hover svg path,
.pgn__next:focus svg path,
.pgn__next:hover svg path {
    fill : white;
}

.pgn__prev {
    left : 0;
}

.pgn__next {
    right : 0;
}

.pgn__prev.inactive,
.pgn__next.inactive {
    opacity : 0.4;
    cursor  : default;
}

.pgn__prev.inactive:focus,
.pgn__prev.inactive:hover,
.pgn__next.inactive:focus,
.pgn__next.inactive:hover {
    background-color : transparent;
}

/* ------------------------------------------------------------------- 
 * responsive:
 * pagination
 * ------------------------------------------------------------------- */
@media screen and (max-width: 600px) {
    .pgn ul {
        padding : 0 5.2rem;
    }
}

/* ------------------------------------------------------------------- 
 * ## alert box 
 * ------------------------------------------------------------------- */
.alert-box {
    padding       : var(--vspace-0_75) 4rem var(--vspace-0_75) 3.2rem;
    margin-bottom : var(--vspace-1);
    border-radius : var(--border-radius);
    font-family   : var(--font-1);
    font-weight   : 400;
    font-size     : var(--text-sm);
    line-height   : var(--vspace-0_75);
    opacity       : 1;
    visibility    : visible;
    position      : relative;
}

.alert-box__close {
    position : absolute;
    display  : block;
    right    : 1.6rem;
    top      : 1.6rem;
    cursor   : pointer;
    width    : 12px;
    height   : 12px;
}

.alert-box__close::before,
.alert-box__close::after {
    content  : '';
    display  : inline-block;
    width    : 1px;
    height   : 12px;
    position : absolute;
    top      : 0;
    left     : 5px;
}

.alert-box__close::before {
    transform : rotate(45deg);
}

.alert-box__close::after {
    transform : rotate(-45deg);
}

.alert-box--error {
    background-color : var(--color-error);
    color            : var(--color-error-content);
}

.alert-box--error .alert-box__close::before,
.alert-box--error .alert-box__close::after {
    background-color : var(--color-error-content);
}

.alert-box--success {
    background-color : var(--color-success);
    color            : var(--color-success-content);
}

.alert-box--success .alert-box__close::before,
.alert-box--success .alert-box__close::after {
    background-color : var(--color-success-content);
}

.alert-box--info {
    background-color : var(--color-info);
    color            : var(--color-info-content);
}

.alert-box--info .alert-box__close::before,
.alert-box--info .alert-box__close::after {
    background-color : var(--color-info-content);
}

.alert-box--notice {
    background-color : var(--color-notice);
    color            : var(--color-notice-content);
}

.alert-box--notice .alert-box__close::before,
.alert-box--notice .alert-box__close::after {
    background-color : var(--color-notice-content);
}

.alert-box.hideit {
    opacity    : 0;
    visibility : hidden;
    transition : all .5s;
}

/* ------------------------------------------------------------------- 
 * ## skillbars
 * ------------------------------------------------------------------- */
.skill-bars {
    list-style : none;
    margin     : var(--vspace-2) 0 var(--vspace-1);
}

.skill-bars li {
    height        : .4rem;
    background    : var(--color-gray-9);
    width         : 100%;
    margin-bottom : calc(var(--vspace-2) - .4rem);
    padding       : 0;
    position      : relative;
}

.skill-bars li strong {
    position       : absolute;
    left           : 0;
    top            : calc((var(--vspace-1) * 1.25) * -1);
    font-family    : var(--font-2);
    font-weight    : 600;
    color          : var(--color-text-dark);
    text-transform : uppercase;
    letter-spacing : .2em;
    font-size      : var(--text-xs);
    line-height    : var(--vspace-0_75);
}

.skill-bars li .progress {
    background : var(--color-black);
    position   : relative;
    height     : 100%;
}

.skill-bars li .progress span {
    display       : block;
    font-family   : var(--font-1);
    color         : white;
    font-size     : 1rem;
    line-height   : 1;
    background    : var(--color-black);
    padding       : var(--vspace-0_25);
    border-radius : 4px;
    position      : absolute;
    right         : 0;
    top           : calc((var(--vspace-1) + .8rem) * -1);
}

.skill-bars li .progress span::after {
    position         : absolute;
    left             : 50%;
    bottom           : -10px;
    margin-left      : -5px;
    width            : 0;
    height           : 0;
    border           : 5px solid transparent;
    border-top-color : var(--color-black, var(--color-black));
    content          : "";
}

.skill-bars li .percent5 {
    width : 5%;
}

.skill-bars li .percent10 {
    width : 10%;
}

.skill-bars li .percent15 {
    width : 15%;
}

.skill-bars li .percent20 {
    width : 20%;
}

.skill-bars li .percent25 {
    width : 25%;
}

.skill-bars li .percent30 {
    width : 30%;
}

.skill-bars li .percent35 {
    width : 35%;
}

.skill-bars li .percent40 {
    width : 40%;
}

.skill-bars li .percent45 {
    width : 45%;
}

.skill-bars li .percent50 {
    width : 50%;
}

.skill-bars li .percent55 {
    width : 55%;
}

.skill-bars li .percent60 {
    width : 60%;
}

.skill-bars li .percent65 {
    width : 65%;
}

.skill-bars li .percent70 {
    width : 70%;
}

.skill-bars li .percent75 {
    width : 75%;
}

.skill-bars li .percent80 {
    width : 80%;
}

.skill-bars li .percent85 {
    width : 85%;
}

.skill-bars li .percent90 {
    width : 90%;
}

.skill-bars li .percent95 {
    width : 95%;
}

.skill-bars li .percent100 {
    width : 100%;
}

/* --------------------------------------------------------------------
 * ## stats tabs
 * -------------------------------------------------------------------- */
.stats-tabs {
    padding : 0;
    margin  : var(--vspace-1) 0;
}

.stats-tabs li {
    display      : inline-block;
    margin       : 0 1.6rem var(--vspace-0_5) 0;
    padding      : 0 1.5rem 0 0;
    border-right : 1px solid var(--color-border);
}

.stats-tabs li:last-child {
    margin  : 0;
    padding : 0;
    border  : none;
}

.stats-tabs li a {
    display     : block;
    font-family : var(--font-2);
    font-size   : var(--text-lg);
    font-weight : 600;
    line-height : var(--vspace-1_5);
    border      : none;
    color       : var(--color-text-dark);
}

.stats-tabs li a:hover {
    color : var(--color-1);
}

.stats-tabs li a em {
    display     : block;
    margin      : 0;
    font-family : var(--font-1);
    font-size   : var(--text-sm);
    line-height : var(--vspace-0_5);
    font-weight : 300;
    font-style  : normal;
    color       : var(--color-text-light);
}


/* ===================================================================
 * # PROJECT-WIDE SHARED STYLES
 *
 *
 * ------------------------------------------------------------------- */
.wide {
    max-width : var(--width-wide);
}

.wider {
    max-width : var(--width-wider);
}

.narrow {
    max-width : var(--width-narrow);
}

.basicLightbox iframe {
    width        : 880px;
    aspect-ratio : 16/9;
}

/* ------------------------------------------------------------------- 
 * ## theme-specific typography classes
 * ------------------------------------------------------------------- */
.body-text-2 {
    font-size   : calc(var(--text-size) * 0.9444);
    line-height : calc(0.9375 * var(--space));
}

.body-text-3 {
    font-size   : calc(var(--text-size) * 0.8889);
    line-height : calc(0.9375 * var(--space));
}

.text-pretitle {
    font-weight    : 600;
    font-size      : var(--text-sm);
    text-transform : uppercase;
    letter-spacing : .3em;
    color          : var(--color-1);
    margin-top     : 0;
}

.text-display-1 {
    font-size   : var(--text-xxl);
    font-weight : 500;
    line-height : 1.5;
    margin-top  : 0;
}

/* ------------------------------------------------------------------- 
 * ## media classes
 * ------------------------------------------------------------------- */

/* floated image
 */
img.u-pull-right {
    margin : var(--vspace-0_5) 0 var(--vspace-0_5) var(--vspace-0_875);
}

img.u-pull-left {
    margin : var(--vspace-0_5) var(--vspace-0_875) var(--vspace-0_5) 0;
}

/* responsive video container
  */
.video-container {
    --aspect-ratio : 16/9;
    position       : relative;
    height         : 0;
    overflow       : hidden;
    padding-bottom : calc(100%/(var(--aspect-ratio)));
}

.video-container iframe,
.video-container object,
.video-container embed,
.video-container video {
    position : absolute;
    top      : 0;
    left     : 0;
    width    : 100%;
    height   : 100%;
}

/* ------------------------------------------------------------------- 
 * ## section header
 * ------------------------------------------------------------------- */
.section-header {
    padding-top   : var(--vspace-2_5);
    margin-bottom : var(--vspace-1_75);
    position      : relative;
}

.section-header__pretitle,
.section-header__primary,
.section-header__secondary {
    z-index  : 1;
    position : relative;
}

.section-header__pretitle {
    margin-bottom : var(--vspace-1_5);
}

.section-header__secondary {
    padding-right : calc(var(--gutter) * 2);
    padding-left  : calc(var(--gutter) * 2);
    margin-top    : var(--vspace-0_25);
}

.section-header .desc {
    font-family : var(--font-2);
    font-size   : calc(var(--text-size) * 1.1111);
    font-weight : 300;
    line-height : 1.8;
    color       : var(--color-text-light);
}

.section-header::before {
    content        : attr(data-num);
    font-family    : var(--font-2);
    font-weight    : 600;
    font-size      : 8em;
    letter-spacing : -0.03em;
    line-height    : 1;
    color          : var(--color-gray-9);
    position       : absolute;
    top            : 0;
    left           : var(--gutter);
}

.section-header.light-on-dark .title {
    color : white;
}

.section-header.light-on-dark .desc {
    color : var(--color-gray-15);
}

.section-header.light-on-dark::before {
    color   : var(--color-gray-18);
    opacity : .75;
}

/* ------------------------------------------------------------------- 
 * ## list block
 * ------------------------------------------------------------------- */
.list-block h3 {
    margin : 0;
}

.list-block .column:nth-child(2n + 1) {
    padding-right : 4.4rem;
}

.list-block .column:nth-child(2n + 2) {
    padding-left : 4.4rem;
}

.list-block.show-ctr {
    counter-reset : ctr;
}

.list-block__item {
    margin-bottom : var(--vspace-0_25);
}

.list-block__title {
    margin-bottom : var(--vspace-0_5);
}

.show-ctr .list-block__title::before {
    content           : counter(ctr, decimal-leading-zero) ".";
    counter-increment : ctr;
    display           : block;
    font-family       : var(--font-2);
    font-weight       : 600;
    font-size         : 1.25em;
    line-height       : 1;
    color             : var(--color-1);
    margin-bottom     : var(--vspace-0_25);
}

.list-block__icon {
    display          : flex;
    align-items      : center;
    justify-content  : center;
    height           : var(--vspace-1_75);
    width            : var(--vspace-1_75);
    border-radius    : 50%;
    background-color : var(--color-gray-6);
    margin-bottom    : var(--vspace-0_25);
}

.list-block__icon svg {
    height : var(--vspace-0_875);
    width  : var(--vspace-0_875);
}

.list-block__icon svg path,
.list-block__icon svg circle {
    fill : var(--color-1);
}

/* ------------------------------------------------------------------- 
 * ## swiper overrides
 * ------------------------------------------------------------------- */
.swiper-container .swiper-pagination-bullets .swiper-pagination-bullet {
    margin : 0 1.2rem;
}

.swiper-container .swiper-pagination-bullet {
    width      : 8px;
    height     : 8px;
    background : var(--color-gray-12);
    opacity    : 1;
}

.swiper-container .swiper-pagination-bullet-active {
    background : var(--color-gray-19);
    opacity    : 1;
}

/* ------------------------------------------------------------------- 
 * responsive:
 * project-wide and shared styles
 * ------------------------------------------------------------------- */
@media screen and (max-width: 1200px) {
    .section-header__secondary {
        padding-right : var(--gutter);
        padding-left  : var(--gutter);
    }

    .list-block .column:nth-child(2n + 1) {
        padding-right : var(--gutter);
    }

    .list-block .column:nth-child(2n + 2) {
        padding-left : var(--gutter);
    }
}

@media screen and (max-width: 600px) {
    .section-header::before {
        left : calc(var(--gutter) + 6vw);
    }
}

@media screen and (max-width: 500px) {
    .section-header {
        padding-top : var(--vspace-2);
    }

    .section-header .title {
        font-size : 3rem;
    }

    .section-header::before {
        font-size : 6.8em;
    }

    .list-block__icon {
        height : var(--vspace-1_5);
        width  : var(--vspace-1_5);
    }

    .list-block__icon svg {
        height : var(--vspace-0_875);
        width  : var(--vspace-0_875);
    }
}

@media screen and (max-width: 400px) {
    .section-header::before {
        left : 4.6vw;
    }

    .list-block .column:nth-child(2n + 1) {
        padding-right : 0;
    }

    .list-block .column:nth-child(2n + 2) {
        padding-left : 0;
    }
}


/* ===================================================================
 * # PAGE WRAP
 *
 *
 * ------------------------------------------------------------------- */
.s-pagewrap {
    display        : flex;
    flex-direction : column;
    min-height     : 100%;
    overflow       : hidden;
    position       : relative;
}


/* ===================================================================
 * # SITE HEADER
 *
 *
 * ------------------------------------------------------------------- */
.s-header {
    --header-height  : 80px;
    --logo-width     : 180px;
    z-index          : 100;
    background-color : var(--color-white);
    box-shadow       : 0 1px 0 rgba(0, 0, 0, .08);
    height           : var(--header-height);
    width            : 100%;
    position         : absolute;
    top              : var(--vspace-0_5);
    left             : 0;
}

.s-header.offset {
    transform           : translateY(-100%);
    transition-property : transform, background-color;
    transition-duration : .5s;
}

.s-header.scrolling {
    transform : translateY(0);
}

.s-header.sticky {
    opacity          : 0;
    visibility       : hidden;
    background-color : var(--color-white);
    position         : fixed;
    top              : 0;
    left             : 0;
}

.s-header.sticky.scrolling {
    opacity    : 1;
    visibility : visible;
}

.s-header__inner {
    max-width   : 1400px;
    height      : var(--header-height);
    align-items : center;
    padding     : 0 var(--gutter);
}

.s-header__block {
    z-index : 101;
}

/* --------------------------------------------------------------------
 * ## logo
 * -------------------------------------------------------------------- */
.s-header__logo {
    z-index     : 3;
    line-height : 1;
    transform   : translate(4px, 0);
}

.s-header__logo a {
    display : block;
    margin  : 0;
    padding : 0;
    outline : 0;
    border  : none;
}

.s-header__logo img {
    width          : var(--logo-width);
    margin         : 0;
    vertical-align : bottom;
}

/* --------------------------------------------------------------------
 * ## main navigation
 * -------------------------------------------------------------------- */
.s-header__nav {
    margin-left     : var(--vspace-1);
    display         : flex;
    flex            : 1 1 0%;
    align-items     : center;
    justify-content : space-between;
}

.s-header__menu-links {
    list-style : none;
    display    : inline-flex;
    flex-flow  : row nowrap;
    margin     : 0 2rem 0 0;
    padding    : 0;
}

.s-header__menu-links li {
    padding-left : 0;
    position      : relative;
    flex-shrink   : 0;
}

.s-header__menu-links a {
    display             : block;
    font-family         : var(--font-2);
    font-size           : var(--text-sm);
    font-weight         : 400;
    line-height         : var(--vspace-1);
    color               : var(--color-text-light);
    padding             : 0 .9rem;
    white-space         : nowrap;
    transition-property : color, background-color;
}

.s-header__menu-links .current > a {
    color : var(--color-1);
}

/* --------------------------------------------------------------------
 * ## header dropdown submenu
 * -------------------------------------------------------------------- */

.s-header__submenu {
    list-style       : none;
    margin           : 0;
    padding          : var(--vspace-0_5) 0;
    min-width        : 260px;
    max-height       : 32rem;
    overflow-y       : auto;
    background-color : var(--color-white);
    border-radius    : var(--border-radius);
    box-shadow       : 0 1.2rem 2.4rem rgba(0, 0, 0, .25);
    opacity          : 0;
    visibility       : hidden;
    transform        : translateY(8px);
    transition       : opacity .2s ease, transform .2s ease, visibility .2s ease;
    position         : absolute;
    top              : 100%;
    left             : 0;
    z-index          : 20;
}

.s-header__submenu li {
    padding-left : 0;
}

.s-header__submenu a {
    display     : block;
    font-size   : 1.3rem;
    white-space : nowrap;
    padding     : var(--vspace-0_25) var(--vspace-1);
    color       : var(--color-1-darker);
}

.s-header__submenu a:hover,
.s-header__submenu a:focus {
    background-color : var(--color-1-lightest);
    color             : var(--color-1-darker);
}

.s-header__menu-links li.has-children:hover > .s-header__submenu,
.s-header__menu-links li.has-children:focus-within > .s-header__submenu {
    opacity    : 1;
    visibility : visible;
    transform  : translateY(0);
}

/* --------------------------------------------------------------------
 * ## header cta buttons
 * -------------------------------------------------------------------- */
.s-header__cta {
    display     : flex;
    align-items : center;
    line-height : 1;
    gap         : var(--vspace-0_375);
    margin      : 0;
    flex-shrink : 0;
}

.s-header__cta .btn {
    font-size   : var(--text-xs);
    padding     : 0 1.2rem;
    margin      : 0;
    white-space : nowrap;
}

.s-header__cta-btn {
    color        : var(--color-1-darker);
    border-color : var(--color-1-darker);
}

.s-header__cta-btn:focus,
.s-header__cta-btn:hover {
    background-color : var(--color-1-darker) !important;
    border-color     : var(--color-1-darker);
    color            : white;
}

/* --------------------------------------------------------------------
 * ## mobile menu toggle
 * -------------------------------------------------------------------- */
.s-header__menu-toggle {
    display  : none;
    width    : 6.8rem;
    height   : var(--header-height);
    position : absolute;
    top      : 0;
    right    : 2.2rem;
}

.s-header__menu-toggle span {
    display          : block;
    background-color : var(--color-1-darker);
    width            : 22px;
    height           : 2px;
    margin-top       : -1px;
    font             : 0/0 a;
    text-shadow      : none;
    color            : transparent;
    transition       : background-color 0.2s ease-in-out;
    position         : absolute;
    right            : 23px;
    top              : 50%;
    bottom           : auto;
    left             : auto;
}

.s-header__menu-toggle span::before,
.s-header__menu-toggle span::after {
    content             : "";
    width               : 100%;
    height              : 100%;
    background-color    : inherit;
    transition-duration : 0.2s, 0.2s;
    transition-delay    : 0.2s, 0s;
    position            : absolute;
    left                : 0;
}

.s-header__menu-toggle span::before {
    top                 : -8px;
    transition-property : top, transform;
}

.s-header__menu-toggle span::after {
    bottom              : -8px;
    transition-property : bottom, transform;
}

/* is clicked 
 */
.s-header__menu-toggle.is-clicked span {
    background-color : rgba(255, 255, 255, 0);
}

.s-header__menu-toggle.is-clicked span::before,
.s-header__menu-toggle.is-clicked span::after {
    background-color : white;
    transition-delay : 0s, 0.2s;
}

.s-header__menu-toggle.is-clicked span::before {
    top       : 0;
    transform : rotate(45deg);
}

.s-header__menu-toggle.is-clicked span::after {
    bottom    : 0;
    transform : rotate(-45deg);
}

/* ------------------------------------------------------------------- 
 * responsive:
 * site-header
 * ------------------------------------------------------------------- */
/* nav collapses to the mobile hamburger menu earlier than the rest of the
 * site (1400px, not 800px) — with 7 top-level items, 4 dropdowns, and two
 * header CTAs, this menu needs more room than a typical single-page nav */
@media screen and (max-width: 1100px) {
    .s-header {
        --logo-width : 150px;
        top          : var(--vspace-0_25);
    }

    .s-header__inner {
        max-width : none;
        width     : 100%;
        margin    : 0;
        padding   : 0;
    }

    .s-header__block {
        width            : 100%;
        height           : var(--header-height);
        background-color : transparent;
    }

    .s-header__logo {
        position  : absolute;
        left      : 0;
        top       : 50%;
        transform : translate(4rem, -50%);
    }

    .s-header__nav {
        transform        : scaleY(0);
        transform-origin : center top;
        display          : block;
        background-color : var(--color-1-darker);
        width            : 100%;
        max-height       : calc(100vh - var(--header-height));
        overflow-y       : auto;
        padding-top      : calc(var(--header-height) + var(--vspace-1_25));
        padding-right    : 4.4rem;
        padding-left     : 4.4rem;
        padding-bottom   : 4rem;
        margin           : 0;
        position         : absolute;
        top              : calc(var(--vspace-0_5) * -1);
        left             : 0;
    }

    .s-header__nav a {
        display     : inline-block;
        font-size   : calc(var(--text-size) * 0.9444);
        line-height : 1;
        padding     : var(--vspace-0_5) 0;
    }

    .s-header__menu-links,
    .s-header__cta {
        margin     : 0;
        transform  : translateY(-2rem);
        opacity    : 0;
        visibility : hidden;
    }

    .s-header__menu-links {
        display       : block;
        margin-bottom : var(--vspace-1);
    }

    /* submenus are always expanded inline on mobile — no hover available.
     * the desktop dropdown is a white panel, but on mobile the submenu
     * sits inline on the dark nav panel, so keep it transparent with
     * light text instead of the desktop dark-on-white treatment */
    .s-header__submenu {
        position         : static;
        opacity          : 1;
        visibility       : visible;
        transform        : none;
        box-shadow       : none;
        background-color : transparent;
        padding          : 0 0 0 var(--vspace-1);
        max-height       : none;
        overflow-y       : visible;
    }

    .s-header__submenu a,
    .s-header__submenu a:hover,
    .s-header__submenu a:focus {
        background-color : transparent;
        color             : rgba(255, 255, 255, 0.6);
    }

    .s-header__cta {
        flex-direction : column;
        align-items    : flex-start;
        gap            : var(--vspace-0_5);
    }

    .s-header__menu-toggle {
        display : block;
    }

    .menu-is-open .s-header {
        height : auto;
    }

    .menu-is-open .s-header__nav {
        transform        : scaleY(1);
        transition       : transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
        transition-delay : 0s;
    }

    .menu-is-open .s-header__menu-links,
    .menu-is-open .s-header__cta {
        transform        : translateY(0);
        opacity          : 1;
        visibility       : visible;
        transition       : all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
        transition-delay : .4s;
    }
}

@media screen and (max-width: 500px) {
    .s-header.sticky {
        --header-height : 76px;
    }
}

@media screen and (max-width: 400px) {
    .s-header__logo {
        transform : translate(7vw, -50%);
    }

    .s-header__nav {
        padding-right : 7vw;
        padding-left  : 7vw;
    }

    .s-header__menu-toggle {
        right : 0.8rem;
    }
}


/* ===================================================================
 * # INTRO
 *
 *
 * ------------------------------------------------------------------- */
.s-intro {
    --content-padding-top    : 13vh;
    --content-padding-bottom : 9.6rem;
    z-index                  : 3;
    background-color         : var(--color-white);
    width                    : 100%;
    height                   : 100vh;
    min-height               : calc(25.5 * var(--space));
    overflow                 : hidden;
    position                 : relative;
}

/* --------------------------------------------------------------------
 * ## intro background
 * -------------------------------------------------------------------- */
.s-intro__bg {
    display             : block;
    background-image    : url(../images/footer-contact-scaled.jpg);
    background-repeat   : no-repeat;
    background-position : center;
    background-size     : cover;
    height              : 100vh;
    width               : calc(50% - 15vw);
    position            : absolute;
    top                 : 0;
    right               : 0;
    bottom              : 0;
    left                : auto;
}

.s-intro__bg::before {
    display        : block;
    content        : "";
    position       : absolute;
    top            : 0;
    left           : 0;
    right          : 0;
    bottom         : 0;
    width          : 100%;
    height         : 100%;
    background     : black;
    pointer-events : none;
    opacity        : .5;
}

.s-intro__bg::after {
    display        : block;
    content        : "";
    position       : absolute;
    top            : 0;
    left           : 0;
    right          : 0;
    bottom         : 0;
    width          : 100%;
    height         : 100%;
    background     : linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%);
    pointer-events : none;
    opacity        : .3;
}

/* --------------------------------------------------------------------
 * ## intro content
 * -------------------------------------------------------------------- */
.s-intro__content {
    z-index        : 2;
    align-items    : flex-end;
    max-width      : 1400px;
    height         : 100%;
    color          : white;
    padding-top    : var(--content-padding-top);
    padding-bottom : var(--content-padding-bottom);
    position       : relative;
}

.s-intro__content-inner {
    max-width : 78rem;
}

.s-intro__content-bg {
    display             : block;
    background-image    : url(../images/image-assets/process-of-getting-dental-implants.webp);
    background-repeat   : no-repeat;
    background-position : center;
    background-size     : cover;
    width               : 500px;
    position            : absolute;
    top                 : var(--content-padding-top);
    right               : var(--gutter);
    bottom              : var(--content-padding-bottom);
    left                : auto;
}

.s-intro__content-bg::before {
    display        : block;
    content        : "";
    position       : absolute;
    top            : 0;
    left           : 0;
    right          : 0;
    bottom         : 0;
    width          : 100%;
    height         : 100%;
    background     : linear-gradient(90deg, black 20%, rgba(0, 0, 0, 0) 100%);
    pointer-events : none;
    opacity        : 0;
}

.s-intro__content-title {
    --text-title-size : 8.8rem;
    --text-multiplier : 1;
    font-weight       : 600;
    font-size         : calc(var(--text-title-size) * var(--text-multiplier));
    line-height       : 1.227;
    color             : var(--color-text-dark);
    padding-top       : var(--vspace-0_75);
    padding-right     : 10vw;
    margin-top        : 0;
    margin-bottom     : var(--vspace-2);
    position          : relative;
}

.s-intro__content-title::before {
    display          : block;
    content          : "";
    height           : 1px;
    width            : 7.2rem;
    background-color : var(--color-1);
    position         : absolute;
    top              : 0;
    left             : 4px;
}

.s-intro__content-title--short {
    margin-bottom : var(--vspace-0_75);
}

.s-intro__content-desc {
    z-index       : 2;
    max-width     : 48rem;
    font-size     : var(--text-size);
    font-weight   : 300;
    line-height   : 1.8;
    color         : var(--color-text-light);
    margin-top    : 0;
    margin-bottom : var(--vspace-1_25);
    position      : relative;
}

.s-intro__content-buttons {
    z-index       : 2;
    display       : flex;
    flex-wrap     : wrap;
    row-gap       : var(--vspace-0_5);
    margin-bottom : var(--vspace-1);
    position      : relative;
}

.s-intro__content-btn {
    color            : var(--color-1-darker);
    background-color : var(--color-1-darker);
    border-color     : var(--color-1-darker);
    margin-right     : var(--vspace-1);
    margin-bottom    : 0;
}

.s-intro__content-video-btn {
    height          : var(--vspace-btn);
    width           : var(--vspace-btn);
    border          : 2px solid white;
    border-radius   : 50%;
    display         : flex;
    align-items     : center;
    justify-content : center;
}

.s-intro__content-video-btn svg {
    height    : var(--vspace-1);
    width     : var(--vspace-1);
    transform : translate(2px, 0);
}

.s-intro__content-video-btn svg path {
    fill : white;
}

.s-intro__content-video-btn:focus,
.s-intro__content-video-btn:hover {
    background-color : var(--color-1);
    border-color     : var(--color-1);
}

.s-intro__content-video-btn:focus svg path,
.s-intro__content-video-btn:hover svg path {
    fill : white;
}

/* --------------------------------------------------------------------
 * ## intro scroll down
 * -------------------------------------------------------------------- */
.s-intro__scroll-down {
    z-index          : 2;
    display          : flex;
    align-items      : center;
    transform        : translateX(-7.6rem) rotate(90deg);
    transform-origin : right bottom;
    padding-right    : var(--content-padding-bottom);
    position         : absolute;
    bottom           : 0;
    right            : 0;
}

.s-intro__scroll-down span {
    font-family    : var(--font-2);
    font-size      : 10px;
    font-weight    : 300;
    text-transform : uppercase;
    letter-spacing : .5em;
    color          : white;
    line-height    : var(--vspace-1);
}

.s-intro__scroll-down::before {
    display          : block;
    content          : "";
    height           : 1px;
    width            : calc(var(--content-padding-bottom) - 1.6rem);
    background-color : rgba(255, 255, 255, 0.3);
    position         : absolute;
    top              : 50%;
    right            : 0;
}

.s-intro__scroll-down:focus,
.s-intro__scroll-down:hover {
    color : var(--color-1);
}

/* --------------------------------------------------------------------
 * ## intro transitions
 * -------------------------------------------------------------------- */
.s-header__inner,
.s-intro__bg,
.s-intro__content-bg,
.s-intro__content-title,
.s-intro__content-desc,
.s-intro__content-buttons,
.s-intro__scroll-down {
    transition-timing-function : cubic-bezier(0.28, 0.12, 0.22, 1);
    transition-duration        : .8s;
    transition-delay           : 0s;
    opacity                    : 0;
}

.s-header__inner,
.s-intro__bg {
    transition-duration : .6s;
}

.s-header__inner {
    transition-property : opacity;
}

.s-intro__content-bg,
.s-intro__content-title,
.s-intro__content-desc,
.s-intro__content-buttons {
    transition-property : opacity, transform;
    transform           : translate(0, 100%);
}

.s-intro__scroll-down {
    transition-property : opacity, bottom;
    bottom              : -150px;
}

.no-js .s-intro__bg,
.no-js .s-intro__scroll-down,
.ss-show .s-intro__bg,
.ss-show .s-intro__scroll-down {
    opacity : 1;
}

.no-js .s-header__inner,
.no-js .s-intro__content-bg,
.no-js .s-intro__content-title,
.no-js .s-intro__content-desc,
.no-js .s-intro__content-buttons,
.ss-show .s-header__inner,
.ss-show .s-intro__content-bg,
.ss-show .s-intro__content-title,
.ss-show .s-intro__content-desc,
.ss-show .s-intro__content-buttons {
    opacity   : 1;
    transform : translate(0, 0);
}

.no-js .s-intro__bg,
.ss-show .s-intro__bg {
    transition-delay : .2s;
}

.no-js .s-intro__content-bg,
.ss-show .s-intro__content-bg {
    transition-delay : .4s;
}

.no-js .s-intro__content-title,
.ss-show .s-intro__content-title {
    transition-delay : .8s;
}

.no-js .s-intro__content-desc,
.ss-show .s-intro__content-desc {
    transition-delay : 1s;
}

.no-js .s-intro__content-buttons,
.ss-show .s-intro__content-buttons {
    transition-delay : 1.2s;
}

.no-js .s-intro__scroll-down,
.ss-show .s-intro__scroll-down {
    transition-delay : 1.4s;
    bottom           : 0;
}

/* ------------------------------------------------------------------- 
 * responsive:
 * intro
 * ------------------------------------------------------------------- */
@media screen and (max-width: 1600px) {
    .s-intro__content {
        max-width : var(--width-grid-max);
    }

    .s-intro__content-title {
        --text-multiplier : .86;
    }
}

@media screen and (max-width: 1400px) {
    .s-intro__content {
        max-width : 1080px;
    }

    .s-intro__content-bg {
        width : 440px;
    }

    .s-intro__content-title {
        --text-multiplier : .74;
    }
}

@media screen and (max-width: 1200px) {
    .s-intro__content {
        max-width : 960px;
    }

    .s-intro__content-title {
        --text-multiplier : .68;
    }
}

@media screen and (max-width: 1100px) {
    .s-intro__content {
        max-width : 900px;
    }

    .s-intro__scroll-down {
        transform : translateX(-5.6rem) rotate(90deg);
    }
}

@media screen and (max-width: 1000px) {
    .s-intro__content-title br {
        display : none;
    }

    .s-intro__scroll-down {
        transform : translateX(-12rem) rotate(90deg);
    }
}

@media screen and (max-width: 900px) {
    .s-intro__content-title {
        --text-multiplier : .62;
    }

    .s-intro__content-bg {
        width : 420px;
    }
}

@media screen and (max-width: 800px) {
    .s-intro__content-title {
        --text-multiplier : .58;
    }

    .s-intro__content-title::before {
        width : var(--vspace-1_25);
    }

    /* the photo panels sit behind the text column at narrow widths —
     * hide them so dark text on the white hero stays legible */
    .s-intro__bg,
    .s-intro__content-bg {
        display : none;
    }
}

@media screen and (max-width: 700px) {
    .s-intro__content-title {
        --text-multiplier : .5;
    }
}

@media screen and (max-width: 600px) {
    .s-intro__content-bg {
        width  : 67vw;
        right  : 0;
        bottom : 0;
    }

    .s-intro__content-bg::before {
        opacity : .5;
    }

    /* stacked buttons should match widths instead of each hugging its
     * own label length */
    .s-intro__content-buttons {
        flex-direction : column;
        align-items    : stretch;
    }

    .s-intro__content-btn,
    .s-intro__content-buttons .btn--primary {
        width        : 100%;
        margin-right : 0;
        text-align   : center;
    }

    .s-intro__scroll-down {
        transform : translateX(-4.8rem) rotate(90deg);
    }
}

@media screen and (max-width: 500px) {
    .s-intro__content-title {
        --text-multiplier : .48;
    }

    .s-intro__social {
        display : none;
    }
}

@media screen and (max-width: 400px) {
    .s-intro {
        --content-padding-top : 10vh;
    }

    .s-intro__content-bg {
        width : 90vw;
    }

    .s-intro__content-title {
        --text-multiplier : .42;
        padding-right     : 0;
    }

    .s-intro__content-buttons {
        --btn-height : var(--vspace-1_5);
    }

    .s-intro__content-btn {
        font-size    : 1rem;
        padding      : 0 2.8rem;
        margin-right : var(--vspace-0_625);
    }

    .s-intro__scroll-down {
        display : none;
    }
}


/* ===================================================================
 * # ABOUT
 *
 *
 * ------------------------------------------------------------------- */
.s-about {
    background-color : var(--color-gray-2);
    padding-top       : var(--vspace-4);
    padding-bottom    : var(--vspace-4);
}

.s-about--compact {
    padding-top : var(--vspace-2);
}

.s-about--compact .section-header {
    padding-top : 0;
}

.s-about .section-header__pretitle {
    margin-bottom : var(--vspace-0_75);
}

/* ------------------------------------------------------------------- 
 * responsive:
 * about
 * ------------------------------------------------------------------- */
@media screen and (max-width: 800px) {
    .s-about {
        padding-top    : var(--vspace-4);
        padding-bottom : var(--vspace-4_5);
    }
}


/* ===================================================================
 * # SERVICES
 *
 *
 * ------------------------------------------------------------------- */
.s-services {
    background-color : var(--color-white);
    padding-top      : var(--vspace-4);
    padding-bottom   : var(--vspace-4);
}

.s-services .list-block__item {
    margin-bottom : 0;
}

/* ===================================================================
 * # TEAM
 * ------------------------------------------------------------------- */
.s-team {
    background-color : var(--color-gray-2);
    padding-top       : var(--vspace-4);
    padding-bottom    : var(--vspace-4);
}

.s-team .section-header {
    margin-bottom : var(--vspace-1);
}

.s-team .section-header__pretitle {
    margin-bottom : var(--vspace-0_5);
}

/* -------------------------------------------------------------------
 * responsive:
 * services
 * ------------------------------------------------------------------- */
@media screen and (max-width: 800px) {
    .s-services {
        padding-top    : var(--vspace-4);
        padding-bottom : var(--vspace-4_5);
    }
}


/* ===================================================================
 * # PORTFOLIO
 *
 *
 * ------------------------------------------------------------------- */
.s-folio {
    background-color : var(--color-gray-19);
    padding-top      : var(--vspace-5);
    padding-bottom   : var(--vspace-5);
}

/* ------------------------------------------------------------------- 
 * ## bricks masonry 
 * ------------------------------------------------------------------- */
.bricks {
    max-width     : var(--width-wide);
    margin-top    : var(--vspace-3);
    margin-bottom : var(--vspace-3);
}

.bricks .masonry {
    overflow : hidden;
}

.bricks-wrapper {
    display  : block;
    position : relative;
}

.bricks-wrapper .grid-sizer,
.bricks-wrapper .brick {
    width : 25%;
}

.bricks-wrapper .grid-sizer--double,
.bricks-wrapper .brick--double {
    width : 50%;
}

.bricks-wrapper .brick {
    float   : left;
    padding : 0;
}

/* ------------------------------------------------------------------- 
 * ## masonry entries 
 * ------------------------------------------------------------------- */
.bricks-wrapper .entry {
    overflow : hidden;
    position : relative;
}

.bricks-wrapper .entry__link {
    display  : block;
    position : relative;
}

.bricks-wrapper .entry__link img {
    vertical-align : bottom;
    transition     : all 0.3s ease-in-out;
    margin         : 0;
}

.bricks-wrapper .entry__link::before {
    z-index    : 1;
    content    : "";
    display    : block;
    background : rgba(0, 0, 0, 0.6);
    opacity    : 0;
    visibility : hidden;
    width      : 100%;
    height     : 100%;
    transition : all, 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    position   : absolute;
    top        : 0;
    left       : 0;
}

.bricks-wrapper .entry__link::after {
    z-index        : 1;
    display        : block;
    content        : "...";
    font-family    : georgia, serif;
    font-size      : 2.4rem;
    height         : 90px;
    width          : 90px;
    letter-spacing : .2rem;
    line-height    : 90px;
    margin-left    : -45px;
    margin-top     : -55px;
    text-align     : center;
    color          : white;
    opacity        : 0;
    visibility     : hidden;
    transform      : scale(0.5);
    transition     : all, 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    position       : absolute;
    left           : 50%;
    top            : 50%;
}

.bricks-wrapper .entry {
    position : relative;
}

.bricks-wrapper .entry__info {
    z-index    : 2;
    transform  : translateY(-100%);
    opacity    : 0;
    visibility : hidden;
    transition : all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    position   : absolute;
    top        : var(--vspace-0_75);
    left       : var(--vspace-0_75);
}

.bricks-wrapper .entry__cat,
.bricks-wrapper .entry__title {
    font-family : var(--font-2);
}

.bricks-wrapper .entry__cat {
    font-size   : calc(var(--text-size) * 0.7778);
    line-height : 1.8;
    color       : rgba(255, 255, 255, 0.3);
}

.bricks-wrapper .entry__title {
    font-weight : 500;
    font-size   : calc(var(--text-size) * 0.9444);
    line-height : 1.2;
    margin      : 0;
    color       : white;
}

/* on hover
 */
.bricks-wrapper .entry:hover .entry__link::before {
    opacity    : 1;
    visibility : visible;
}

.bricks-wrapper .entry:hover .entry__link::after {
    opacity    : 1;
    visibility : visible;
    transform  : scale(1);
}

.bricks-wrapper .entry:hover .entry__link img {
    transform : scale(1.05);
}

.bricks-wrapper .entry:hover .entry__info {
    opacity    : 1;
    visibility : visible;
    transform  : translateY(0);
}

/* ------------------------------------------------------------------- 
 * ## modal popup
 * ------------------------------------------------------------------- */
.modal-popup {
    max-width        : 680px;
    background-color : white;
    font-size        : calc(var(--text-size) * 0.9447);
    line-height      : var(--vspace-0_875);
    color            : rgba(0, 0, 0, 0.75);
    overflow-y       : auto;
    position         : relative;
}

.modal-popup img {
    margin-bottom : var(--vspace-0_75);
}

.modal-popup h5 {
    font-family   : var(--font-1);
    font-size     : var(--text-size);
    line-height   : var(--vspace-1);
    font-weight   : 500;
    color         : black;
    margin-top    : 0;
    margin-bottom : var(--vspace-0_25);
}

.modal-popup__desc {
    padding : 0 var(--vspace-1_25) var(--vspace-0_25);
}

.modal-popup__cat {
    list-style   : none;
    margin-left  : 0;
    font-size    : var(--text-sm);
    line-height  : var(--vspace-0_5);
    color        : rgba(0, 0, 0, 0.6);
    padding-left : calc(0.875 * var(--space));
    position     : relative;
}

.modal-popup__cat::before {
    content             : "";
    display             : block;
    height              : calc(0.625 * var(--space));
    width               : calc(0.625 * var(--space));
    background-repeat   : no-repeat;
    background-position : center;
    background-size     : contain;
    background-image    : url(../images/icons/icon-tag.svg);
    position            : absolute;
    left                : 0;
    top                 : -0.15em;
}

.modal-popup__cat li {
    display      : inline;
    padding-left : 0;
}

.modal-popup__cat li::after {
    content : ", ";
}

.modal-popup__cat li:last-child::after {
    display : none;
}

.modal-popup__details {
    background-color : rgba(0, 0, 0, 0.3);
    font-size        : var(--text-xs);
    line-height      : var(--vspace-1_25);
    color            : white;
    padding          : 0 1.2rem;
    position         : absolute;
    top              : var(--vspace-1);
    left             : var(--vspace-1);
}

.modal-popup__details:focus,
.modal-popup__details:hover {
    background-color : var(--color-gray-19);
    color            : white;
}

/* ------------------------------------------------------------------- 
 * responsive:
 * portfolio
 * ------------------------------------------------------------------- */
@media screen and (max-width: 1200px) {
    .bricks-wrapper .entry__cat {
        font-size : calc(var(--text-size) * 0.6667);
    }

    .bricks-wrapper .entry__title {
        font-size : calc(var(--text-size) * 0.8333);
    }
}

@media screen and (max-width: 1000px) {

    .bricks-wrapper .grid-sizer,
    .bricks-wrapper .brick {
        width : 50%;
    }
}

@media screen and (max-width: 800px) {
    .s-folio {
        padding-top    : var(--vspace-4);
        padding-bottom : var(--vspace-4_5);
    }

    .bricks {
        margin-top    : var(--vspace-1_75);
        margin-bottom : var(--vspace-2);
    }
}

@media screen and (max-width: 550px) {

    .bricks-wrapper .grid-sizer,
    .bricks-wrapper .brick {
        width : 100%;
        float : none;
    }
}


/* ===================================================================
 * # CLIENTS
 *
 *
 * ------------------------------------------------------------------- */
.s-clients {
    padding-top : var(--vspace-2);
}

.s-clients .section-header {
    max-width    : var(--width-narrower);
    text-align   : center;
    padding-top  : 0;
    margin-right : auto;
    margin-left  : auto;
}

.s-clients .section-header::before {
    display : none;
}

.s-clients h3 {
    color      : white;
    text-align : center;
    margin-top : 0;
}

.clients-list {
    position   : relative;
    margin-top : var(--vspace-2);
    border-top : 1px solid rgba(255, 255, 255, 0.05);
}

.clients-list__item {
    border-color : rgba(255, 255, 255, 0.05);
    border-width : 1px;
    text-align   : center;
    padding      : 0;
}

.clients-list__item a {
    display    : block;
    padding    : var(--vspace-0_75) var(--vspace-0_75);
    transition : all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.clients-list__item a:focus,
.clients-list__item a:hover {
    background-color : var(--color-gray-18);
}

.clients-list__item a:focus img,
.clients-list__item a:hover img {
    opacity : 1;
}

.clients-list__item img {
    margin     : 0;
    transition : all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    opacity    : .5;
}

.clients-list__item:nth-child(n) {
    border-style : none solid solid none;
}

.clients-list__item:nth-child(4n + 4) {
    border-style : none none solid none;
}

/* ------------------------------------------------------------------- 
 * responsive:
 * clients
 * ------------------------------------------------------------------- */
@media screen and (max-width: 1200px) {
    .clients-list__item a {
        padding : var(--vspace-0_75) var(--vspace-1);
    }

    .clients-list__item:nth-child(n) {
        border-style : none solid solid none;
    }

    .clients-list__item:nth-child(3n + 3) {
        border-style : none none solid none;
    }
}

@media screen and (max-width: 1000px) {
    .clients-list__item a {
        padding : var(--vspace-0_75) var(--vspace-0_625);
    }
}

@media screen and (max-width: 800px) {
    .clients-list__item a {
        padding : var(--vspace-0_75) var(--vspace-1);
    }

    .clients-list__item:nth-child(n) {
        border-style : none solid solid none;
    }

    .clients-list__item:nth-child(2n + 2) {
        border-style : none none solid none;
    }
}

@media screen and (max-width: 600px) {
    .clients-list__item a {
        padding : var(--vspace-0_5) var(--vspace-0_625);
    }
}

@media screen and (max-width: 500px) {
    .clients-list {
        margin-top : var(--vspace-1_75);
    }

    .clients-list__item a {
        padding : var(--vspace-0_5) var(--vspace-0_375);
    }
}

@media screen and (max-width: 400px) {
    .clients-list__item:nth-child(n) {
        border-style : none none solid none;
    }

    .clients-list__item a {
        padding : var(--vspace-0_5) 18vw;
    }
}


/* ===================================================================
 * # TESTIMONIALS
 *
 *
 * ------------------------------------------------------------------- */
.s-testimonials {
    padding-top    : var(--vspace-4_5);
    padding-bottom : var(--vspace-4);
}

.s-testimonials .swiper-container {
    padding-bottom : var(--vspace-2);
}

/* ------------------------------------------------------------------- 
 * ## testimonial slider 
 * ------------------------------------------------------------------- */
.s-testimonials__slide {
    position : relative;
}

.s-testimonials__author {
    display       : inline-block;
    min-height    : var(--vspace-2);
    margin-bottom : var(--vspace-0_625);
    padding-left  : calc(2.25 * var(--space));
    position      : relative;
}

.s-testimonials__avatar {
    width         : var(--vspace-1_75);
    height        : var(--vspace-1_75);
    border-radius : 100%;
    outline       : none;
    position      : absolute;
    top           : 0;
    left          : 0;
}

.s-testimonials__cite {
    display : block;
}

.s-testimonials__cite strong,
.s-testimonials__cite span {
    font-style : normal;
    transition : all 0.3s ease-in-out;
}

.s-testimonials__cite strong {
    font-size   : calc(var(--text-size) * 0.9444);
    font-weight : 500;
    line-height : var(--vspace-0_75);
    color       : var(--color-text-dark);
}

.s-testimonials__cite span {
    display     : block;
    font-size   : var(--text-xs);
    font-weight : 400;
    line-height : var(--vspace-0_5);
    color       : var(--color-text-light);
}

/* ------------------------------------------------------------------- 
 * responsive:
 * testimonials
 * ------------------------------------------------------------------- */
@media screen and (max-width: 1200px) {
    .s-testimonials__content {
        max-width : 960px;
    }
}

@media screen and (max-width: 800px) {
    .s-testimonials__content {
        max-width : 600px;
    }

    .s-testimonials__slide {
        text-align : center;
    }

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


/* ===================================================================
 * # FOOTER
 *
 *
 * ------------------------------------------------------------------- */
.s-footer {
    background-color : var(--color-1-darker);
    padding-top      : var(--vspace-4);
    padding-bottom   : var(--vspace-2);
    margin-top       : auto;
    position         : relative;
}

.s-footer h6 {
    margin-top    : 0;
    margin-bottom : var(--vspace-0_75);
    color         : white;
    font-family   : var(--font-2);
    font-size     : var(--text-sm);
}

/* -------------------------------------------------------------------
 * ## footer brand block
 * ------------------------------------------------------------------- */
.s-footer__brand-logo {
    display       : inline-flex;
    align-items   : center;
    gap           : var(--vspace-0_375);
    margin-bottom : var(--vspace-1);
}

.s-footer__brand-logo img {
    height : 5.5rem;
}

.s-footer__brand-logo span {
    font-family : var(--font-2);
    font-size   : var(--text-lg);
    font-weight : 600;
    color       : white;
}

.s-footer__tagline {
    max-width     : 34rem;
    font-family   : var(--font-2);
    color         : rgba(255, 255, 255, .65);
    margin-bottom : var(--vspace-1_25);
}

.s-footer__directions {
    display       : inline-flex;
    align-items   : center;
    gap           : var(--vspace-0_375);
    font-family   : var(--font-2);
    color         : rgba(255, 255, 255, .65);
    margin-bottom : var(--vspace-1_5);
    transition    : color .3s;
}

.s-footer__directions:focus,
.s-footer__directions:hover {
    color : white;
}

.s-footer__directions svg {
    height : 1.8rem;
    width  : 1.8rem;
    fill   : currentColor;
    flex-shrink : 0;
}

/* -------------------------------------------------------------------
 * ## footer social
 * ------------------------------------------------------------------- */
.s-footer__social {
    list-style    : none;
    display       : flex;
    flex-wrap     : wrap;
    row-gap       : var(--vspace-0_75);
    margin-left   : 0;
    margin-bottom : var(--vspace-1_5);
}

.s-footer__social li {
    padding-left : 0;
    margin-right : .8rem;
}

.s-footer__social a {
    display          : flex;
    align-items      : center;
    justify-content  : center;
    height           : 3.6rem;
    width            : 3.6rem;
    border           : 1px solid rgba(255, 255, 255, .25);
    border-radius    : 50%;
    transition       : all .3s;
}

.s-footer__social a:focus,
.s-footer__social a:hover {
    border-color      : var(--color-1-lighter);
    background-color  : rgba(255, 255, 255, .08);
}

.s-footer__social svg {
    height : 1.6rem;
    width  : 1.6rem;
}

.s-footer__social svg path {
    fill : white;
}

/* -------------------------------------------------------------------
 * ## footer link columns
 * ------------------------------------------------------------------- */
.s-footer__links-col ul {
    list-style : none;
    margin     : 0;
}

.s-footer__links-col li {
    padding-left  : 0;
    margin-bottom : var(--vspace-0_375);
}

.s-footer__links-col a {
    font-family : var(--font-2);
    font-size   : var(--text-sm);
    color       : rgba(255, 255, 255, .65);
}

.s-footer__links-col a:focus,
.s-footer__links-col a:hover {
    color : white;
}

@media screen and (max-width: 800px) {
    .s-footer__links-col {
        margin-bottom : var(--vspace-1_5);
    }
}

/* -------------------------------------------------------------------
 * ## footer bottom bar
 * ------------------------------------------------------------------- */
.s-footer__bottom {
    border-top      : 1px solid rgba(255, 255, 255, .12);
    margin-top      : var(--vspace-2_5);
    padding-top     : var(--vspace-1);
    display         : flex;
    flex-wrap       : wrap;
    align-items     : center;
    justify-content : space-between;
    gap             : var(--vspace-0_75);
}

.s-footer__legal {
    display : flex;
    gap     : var(--vspace-1);
}

.s-footer__legal a {
    color       : rgba(255, 255, 255, .65);
    font-family : var(--font-2);
    font-size   : calc(var(--text-size) * 0.8889);
}

.s-footer__legal a:focus,
.s-footer__legal a:hover {
    color : white;
}

@media screen and (max-width: 600px) {
    .s-footer__bottom {
        flex-direction : column;
        align-items    : flex-start;
    }
}

/* -------------------------------------------------------------------
 * ## copyright
 * ------------------------------------------------------------------- */
.ss-copyright span {
    font-family : var(--font-2);
    font-size   : calc(var(--text-size) * 0.8889);
    line-height : var(--vspace-1);
    display     : inline-block;
    color       : rgba(255, 255, 255, .55);
}

/* -------------------------------------------------------------------
 * responsive:
 * footer
 * ------------------------------------------------------------------- */
@media screen and (max-width: 800px) {
    .s-footer {
        padding-top    : var(--vspace-4);
        padding-bottom : var(--vspace-2_5);
    }
}


/* ===================================================================
 * # SECTION HEADER — CENTERED VARIANT
 * reusable on any section-header that needs a centered kicker/title/desc
 * instead of the default 2-column layout
 * ------------------------------------------------------------------- */
.section-header--centered .section-header__primary,
.section-header--centered .section-header__secondary {
    max-width     : 74rem;
    margin-left   : auto;
    margin-right  : auto;
    text-align    : center;
    padding-left  : 0;
    padding-right : 0;
}

.section-header--centered .section-header__pretitle {
    text-align : center;
}


/* ===================================================================
 * # CARD GRID
 * ------------------------------------------------------------------- */
.card-grid__actions {
    margin-top : var(--vspace-1);
}

@media screen and (max-width: 600px) {
    .card-grid__actions {
        display        : flex;
        flex-direction : column;
        align-items    : stretch;
    }

    .card-grid__actions .btn {
        width        : 100%;
        margin-right : 0;
        text-align   : center;
    }
}


/* ===================================================================
 * # SERVICE CARD CAROUSEL
 * icon + title + desc card, swiped via Swiper — see ssServicesSwiper()
 * ------------------------------------------------------------------- */
.s-about__content {
    position : relative;
}

.service-card {
    box-sizing     : border-box;
    display        : flex;
    flex-direction : column;
    background     : var(--color-white);
    border         : 2px solid #29b28c;
    border-radius  : var(--border-radius);
    padding        : var(--vspace-1_5) var(--vspace-1_25);
    text-align     : center;
}

.service-card__icon {
    display       : block;
    height        : var(--vspace-3);
    width         : var(--vspace-3);
    margin        : 0 auto var(--vspace-0_75);
}

.service-card__title {
    margin-top    : 0;
    margin-bottom : var(--vspace-0_5);
}

.service-card__desc {
    color         : var(--color-text-light);
    margin-bottom : var(--vspace-1);
}

.service-card__cta {
    margin-top : auto;
}

.s-about__nav {
    display          : flex;
    align-items      : center;
    justify-content  : center;
    position         : absolute;
    top              : 50%;
    height           : var(--vspace-1_5);
    width            : var(--vspace-1_5);
    border-radius    : 50%;
    border           : 1px solid var(--color-gray-9);
    background-color : white;
    transform        : translateY(-50%);
    cursor           : pointer;
    z-index          : 2;
}

.s-about__nav svg {
    height : var(--vspace-0_75);
    width  : var(--vspace-0_75);
    fill   : var(--color-text-dark);
}

.s-about__nav--prev {
    left : calc(var(--vspace-1_5) * -1);
}

.s-about__nav--next {
    right : calc(var(--vspace-1_5) * -1);
}

.swiper-button-disabled.s-about__nav {
    opacity        : .35;
    pointer-events : none;
}

@media screen and (max-width: 1200px) {
    .s-about__nav--prev {
        left : var(--vspace-0_25);
    }

    .s-about__nav--next {
        right : var(--vspace-0_25);
    }
}


/* ===================================================================
 * # FEATURE BLOCK
 * reusable image + text row, .feature-block--reverse swaps sides
 * ------------------------------------------------------------------- */
.feature-block {
    align-items   : center;
    margin-bottom : var(--vspace-3);
}

.feature-block:last-child {
    margin-bottom : 0;
}

.feature-block__text {
    padding-right : var(--vspace-1_5);
}

.feature-block--reverse .feature-block__text {
    padding-right : 0;
    padding-left  : var(--vspace-1_5);
}

.feature-block__list {
    list-style : none;
    margin     : 0 0 var(--vspace-1);
    padding    : 0;
}

.feature-block__list li {
    display       : flex;
    align-items   : center;
    margin-bottom : var(--vspace-0_5);
}

.feature-block__list li::before {
    content           : "";
    flex-shrink       : 0;
    display           : inline-block;
    height            : 1.8rem;
    width             : 1.8rem;
    margin-right      : var(--vspace-0_375);
    border-radius     : 50%;
    background-color  : var(--color-1-lightest);
    background-image  : url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161616' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat : no-repeat;
    background-position : center;
    background-size   : 1rem 1rem;
}

.feature-block__media img {
    display       : block;
    width         : 100%;
    height        : auto;
    border-radius : var(--border-radius);
}

/* -------------------------------------------------------------------
 * ## video embed — poster + play button, iframe loads on click
 * ------------------------------------------------------------------- */
.video-embed {
    position         : relative;
    display           : block;
    width             : 100%;
    aspect-ratio      : 16 / 9;
    border-radius     : var(--border-radius);
    overflow          : hidden;
    background-color  : var(--color-gray-19);
    cursor            : pointer;
}

.video-embed__poster {
    display    : block;
    width      : 100%;
    height     : 100%;
    object-fit : cover;
}

.video-embed iframe {
    display : block;
    width   : 100%;
    height  : 100%;
    border  : 0;
}

.video-embed__play {
    position         : absolute;
    top               : 50%;
    left              : 50%;
    transform         : translate(-50%, -50%);
    height            : var(--vspace-2_5);
    width             : var(--vspace-2_5);
    padding           : 0;
    border            : 0;
    border-radius     : 50%;
    background-color  : rgba(255, 255, 255, .92);
    box-shadow        : 0 4px 16px rgba(0, 0, 0, .3);
    cursor            : pointer;
    transition        : transform .3s, background-color .3s;
}

.video-embed__play:focus,
.video-embed__play:hover {
    background-color : var(--color-white);
    transform         : translate(-50%, -50%) scale(1.08);
}

.video-embed__play-icon {
    display         : flex;
    align-items     : center;
    justify-content : center;
    height          : 100%;
    width           : 100%;
}

.video-embed__play svg {
    height      : var(--vspace-1);
    width       : var(--vspace-1);
    fill        : var(--color-1);
    margin-left : 3px;
}

@media screen and (max-width: 1100px) {
    .feature-block__text,
    .feature-block--reverse .feature-block__text {
        padding-right : 0;
        padding-left  : 0;
        margin-bottom : var(--vspace-1);
    }

    /* keep text-then-image order when stacked, even for reversed blocks —
     * otherwise two adjacent blocks' images end up next to each other */
    .feature-block--reverse .feature-block__text {
        order : 1;
    }

    .feature-block--reverse .feature-block__media {
        order : 2;
    }
}


.s-results--home {
    background-color : var(--color-white);
    padding-top       : var(--vspace-5);
    padding-bottom    : var(--vspace-5);
}


/* ===================================================================
 * # BEFORE / AFTER SLIDER
 * reusable drag-to-compare image slider — see assets/js/before-after.js
 * ------------------------------------------------------------------- */
.ba-slider {
    position      : relative;
    overflow      : hidden;
    border-radius : var(--border-radius);
    aspect-ratio  : 4 / 3;
    cursor        : ew-resize;
    -webkit-user-select : none;
    user-select   : none;
    touch-action  : none;
}

.ba-slider img {
    position   : absolute;
    inset      : 0;
    width      : 100%;
    height     : 100%;
    object-fit : cover;
    display    : block;
    pointer-events : none;
}

.ba-slider__before {
    z-index    : 2;
    clip-path  : inset(0 50% 0 0);
}

.ba-slider__label {
    position       : absolute;
    top            : var(--vspace-0_5);
    font-family    : var(--font-2);
    font-weight    : 600;
    font-size      : var(--text-xs);
    text-transform : uppercase;
    letter-spacing : .1em;
    color          : white;
    background     : rgba(0, 0, 0, .55);
    padding        : .3em .9em;
    border-radius  : 1000px;
    z-index        : 3;
    pointer-events : none;
}

.ba-slider__label--before {
    left : var(--vspace-0_5);
}

.ba-slider__label--after {
    right : var(--vspace-0_5);
}

.ba-slider__handle {
    position       : absolute;
    top            : 0;
    bottom         : 0;
    left           : 50%;
    width          : 2px;
    background     : white;
    transform      : translateX(-50%);
    z-index        : 4;
    pointer-events : none;
}

.ba-slider__handle::after {
    content          : "";
    position         : absolute;
    top              : 50%;
    left             : 50%;
    height           : var(--vspace-1_25);
    width            : var(--vspace-1_25);
    border-radius    : 50%;
    background-color : white;
    background-image : url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161616' stroke-width='2'%3E%3Cpolyline points='9 7 4 12 9 17'%3E%3C/polyline%3E%3Cpolyline points='15 7 20 12 15 17'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat : no-repeat;
    background-position : center;
    background-size   : 1.2rem 1.2rem;
    transform         : translate(-50%, -50%);
    box-shadow        : 0 2px 8px rgba(0, 0, 0, .3);
}

.ba-slider__actions {
    margin-top : var(--vspace-1);
}

@media screen and (max-width: 800px) {
    .results-grid > .column {
        margin-bottom : var(--vspace-1);
    }
}


/* ===================================================================
 * # REVIEWS
 * ------------------------------------------------------------------- */
.s-reviews {
    background-color : var(--color-gray-2);
    padding-top       : var(--vspace-4);
    padding-bottom    : var(--vspace-4);
}

@media screen and (max-width: 800px) {
    .s-reviews {
        padding-top    : var(--vspace-4);
        padding-bottom : var(--vspace-4_5);
    }
}

.s-reviews__content {
    position : relative;
}

.review-card {
    box-sizing    : border-box;
    background    : var(--color-gray-2);
    border-radius : var(--border-radius);
    padding       : var(--vspace-1);
}

.review-card__stars {
    color         : var(--color-1);
    letter-spacing : .2em;
    margin-bottom : var(--vspace-0_5);
}

.review-card__text {
    font-family   : var(--font-2);
    color         : var(--color-text-dark);
    margin-bottom : var(--vspace-0_5);
    display              : -webkit-box;
    -webkit-box-orient   : vertical;
    -webkit-line-clamp   : 5;
    overflow             : hidden;
}

.review-card.is-expanded .review-card__text {
    display    : block;
    overflow   : visible;
}

.review-card__text a {
    color          : var(--color-1);
    font-weight    : 600;
    white-space    : nowrap;
}

.review-card__toggle {
    display       : inline-block;
    background    : none;
    border        : 0;
    padding       : 0;
    margin-bottom : var(--vspace-0_75);
    font-family   : var(--font-2);
    font-weight   : 600;
    font-size     : var(--text-sm);
    color         : var(--color-1);
    cursor        : pointer;
}

.review-card__author {
    font-family : var(--font-2);
    font-weight : 600;
}

.s-reviews__nav {
    display          : flex;
    align-items      : center;
    justify-content  : center;
    position         : absolute;
    top              : 50%;
    height           : var(--vspace-1_5);
    width            : var(--vspace-1_5);
    border-radius    : 50%;
    border           : 1px solid var(--color-gray-9);
    background-color : white;
    transform        : translateY(-50%);
    cursor           : pointer;
    z-index          : 2;
}

.s-reviews__nav svg {
    height : var(--vspace-0_75);
    width  : var(--vspace-0_75);
    fill   : var(--color-text-dark);
}

.s-reviews__nav--prev {
    left : calc(var(--vspace-1_5) * -1);
}

.s-reviews__nav--next {
    right : calc(var(--vspace-1_5) * -1);
}

.swiper-button-disabled.s-reviews__nav {
    opacity        : .35;
    pointer-events : none;
}

@media screen and (max-width: 1200px) {
    .s-reviews__nav--prev {
        left : var(--vspace-0_25);
    }

    .s-reviews__nav--next {
        right : var(--vspace-0_25);
    }
}


/* ===================================================================
 * # VISIT US
 * dark banner over photo — address/phone/social/hours left, map right
 * ------------------------------------------------------------------- */
.s-visit {
    position       : relative;
    overflow       : hidden;
    padding-top    : var(--vspace-4);
    padding-bottom : var(--vspace-4);
}

.s-visit__bg {
    position             : absolute;
    top                  : 0;
    right                : 0;
    bottom               : 0;
    left                 : 0;
    background-repeat    : no-repeat;
    background-position  : center;
    background-size      : cover;
    z-index              : 0;
}

.s-visit__overlay {
    position          : absolute;
    top                : 0;
    right              : 0;
    bottom             : 0;
    left               : 0;
    background-color   : rgba(0, 21, 48, .87);
    z-index            : 1;
}

.s-visit__inner {
    position    : relative;
    z-index     : 2;
    align-items : center;
}

.s-visit__title {
    color         : white;
    margin-bottom : var(--vspace-0_5);
}

.s-visit__block {
    margin-bottom : var(--vspace-1_25);
}

.s-visit__contact-row {
    display   : flex;
    flex-wrap : wrap;
    gap       : var(--vspace-2);
}

.s-visit__contact-row .s-visit__block {
    flex          : 1 1 auto;
    min-width     : 180px;
    margin-bottom : var(--vspace-1_25);
}

@media screen and (max-width: 500px) {
    .s-visit__contact-row {
        flex-direction : column;
        gap            : 0;
    }
}

.s-visit__label {
    color          : var(--color-1-lighter);
    font-family    : var(--font-2);
    font-size      : var(--text-sm);
    font-weight    : 600;
    letter-spacing : .1em;
    text-transform : uppercase;
    margin-bottom  : var(--vspace-0_375);
}

.s-visit__text {
    font-family : var(--font-2);
    color       : white;
}

.s-visit__text a {
    color : white;
}

.s-visit__social {
    margin-bottom : var(--vspace-1_5);
}

.s-visit__hours {
    max-width : 40rem;
}

.s-visit__hours .hours-list__row {
    color               : rgba(255, 255, 255, .75);
    border-bottom-color : rgba(255, 255, 255, .15);
}

.s-visit__hours .hours-list__row span:first-child {
    color : white;
}

.s-visit__map-inner {
    position      : relative;
    width         : 100%;
    aspect-ratio  : 1 / 1;
    border-radius : var(--border-radius);
    overflow      : hidden;
    box-shadow    : 0 1.2rem 2.4rem rgba(0, 0, 0, .25);
}

.s-visit__map-inner iframe {
    display : block;
    width   : 100%;
    height  : 100%;
    border  : 0;
}

@media screen and (max-width: 900px) {
    .s-visit__info {
        margin-bottom : var(--vspace-1_5);
    }
}


/* ===================================================================
 * # CTA BANNER
 * reusable centered banner — heading, desc, two CTAs
 * ------------------------------------------------------------------- */
.s-cta-banner {
    background     : var(--color-gray-2);
    padding-top    : var(--vspace-5);
    padding-bottom : var(--vspace-5);
}

@media screen and (max-width: 800px) {
    .s-cta-banner {
        padding-top    : var(--vspace-4);
        padding-bottom : var(--vspace-4_5);
    }
}

.cta-banner__content {
    max-width  : 64rem;
    margin     : 0 auto;
    text-align : center;
}

.cta-banner__title {
    margin-bottom : var(--vspace-0_75);
}

.cta-banner__desc {
    color         : var(--color-text-light);
    margin-bottom : var(--vspace-1_25);
}

.cta-banner__actions .btn {
    margin-left  : var(--vspace-0_25);
    margin-right : var(--vspace-0_25);
}


/* ===================================================================
 * # PAGE HEADER
 * compact banner for interior pages (services, about, etc.) — replaces
 * the full-height homepage hero with a short, centered title band
 * ------------------------------------------------------------------- */
.s-page-header {
    background-color : var(--color-1-darker);
    padding-top       : calc(var(--header-height) + var(--vspace-2_5));
    padding-bottom    : var(--vspace-2_5);
    text-align        : center;
}

.s-page-header__pretitle {
    color : var(--color-1-lighter);
}

.s-page-header__title {
    color         : white;
    margin-bottom : var(--vspace-0_5);
}

.s-page-header__desc {
    max-width  : 62rem;
    margin     : 0 auto;
    color      : rgba(255, 255, 255, .75);
    font-size  : calc(var(--text-size) * 1.1111);
    font-weight: 300;
    line-height: 1.8;
}

.s-page-header__actions {
    margin-top : var(--vspace-1_25);
}

@media screen and (max-width: 600px) {
    .s-page-header__actions,
    .cta-banner__actions {
        display        : flex;
        flex-direction : column;
        align-items    : stretch;
    }

    .s-page-header__actions .btn,
    .cta-banner__actions .btn {
        width        : 100%;
        margin-left  : 0;
        margin-right : 0;
        text-align   : center;
    }
}

.s-page-header__btn {
    color        : white;
    border-color : white;
}

.s-page-header__btn:focus,
.s-page-header__btn:hover {
    background-color : white !important;
    border-color      : white;
    color             : var(--color-1-darker);
}

@media screen and (max-width: 800px) {
    .s-page-header {
        padding-top    : calc(var(--header-height) + var(--vspace-2));
        padding-bottom : var(--vspace-2);
    }
}

.s-faq,
.s-comparison {
    padding-bottom : var(--vspace-3);
}

.s-faq--home {
    padding-top : var(--vspace-3);
}

.s-faq__actions {
    margin-top : var(--vspace-1_5);
    text-align : center;
}

@media screen and (max-width: 800px) {
    .s-faq,
    .s-comparison {
        padding-bottom : var(--vspace-2_5);
    }
}


/* ===================================================================
 * # PROCESS STEPS
 * reusable numbered step-by-step list
 * ------------------------------------------------------------------- */
.process-steps__item {
    position : relative;
}

.process-steps__num {
    display           : flex;
    align-items       : center;
    justify-content   : center;
    height            : var(--vspace-2);
    width             : var(--vspace-2);
    border-radius     : 50%;
    background-color  : var(--color-1-lightest);
    color             : var(--color-1-darker);
    font-family       : var(--font-2);
    font-weight       : 600;
    font-size         : var(--text-md);
    margin-bottom     : var(--vspace-0_75);
}

.process-steps__item h3 {
    margin-bottom : var(--vspace-0_25);
}

.process-steps__item p {
    color : var(--color-text-light);
}

@media screen and (max-width: 800px) {
    .process-steps > .column {
        margin-bottom : var(--vspace-1_5);
    }
}


/* ===================================================================
 * # FAQ ACCORDION
 * ------------------------------------------------------------------- */
.faq-list {
    max-width : 84rem;
    margin    : 0 auto;
}

.faq-item {
    background-color : var(--color-white);
    border           : 1px solid var(--color-gray-7);
    border-radius    : var(--border-radius);
    padding          : 0 var(--vspace-1_25);
    margin-bottom    : var(--vspace-0_5);
    transition       : border-color .25s ease, box-shadow .25s ease;
}

.faq-item:last-child {
    margin-bottom : 0;
}

.faq-item:hover,
.faq-item.is-open {
    border-color : var(--color-1-lighter);
    box-shadow   : 0 .8rem 2.4rem rgba(0, 0, 0, .07);
}

.faq-item__question {
    display         : flex;
    align-items     : center;
    justify-content : space-between;
    width           : 100%;
    background      : none;
    border          : none;
    text-align      : left;
    text-transform  : none;
    letter-spacing  : normal;
    cursor          : pointer;
    padding         : var(--vspace-0_875) 0;
    margin          : 0;
    font-family     : var(--font-2);
    font-size       : calc(var(--text-size) * 1.1111);
    font-weight     : 600;
    color           : var(--color-text-dark);
}

.faq-item__question-text {
    flex      : 1 1 auto;
    min-width : 0;
}

.faq-item__icon {
    flex-shrink      : 0;
    position         : relative;
    height           : 2rem;
    width            : 2rem;
    margin-left      : var(--vspace-1);
}

@media screen and (max-width: 600px) {
    .faq-item {
        padding : 0 var(--vspace-0_75);
    }

    .faq-item__question {
        font-size : var(--text-size);
    }

    .faq-item__icon {
        height      : 1.6rem;
        width       : 1.6rem;
        margin-left : var(--vspace-0_5);
    }

    .faq-item__icon::before {
        width : 1.3rem;
    }

    .faq-item__icon::after {
        height : 1.3rem;
    }
}

.faq-item__icon::before,
.faq-item__icon::after {
    content           : "";
    position          : absolute;
    top               : 50%;
    left              : 50%;
    background-color  : var(--color-1);
    transition        : transform .25s ease;
}

.faq-item__icon::before {
    width     : 1.6rem;
    height    : 2px;
    transform : translate(-50%, -50%);
}

.faq-item__icon::after {
    width     : 2px;
    height    : 1.6rem;
    transform : translate(-50%, -50%);
}

.faq-item.is-open .faq-item__icon::after {
    transform : translate(-50%, -50%) rotate(90deg);
    opacity   : 0;
}

.faq-item__answer {
    max-height : 0;
    overflow   : hidden;
    transition : max-height .3s ease;
}

.faq-item__answer p {
    color         : var(--color-text-light);
    padding-bottom: var(--vspace-0_875);
    margin        : 0;
}


/* ===================================================================
 * # STATS BAR
 * reusable row of big numbers — used on "why choose us"-style pages
 * ------------------------------------------------------------------- */
.s-stats {
    padding-top    : var(--vspace-3);
    padding-bottom : var(--vspace-3);
}

.stats-bar__item {
    text-align    : center;
    border-right  : 1px solid var(--color-gray-7);
}

.stats-bar > .column:last-child .stats-bar__item {
    border-right : none;
}

.stats-bar__num {
    font-family : var(--font-2);
    font-weight : 600;
    font-size   : var(--text-display-1);
    color       : var(--color-1);
    line-height : 1.1;
}

.stats-bar__label {
    color     : var(--color-text-light);
    font-size : var(--text-sm);
}

@media screen and (max-width: 800px) {
    .stats-bar__item {
        border-right  : none;
        border-bottom : 1px solid var(--color-gray-7);
        padding-bottom : var(--vspace-1);
        margin-bottom  : var(--vspace-1);
    }

    .stats-bar > .column:last-child .stats-bar__item {
        border-bottom : none;
        margin-bottom  : 0;
        padding-bottom : 0;
    }

    .stats-bar__num {
        font-size : var(--text-xxxl);
    }
}


/* ===================================================================
 * # COMPARISON TABLE
 * reusable "us vs. them" checklist comparison
 * ------------------------------------------------------------------- */
.comparison-table {
    max-width     : 90rem;
    margin        : 0 auto;
    border-radius : var(--border-radius);
    overflow      : hidden;
    background-color : var(--color-white);
    box-shadow    : 0 1.2rem 3.2rem rgba(0, 0, 0, .08);
    border        : 1px solid var(--color-gray-7);
}

.comparison-table__row {
    display               : grid;
    grid-template-columns : 1fr 11rem 11rem;
    align-items           : center;
    transition            : background-color .2s;
}

.comparison-table__row:not(.comparison-table__row--head):hover {
    background-color : var(--color-gray-2);
}

.comparison-table__row:not(:last-child) {
    border-bottom : 1px solid var(--color-gray-7);
}

.comparison-table__feature,
.comparison-table__col {
    padding : var(--vspace-0_75);
}

.comparison-table__feature {
    font-family : var(--font-2);
    font-weight : 500;
}

.comparison-table__col {
    display         : flex;
    align-items     : center;
    justify-content : center;
    text-align      : center;
    align-self      : stretch;
    border-left     : 1px solid var(--color-gray-7);
}

.comparison-table__col--us {
    background-color : var(--color-1-lightest);
    font-weight       : 600;
    color             : var(--color-1-darker);
}

.comparison-table__row--head {
    background-color : var(--color-gray-2);
    font-family       : var(--font-2);
    font-weight       : 600;
}

.comparison-table__row--head .comparison-table__col--us {
    background-color : var(--color-1);
    color             : white;
}

.comparison-table__icon-badge {
    display          : inline-flex;
    align-items      : center;
    justify-content  : center;
    height           : 3.4rem;
    width            : 3.4rem;
    border-radius    : 50%;
}

.comparison-table__icon-badge--yes {
    background-color : var(--color-2-lightest);
}

.comparison-table__icon-badge--no {
    background-color : var(--color-gray-2);
}

.comparison-table__icon {
    height : 1.6rem;
    width  : 1.6rem;
}

.comparison-table__icon--yes {
    fill : var(--color-2-darker);
}

.comparison-table__icon--no {
    fill : var(--color-gray-11);
}

@media screen and (max-width: 600px) {
    .comparison-table__row {
        grid-template-columns : 1fr 6.4rem 6.4rem;
    }

    .comparison-table__feature,
    .comparison-table__col {
        padding   : var(--vspace-0_5);
        font-size : var(--text-sm);
    }

    .comparison-table__icon-badge {
        height : 2.8rem;
        width  : 2.8rem;
    }
}


/* ===================================================================
 * # SPOTLIGHT QUOTE
 * single large centered testimonial
 * ------------------------------------------------------------------- */
.s-spotlight {
    padding-top    : var(--vspace-4);
    padding-bottom : var(--vspace-4);
    background-color : var(--color-gray-2);
}

.spotlight-quote {
    position      : relative;
    max-width     : 84rem;
    margin        : 0 auto;
    text-align    : center;
    background-color : var(--color-white);
    border-radius : var(--border-radius);
    box-shadow    : 0 1.2rem 3.2rem rgba(0, 0, 0, .08);
    padding       : var(--vspace-2) var(--vspace-1_5);
}

.spotlight-quote__mark {
    height        : var(--vspace-2_5);
    width         : var(--vspace-2_5);
    fill          : var(--color-1-lightest);
    margin-bottom : var(--vspace-0_5);
}

.spotlight-quote__stars {
    color          : var(--color-1);
    letter-spacing : .2em;
    font-size      : var(--text-lg);
    margin-bottom  : var(--vspace-0_75);
}

.spotlight-quote__text {
    font-family : var(--font-2);
    font-size   : var(--text-xl);
    font-weight : 500;
    line-height : 1.6;
    color       : var(--color-text-dark);
    margin-bottom : var(--vspace-1_5);
}

.spotlight-quote__author {
    display         : flex;
    align-items     : center;
    justify-content : center;
    gap             : var(--vspace-0_5);
}

.spotlight-quote__author img {
    height        : var(--vspace-2_5);
    width         : var(--vspace-2_5);
    border-radius : 50%;
    object-fit    : cover;
    border        : 3px solid var(--color-1-lightest);
}

.spotlight-quote__author-name {
    text-align : left;
}

.spotlight-quote__author-name strong {
    display : block;
}

.spotlight-quote__author-name span {
    color     : var(--color-text-light);
    font-size : var(--text-sm);
}

@media screen and (max-width: 600px) {
    .spotlight-quote {
        padding : var(--vspace-1_5) var(--vspace-1);
    }

    .spotlight-quote__text {
        font-size : var(--text-lg);
    }
}


/* ===================================================================
 * # INFO CARDS
 * reusable icon + heading + text card, 2 or 3-up
 * ------------------------------------------------------------------- */
.s-more-about {
    padding-top    : var(--vspace-3);
    padding-bottom : var(--vspace-3);
}

.info-card {
    background-color : var(--color-gray-2);
    border-radius     : var(--border-radius);
    padding           : var(--vspace-1_5);
    text-align        : center;
    height            : 100%;
}

.info-card__icon {
    display           : flex;
    align-items       : center;
    justify-content   : center;
    height            : var(--vspace-2);
    width             : var(--vspace-2);
    margin            : 0 auto var(--vspace-0_75);
    border-radius     : 50%;
    background-color  : var(--color-1-lightest);
}

.info-card__icon svg {
    height : var(--vspace-1);
    width  : var(--vspace-1);
    fill   : var(--color-1-darker);
}

.info-card__icon-text {
    font-family : var(--font-2);
    font-weight : 700;
    font-size   : var(--text-lg);
    color       : var(--color-1-darker);
}

.info-card h3 {
    margin-bottom : var(--vspace-0_5);
}

.info-card p {
    color : var(--color-text-light);
}

@media screen and (max-width: 800px) {
    .info-cards > .column {
        margin-bottom : var(--vspace-1_5);
    }

    .info-cards > .column:last-child {
        margin-bottom : 0;
    }
}


/* ===================================================================
 * # LEGAL CONTENT
 * reusable readable long-form document layout (terms, privacy, etc.)
 * ------------------------------------------------------------------- */
.s-legal {
    padding-top    : var(--vspace-4);
    padding-bottom : var(--vspace-4);
}

.legal-content {
    max-width : 84rem;
    margin    : 0 auto;
}

.legal-content__updated {
    color         : var(--color-text-light);
    font-size     : var(--text-sm);
    margin-bottom : var(--vspace-2);
}

.legal-content h2 {
    font-size     : var(--text-xl);
    margin-top    : var(--vspace-2);
    margin-bottom : var(--vspace-0_75);
}

.legal-content h2:first-of-type {
    margin-top : 0;
}

.legal-content h3 {
    font-size     : var(--text-lg);
    margin-top    : var(--vspace-1_5);
    margin-bottom : var(--vspace-0_5);
}

.legal-content p,
.legal-content li {
    color       : var(--color-text-light);
    line-height : 1.8;
}

.legal-content ul,
.legal-content ol {
    padding-left  : var(--vspace-1);
    margin-bottom : var(--vspace-1);
}

.legal-content li {
    margin-bottom : var(--vspace-0_375);
}

.legal-content a {
    color          : var(--color-1);
    text-decoration : underline;
}

.legal-content strong {
    color : var(--color-text-dark);
}

.legal-content__callout {
    background-color : var(--color-1-lightest);
    border-left       : 3px solid var(--color-1);
    border-radius     : 0 var(--border-radius) var(--border-radius) 0;
    padding           : var(--vspace-0_875) var(--vspace-1);
    margin-bottom     : var(--vspace-1);
}

.legal-content__callout p {
    color         : var(--color-1-darker);
    margin-bottom : 0;
}

.legal-content__callout p + p {
    margin-top : var(--vspace-0_5);
}

@media screen and (max-width: 800px) {
    .s-legal {
        padding-top    : var(--vspace-3);
        padding-bottom : var(--vspace-3);
    }
}


/* ===================================================================
 * # FAQ CATEGORY GROUP
 * groups a sub-heading with its own .faq-list — used on pages with
 * FAQs spanning multiple topics
 * ------------------------------------------------------------------- */
.faq-category {
    max-width : 84rem;
    margin    : 0 auto var(--vspace-2_5);
}

.faq-category:last-child {
    margin-bottom : 0;
}

.faq-category__title {
    display       : flex;
    align-items   : center;
    gap           : var(--vspace-0_625);
    color         : var(--color-text-dark);
    margin-bottom : var(--vspace-1);
}

/* short brand rule that anchors each category heading */
.faq-category__title::before {
    content          : "";
    flex-shrink      : 0;
    height           : 2px;
    width            : var(--vspace-1_25);
    background-color : var(--color-2);
}

.faq-category .faq-list {
    max-width : none;
    margin    : 0;
}


/* ===================================================================
 * # DOCUMENT LIST
 * reusable icon + title + desc + download row — used for patient forms
 * ------------------------------------------------------------------- */
.document-list {
    max-width : 90rem;
    margin    : 0 auto;
}

.document-item {
    display         : flex;
    align-items     : center;
    gap             : var(--vspace-1);
    padding         : var(--vspace-1) 0;
    border-bottom   : 1px solid var(--color-gray-7);
}

.document-item__icon {
    display           : flex;
    flex-shrink       : 0;
    align-items       : center;
    justify-content   : center;
    height            : var(--vspace-2);
    width             : var(--vspace-2);
    border-radius     : 50%;
    background-color  : var(--color-1-lightest);
}

.document-item__icon svg {
    height : var(--vspace-1);
    width  : var(--vspace-1);
    fill   : var(--color-1-darker);
}

.document-item__body {
    flex : 1 1 auto;
}

.document-item__body h3 {
    margin-bottom : var(--vspace-0_125);
}

.document-item__body p {
    color   : var(--color-text-light);
    margin  : 0;
}

.document-item__action {
    flex-shrink : 0;
}

.document-item__action .btn {
    margin : 0;
}

@media screen and (max-width: 600px) {
    .document-item {
        flex-wrap : wrap;
        row-gap   : var(--vspace-0_75);
    }

    .document-item__action {
        width : 100%;
    }

    .document-item__action .btn {
        width : 100%;
    }
}


/* ===================================================================
 * # GALLERY PLACEHOLDER
 * used in place of real photos until client provides them
 * ------------------------------------------------------------------- */
.gallery-placeholder {
    display          : flex;
    flex-direction   : column;
    align-items      : center;
    justify-content  : center;
    aspect-ratio      : 4 / 3;
    border-radius     : var(--border-radius);
    background-color  : var(--color-gray-2);
    border            : 1px dashed var(--color-gray-6);
    text-align        : center;
    padding           : var(--vspace-1);
}

.gallery-placeholder__icon {
    height        : var(--vspace-2);
    width         : var(--vspace-2);
    margin-bottom : var(--vspace-0_5);
    fill          : var(--color-gray-6);
}

.gallery-placeholder__text {
    font-family : var(--font-2);
    font-weight : 600;
    font-size   : var(--text-sm);
    color       : var(--color-text-light);
}

@media screen and (max-width: 800px) {
    .gallery-grid > .column {
        margin-bottom : var(--vspace-1);
    }
}


/* ===================================================================
 * # CONTACT FORM
 * ------------------------------------------------------------------- */
.s-contact-form {
    padding-top    : var(--vspace-4);
    padding-bottom : var(--vspace-4);
}

.s-contact-form__inner {
    align-items : flex-start;
}

/* the contact layout reads better edge-to-edge than boxed into the grid
 * max-width — only once the two columns actually sit side by side */
@media screen and (min-width: 1001px) {
    .s-contact-form__inner {
        max-width : none;
        width     : 94%;
    }
}

/* -------------------------------------------------------------------
 * ## contact intro column
 * ------------------------------------------------------------------- */
.contact-intro {
    padding-right : var(--vspace-1_5);
}

.contact-intro__title {
    margin-top    : 0;
    margin-bottom : var(--vspace-0_5);
}

.contact-intro__desc {
    color         : var(--color-text-light);
    margin-bottom : var(--vspace-1_5);
}

.contact-methods {
    list-style    : none;
    margin        : 0 0 var(--vspace-2);
}

.contact-methods__item {
    display       : flex;
    align-items   : flex-start;
    gap           : var(--vspace-0_75);
    padding-left  : 0;
    margin-bottom : var(--vspace-1_25);
}

.contact-methods__item:last-child {
    margin-bottom : 0;
}

.contact-methods__icon {
    flex-shrink      : 0;
    display          : flex;
    align-items      : center;
    justify-content  : center;
    height           : var(--vspace-2);
    width            : var(--vspace-2);
    border-radius    : 50%;
    background-color : var(--color-1-lightest);
}

.contact-methods__icon svg {
    height : var(--vspace-0_875);
    width  : var(--vspace-0_875);
    fill   : var(--color-1-darker);
}

.contact-methods__label {
    font-family    : var(--font-2);
    font-size      : var(--text-sm);
    font-weight    : 600;
    letter-spacing : .1em;
    text-transform : uppercase;
    color          : var(--color-text-light);
    margin-bottom  : var(--vspace-0_125);
}

.contact-methods__value {
    font-family : var(--font-2);
    font-weight : 600;
    font-size   : calc(var(--text-size) * 1.0555);
    color       : var(--color-text-dark);
    margin      : 0;
}

.contact-methods__value a {
    color      : var(--color-text-dark);
    transition : color .2s;
}

.contact-methods__value a:focus,
.contact-methods__value a:hover {
    color : var(--color-1);
}

.contact-methods__note {
    font-size : var(--text-sm);
    color     : var(--color-text-light);
    margin    : var(--vspace-0_125) 0 0;
}

/* -------------------------------------------------------------------
 * ## what happens next
 * ------------------------------------------------------------------- */
.contact-steps {
    background-color : var(--color-gray-2);
    border-radius    : var(--border-radius);
    padding          : var(--vspace-1_25);
}

.contact-steps__title {
    font-family    : var(--font-2);
    font-size      : var(--text-sm);
    font-weight    : 600;
    letter-spacing : .1em;
    text-transform : uppercase;
    color          : var(--color-1);
    margin-bottom  : var(--vspace-0_75);
}

.contact-steps__list {
    list-style : none;
    margin     : 0;
    counter-reset : contact-step;
}

.contact-steps__list li {
    counter-increment : contact-step;
    position          : relative;
    padding-left      : var(--vspace-1_5);
    margin-bottom     : var(--vspace-0_625);
    font-size         : var(--text-sm);
    color             : var(--color-text-light);
}

.contact-steps__list li:last-child {
    margin-bottom : 0;
}

.contact-steps__list li::before {
    content          : counter(contact-step);
    position         : absolute;
    top              : 0;
    left             : 0;
    display          : flex;
    align-items      : center;
    justify-content  : center;
    height           : 2.2rem;
    width            : 2.2rem;
    border-radius    : 50%;
    background-color : var(--color-1);
    color            : white;
    font-family      : var(--font-2);
    font-size        : 1.2rem;
    font-weight      : 600;
}

/* -------------------------------------------------------------------
 * ## form card
 * ------------------------------------------------------------------- */
.contact-form {
    background-color : var(--color-white);
    border           : 1px solid var(--color-gray-7);
    border-radius    : var(--border-radius);
    box-shadow       : 0 1.2rem 3.2rem rgba(0, 0, 0, .08);
    padding          : var(--vspace-2);
}

.contact-form__icon {
    display          : flex;
    align-items      : center;
    justify-content  : center;
    height           : var(--vspace-2_5);
    width            : var(--vspace-2_5);
    margin           : 0 auto var(--vspace-0_75);
    border-radius    : 50%;
    background-color : var(--color-1-lightest);
}

.contact-form__icon svg {
    height : var(--vspace-1_25);
    width  : var(--vspace-1_25);
    fill   : none;
    stroke : var(--color-1-darker);
    stroke-width : 1.5;
}

.contact-form__header {
    text-align    : center;
    margin-bottom : var(--vspace-1_5);
}

.contact-form__header h2 {
    margin-bottom : var(--vspace-0_375);
}

.contact-form__desc {
    color      : var(--color-text-light);
    max-width  : 48rem;
    margin     : 0 auto;
    font-size  : var(--text-sm);
}

.contact-form__row {
    display               : grid;
    grid-template-columns : 1fr 1fr;
    gap                   : var(--vspace-0_75);
    margin-bottom         : var(--vspace-0_75);
}

.contact-form__row input {
    width : 100%;
}

.contact-form__checkboxes {
    margin-top    : var(--vspace-1);
    margin-bottom : var(--vspace-1);
}

.contact-form__checkbox {
    display        : flex;
    align-items    : flex-start;
    gap            : var(--vspace-0_5);
    margin-bottom  : var(--vspace-0_75);
    cursor         : pointer;
}

.contact-form__checkbox input {
    flex-shrink : 0;
    margin-top  : 0.3rem;
    height      : 1.8rem;
    width       : 1.8rem;
    accent-color : var(--color-1);
    cursor      : pointer;
}

.contact-form__checkbox span {
    font-size   : var(--text-sm);
    color       : var(--color-text-dark);
    line-height : 1.5;
}

.contact-form__links {
    font-size     : var(--text-sm);
    margin-bottom : var(--vspace-1_5);
}

.contact-form__links a {
    color : var(--color-1);
}

.contact-form__submit {
    display    : block;
    width      : 100%;
    text-align : center;
}

.contact-form__status {
    margin-top : var(--vspace-0_75);
    font-size  : var(--text-sm);
    font-weight : 600;
    text-align : center;
}

.contact-form__status--success {
    color : #2f7a4d;
}

.contact-form__status--error {
    color : #b91c1c;
}

@media screen and (max-width: 1000px) {
    .contact-intro {
        padding-right : 0;
        margin-bottom : var(--vspace-2);
    }
}

@media screen and (max-width: 600px) {
    .contact-form {
        padding : var(--vspace-1_25);
    }

    .contact-form__row {
        grid-template-columns : 1fr;
        gap                   : var(--vspace-0_5);
    }
}


/* ===================================================================
 * # LOCATION CARDS
 * used on individual practice-location pages — address/hours pair
 * ------------------------------------------------------------------- */
.s-location-info {
    padding-top    : var(--vspace-3);
    padding-bottom : var(--vspace-1_5);
}

.location-layout {
    align-items : stretch;
}

.location-card {
    background-color : var(--color-white);
    border           : 1px solid var(--color-gray-7);
    border-radius    : var(--border-radius);
    box-shadow       : 0 .8rem 2.4rem rgba(0, 0, 0, .06);
    padding          : var(--vspace-1_5);
    height           : 100%;
}

.location-layout .location-card {
    height        : auto;
    padding       : var(--vspace-1_25);
    margin-bottom : var(--vspace-1);
}

.location-layout .location-card h3 {
    margin-bottom : var(--vspace-0_5);
}

.location-layout .location-card__icon {
    height        : var(--vspace-1_75);
    width         : var(--vspace-1_75);
    margin-bottom : var(--vspace-0_5);
}

.location-layout .location-card__address {
    margin-bottom : var(--vspace-0_375);
}

.location-layout .location-card__phone {
    margin-bottom : var(--vspace-0_75);
}

.location-layout .location-card:last-child {
    margin-bottom : 0;
}

.location-card__icon {
    display          : flex;
    align-items      : center;
    justify-content  : center;
    height           : var(--vspace-2);
    width            : var(--vspace-2);
    margin-bottom    : var(--vspace-0_75);
    border-radius    : 50%;
    background-color : var(--color-1-lightest);
}

.location-card__icon svg {
    height : var(--vspace-0_875);
    width  : var(--vspace-0_875);
    fill   : var(--color-1-darker);
}

.location-card__address {
    margin-bottom : var(--vspace-0_75);
}

.location-card__phone {
    margin-bottom : var(--vspace-1);
}

.location-card__phone a,
.location-card__address {
    color : var(--color-text-light);
}

.location-card__phone a {
    font-family : var(--font-2);
    font-weight : 600;
    color       : var(--color-text-dark);
    transition  : color .2s;
}

.location-card__phone a:focus,
.location-card__phone a:hover {
    color : var(--color-1);
}

/* -------------------------------------------------------------------
 * ## location map panel
 * ------------------------------------------------------------------- */
.location-map {
    position      : relative;
    height        : 100%;
    min-height    : 44rem;
    border-radius : var(--border-radius);
    overflow      : hidden;
    box-shadow    : 0 1.2rem 3.2rem rgba(0, 0, 0, .08);
}

.location-map iframe {
    display : block;
    width   : 100%;
    height  : 100%;
    border  : 0;
}

@media screen and (max-width: 1000px) {
    .location-layout .location-card:last-child {
        margin-bottom : var(--vspace-1_25);
    }

    .location-map {
        min-height : 34rem;
    }
}

.hours-list {
    list-style : none;
    margin     : 0;
}

.hours-list__row {
    display        : flex;
    justify-content : space-between;
    gap            : var(--vspace-1);
    padding        : var(--vspace-0_375) 0;
    border-bottom  : 1px solid var(--color-gray-7);
    color          : var(--color-text-light);
}

.hours-list__row:last-child {
    border-bottom : none;
}

.hours-list__row span:first-child {
    font-weight : 600;
    color       : var(--color-text-dark);
}

@media screen and (max-width: 800px) {
    .location-cards > .column {
        margin-bottom : var(--vspace-1_5);
    }

    .location-cards > .column:last-child {
        margin-bottom : 0;
    }
}


/* ===================================================================
 * # HOME / SITE TREATMENT
 *
 * The Wix "Family Photographer (Soft)" template (wh-1449) is the visual
 * starting point — its two-column bands, italic eyebrows, squared buttons
 * and tight display type. Everything beyond that is built for a dental
 * practice that has to convert: trust signals, credentials, a real FAQ and
 * repeated calls to action.
 *
 * Reference measurements, off the live demo at 1024px:
 *   ink #503228 on canvas #F7F8F1 · Neue Haas Grotesk Display Pro 400/500
 *   hero 64px/0.9 ls -0.03em · section head 41.6px/0.9 · eyebrow 17.6px
 *   italic · service title 25.6px/1.0 · body 14.4px/1.3
 * Proportions kept; palette is Anchor navy, face is Lato (see # SETTINGS).
 *
 * Namespaced .tpl-* (shared atoms) and .s-* (sections). The only shared
 * classes overridden are .s-header / .s-footer, intentionally — this is the
 * site's header and footer treatment from now on, not a page tweak.
 * ------------------------------------------------------------------- */

:root {
    --canvas      : #F4F6F7;
    --surface     : #FFFFFF;
    --ink         : var(--color-1);
    --ink-soft    : rgba(0, 38, 74, .72);
    /* .55 measured 3.59:1 on canvas — below AA for the small meta text
     * that uses it (eyebrows, stat captions, review numbers). .70 is
     * the lightest that clears 4.5:1 on both canvas and white. */
    --ink-faint   : rgba(0, 38, 74, .70);
    --rule        : rgba(0, 38, 74, .14);
    --rule-strong : rgba(0, 38, 74, .26);
    --accent      : var(--color-2);

    --tpl-max     : 1320px;
    --tpl-pad     : 4rem;

    /* ONE corner radius for every rectangle on the site — buttons, cards,
     * panels, dropdowns, images, the map, FAQ items, tags. There used to
     * be six (3 / 4 / 10 / 18 / 100px pills / 50%) and it showed. The only
     * exception is a true circle: the footer social icons and the dot in
     * the hero badge. Do not add a second value. */
    --radius      : 10px;
    --border-radius : var(--radius);   /* the inherited stylesheet's token */

    --shadow-sm   : 0 1px 2px rgba(0, 38, 74, .06), 0 2px 8px rgba(0, 38, 74, .05);
    --shadow      : 0 2px 6px rgba(0, 38, 74, .06), 0 12px 32px rgba(0, 38, 74, .09);
    --shadow-lg   : 0 4px 12px rgba(0, 38, 74, .08), 0 24px 60px rgba(0, 38, 74, .14);

    --ease        : cubic-bezier(.22, .61, .36, 1);
    --section-y   : clamp(6rem, 8.5vw, 12rem);
}

@media screen and (max-width: 800px) {
    :root { --tpl-pad : 2.2rem; }
}

body {
    background-color : var(--canvas);
    color            : var(--ink);
}

.s-pagewrap {
    /* The inherited rule is `overflow: hidden`, which makes this a scroll
     * container and silently breaks `position: sticky` on descendants —
     * the document pages' contents rail scrolled away instead of pinning.
     * `clip` contains overflow WITHOUT creating a scroll container, so
     * sticky keeps working. overflow-x:hidden stays first as the fallback
     * for browsers without `clip` (Safari < 16); there the rail simply
     * scrolls with the page. */
    overflow-x : hidden;
    overflow   : clip;
}

/* --------------------------------------------------------------------
 * ## scroll reveal
 * The hidden state is deliberately scoped to .reveal-ready, which
 * reveal.js sets on <html> only when it is actually going to run. No JS,
 * or reduced-motion, means nothing here applies and the content is simply
 * visible. See assets/js/reveal.js.
 * -------------------------------------------------------------------- */
.reveal-ready [data-reveal] {
    opacity    : 0;
    transform  : translate3d(0, 22px, 0);
    transition : opacity .7s var(--ease), transform .7s var(--ease);
    will-change: opacity, transform;
}

.reveal-ready [data-reveal].is-revealed {
    opacity    : 1;
    transform  : none;
    will-change: auto;
}

.reveal-ready [data-reveal="fade"]  { transform : none; }
.reveal-ready [data-reveal="left"]  { transform : translate3d(-26px, 0, 0); }
.reveal-ready [data-reveal="right"] { transform : translate3d(26px, 0, 0); }
.reveal-ready [data-reveal="scale"] { transform : scale(1.04); }
.reveal-ready [data-reveal="scale"].is-revealed { transform : none; }

@media (prefers-reduced-motion: reduce) {
    .reveal-ready [data-reveal],
    .reveal-ready [data-reveal].is-revealed {
        opacity    : 1;
        transform  : none;
        transition : none;
    }
}

/* --------------------------------------------------------------------
 * ## shared atoms
 * -------------------------------------------------------------------- */
.tpl-wrap {
    max-width : var(--tpl-max);
    margin    : 0 auto;
    padding   : 0 var(--tpl-pad);
}

.tpl-wrap--narrow { max-width : 90rem; }

.tpl-section { padding : var(--section-y) 0; }

.tpl-section--surface {
    background-color : var(--surface);
}

.tpl-section--ink {
    background-color : var(--ink);
    color            : var(--canvas);
}

/* eyebrow — the reference's italic "About me" label */
.tpl-eyebrow {
    display        : block;
    font-family    : var(--font-2);
    font-size      : 1.7rem;
    font-style     : italic;
    font-weight    : 400;
    line-height    : 1.1;
    color          : var(--ink-faint);
    margin         : 0 0 var(--vspace-0_5);
}

.tpl-section--ink .tpl-eyebrow { color : rgba(255, 255, 255, .62); }

.tpl-head {
    font-family    : var(--font-2);
    font-size      : clamp(2.9rem, 3.7vw, 5rem);
    font-weight    : 700;
    line-height    : .98;
    letter-spacing : -.025em;
    color          : inherit;
    margin         : 0;
    text-wrap      : balance;
}

.tpl-head--sm { font-size : clamp(2.4rem, 2.6vw, 3.4rem); }

.tpl-body {
    font-family : var(--font-2);
    font-size   : 1.7rem;
    font-weight : 400;
    line-height : 1.55;
    color       : var(--ink-soft);
    margin      : 0;
    max-width   : 62ch;
}

.tpl-section--ink .tpl-body { color : rgba(255, 255, 255, .76); }

.tpl-lead {
    font-size   : clamp(1.8rem, 1.6vw, 2.1rem);
    line-height : 1.5;
}

/* Section header.
 *
 * The reference puts the eyebrow in a narrow left column and the heading in
 * a wider right one. Applied here it left four different left edges on the
 * page — headings at 526px, most content grids at 100px, two sections'
 * content at 526px, the doctor block at 650px — and the page read as
 * misaligned. The eyebrow now stacks above the heading and every section
 * starts on the same edge as the content beneath it. Keep it that way:
 * anything that re-indents a heading breaks the page's vertical rhythm. */
.tpl-band {
    display               : grid;
    grid-template-columns : minmax(0, 1fr);
    gap                   : 0;
    align-items           : start;
}

.tpl-band__head { position : static; }

/* headline measure — long headings still break into 2–3 lines rather than
 * running the full 1240px content width */
.tpl-band .tpl-head { max-width : 24ch; }
.tpl-band .tpl-head--sm { max-width : 30ch; }

.tpl-stack > * + * { margin-top : var(--vspace-0_75); }

/* secondary text link sitting under the Book/Call pair */
.tpl-more {
    margin    : var(--vspace-0_75) 0 0;
    font-size : 1.6rem;
}

.tpl-actions {
    display   : flex;
    flex-wrap : wrap;
    gap       : 1.2rem;
    margin-top: var(--vspace-1_25);
}

/* buttons — squared like the reference, with a lift on hover */
.tpl-btn {
    display          : inline-flex;
    align-items      : center;
    justify-content  : center;
    gap              : .9rem;
    font-family      : var(--font-2);
    font-size        : 1.6rem;
    font-weight      : 700;
    line-height      : 1;
    text-align       : center;
    padding          : 1.9rem 3rem;
    border           : 1px solid var(--ink);
    border-radius    : var(--radius);
    background-color : var(--ink);
    color            : var(--canvas);
    transition       : background-color .25s var(--ease), border-color .25s var(--ease),
                       color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}

.tpl-btn:hover,
.tpl-btn:focus-visible {
    background-color : var(--accent);
    border-color     : var(--accent);
    color            : #fff;
    transform        : translateY(-2px);
    box-shadow       : var(--shadow);
}

.tpl-btn--ghost {
    background-color : transparent;
    color            : var(--ink);
}

.tpl-btn--ghost:hover,
.tpl-btn--ghost:focus-visible {
    background-color : var(--ink);
    border-color     : var(--ink);
    color            : var(--canvas);
}

.tpl-section--ink .tpl-btn {
    background-color : var(--canvas);
    border-color     : var(--canvas);
    color            : var(--ink);
}

.tpl-section--ink .tpl-btn:hover,
.tpl-section--ink .tpl-btn:focus-visible {
    background-color : var(--accent);
    border-color     : var(--accent);
    color            : #fff;
}

.tpl-section--ink .tpl-btn--ghost {
    background-color : transparent;
    border-color     : rgba(255, 255, 255, .4);
    color            : var(--canvas);
}

.tpl-section--ink .tpl-btn--ghost:hover,
.tpl-section--ink .tpl-btn--ghost:focus-visible {
    background-color : var(--canvas);
    border-color     : var(--canvas);
    color            : var(--ink);
}

.tpl-btn svg { width : 1.7rem; height : 1.7rem; fill : currentColor; flex-shrink : 0; }

/* understated underlined link. No arrow glyph — it was removed on
 * purpose; do not add a ::after back. */
.tpl-link {
    display               : inline-flex;
    align-items           : center;
    font-family           : var(--font-2);
    font-size             : 1.6rem;
    font-weight           : 700;
    color                 : var(--ink);
    text-decoration       : underline;
    text-underline-offset : .45rem;
    text-decoration-thickness : 1px;
    white-space           : nowrap;
    transition            : color .2s var(--ease);
}

.tpl-link:hover,
.tpl-link:focus-visible { color : var(--accent); }

.tpl-link--plain { text-decoration : none; font-weight : 400; }
.tpl-link--plain:hover { text-decoration : underline; }

/* --------------------------------------------------------------------
 * ## site header
 * canvas bar pinned to the top; tightens and gains a shadow once scrolled
 * -------------------------------------------------------------------- */
.s-header {
    --logo-width     : 186px;
    background-color : rgba(244, 246, 247, .88);
    -webkit-backdrop-filter : saturate(180%) blur(12px);
    backdrop-filter  : saturate(180%) blur(12px);
    box-shadow       : none;
    border-bottom    : 1px solid transparent;
    position         : fixed;
    top              : 0;
    transition       : background-color .3s var(--ease), border-color .3s var(--ease),
                       box-shadow .3s var(--ease);
}

.s-header.is-scrolled {
    background-color : rgba(244, 246, 247, .96);
    border-bottom-color : var(--rule);
    box-shadow       : 0 1px 20px rgba(0, 38, 74, .07);
}

.s-header__inner {
    max-width : var(--tpl-max);
    padding   : 0 var(--tpl-pad);
}

.s-header__logo { transform : none; }

.s-header__menu-links { margin : 0 auto; }

.s-header__menu-links a {
    position       : relative;
    font-size      : 1.6rem;
    font-weight    : 400;
    color          : var(--ink);
    padding        : 0 1.7rem;
}

/* animated underline instead of a hard text-decoration swap */
.s-header__menu-links a::after {
    content          : "";
    position         : absolute;
    left             : 1.7rem;
    right            : 1.7rem;
    bottom           : -.4rem;
    height           : 1px;
    background-color : currentColor;
    transform        : scaleX(0);
    transform-origin : left center;
    transition       : transform .28s var(--ease);
}

.s-header__menu-links a:hover,
.s-header__menu-links a:focus-visible { color : var(--accent); }

.s-header__menu-links a:hover::after,
.s-header__menu-links a:focus-visible::after,
.s-header__menu-links .current > a::after { transform : scaleX(1); }

.s-header__cta { gap : var(--vspace-0_625); }

.s-header__cta .tpl-btn {
    font-size : 1.45rem;
    padding   : 1.25rem 2rem;
}

/* "Call Now" sits beside "Book Now" as a matching ghost button */
.s-header__call { white-space : nowrap; }

.s-header__cta .tpl-btn svg { width : 1.5rem; height : 1.5rem; }

/* ---- compact desktop header, 1101-1320px ----------------------------
 * The header used to fall back to the hamburger at 1400px (Mueller's
 * default), which put a phone menu on ordinary 13-14" laptops. It now
 * stays a full menu down to 1101px. In this band the logo, links and
 * buttons tighten so all three still fit on one line, and the call button
 * drops its "Call Now:" label (the number and icon stay).
 * ------------------------------------------------------------------- */
@media screen and (min-width: 1101px) and (max-width: 1320px) {
    .s-header { --logo-width : 160px; }

    .s-header__menu-links a {
        font-size : 1.5rem;
        padding   : 0 1.1rem;
    }

    .s-header__menu-links a::after {
        left  : 1.1rem;
        right : 1.1rem;
    }

    .s-header__cta { gap : .8rem; }

    .s-header__cta .tpl-btn {
        font-size : 1.4rem;
        padding   : 1.2rem 1.4rem;
    }

    .s-header__call-label { display : none; }

    /* The mega panel is centred on the nav, and the nav sits left of the
     * viewport's centre (the buttons are wider than the logo). At these
     * widths that pushed the panel's first column off the left edge. */
    .s-header .s-header__mega { left : calc(50% + 5.6rem); }
}

/* every page sits below the fixed header */
.s-content { padding-top : var(--header-height); }

/* --------------------------------------------------------------------
 * ## hero
 * -------------------------------------------------------------------- */
.s-hero {
    display               : grid;
    grid-template-columns : minmax(0, 1.02fr) minmax(0, 1fr);
    align-items           : stretch;
    min-height            : min(calc(100svh - var(--header-height)), 92rem);
    background-color      : var(--canvas);
    position              : relative;
}

.s-hero__copy {
    display        : flex;
    flex-direction : column;
    justify-content: center;
    padding        : var(--vspace-3) var(--vspace-2) var(--vspace-3)
                     max(var(--tpl-pad), calc((100vw - var(--tpl-max)) / 2 + var(--tpl-pad)));
}

.s-hero__flag {
    display        : inline-flex;
    align-items    : center;
    gap            : .8rem;
    align-self     : flex-start;
    font-size      : 1.4rem;
    font-weight    : 700;
    letter-spacing : .08em;
    text-transform : uppercase;
    color          : var(--accent);
    background     : rgba(8, 101, 153, .09);
    border-radius  : var(--radius);
    padding        : .8rem 1.6rem;
    margin-bottom  : var(--vspace-0_875);
}

.s-hero__flag::before {
    content       : "";
    width         : .8rem;
    height        : .8rem;
    border-radius : 50%;
    background    : var(--accent);
}

.s-hero__title {
    font-family    : var(--font-2);
    font-size      : clamp(3.8rem, 5.1vw, 6.8rem);
    font-weight    : 700;
    line-height    : .96;
    letter-spacing : -.032em;
    margin         : 0;
    max-width      : 15ch;
    text-wrap      : balance;
}

.s-hero__title em {
    font-style : normal;
    color      : var(--accent);
}

.s-hero__desc {
    margin    : var(--vspace-0_875) 0 0;
    max-width : 46ch;
    font-size : clamp(1.7rem, 1.5vw, 1.95rem);
}

/* small proof row under the hero CTAs */
.s-hero__proof {
    display    : flex;
    flex-wrap  : wrap;
    gap        : var(--vspace-1_25);
    margin     : var(--vspace-1_5) 0 0;
    padding    : var(--vspace-1) 0 0;
    border-top : 1px solid var(--rule);
    list-style : none;
    max-width  : 52rem;
}

.s-hero__proof li { padding-left : 0; }

.s-hero__proof dt {
    font-size      : clamp(2.2rem, 2.2vw, 2.8rem);
    font-weight    : 700;
    line-height    : 1;
    letter-spacing : -.02em;
    color          : var(--ink);
}

.s-hero__proof dd {
    margin      : .5rem 0 0;
    font-size   : 1.4rem;
    line-height : 1.35;
    color       : var(--ink-faint);
    max-width   : 18ch;
}

.s-hero__media {
    position   : relative;
    min-height : 46rem;
    overflow   : hidden;
}

.s-hero__media img {
    position        : absolute;
    inset           : 0;
    width           : 100%;
    height          : 100%;
    object-fit      : cover;
    /* landscape source in a tall slot — hold the frame where the family is */
    object-position : 56% 50%;
    display         : block;
}

/* soft canvas-to-transparent wash so the photo meets the copy cleanly */
.s-hero__media::after {
    content  : "";
    position : absolute;
    inset    : 0;
    background : linear-gradient(90deg, var(--canvas) 0%, rgba(244, 246, 247, 0) 22%);
    pointer-events : none;
}

/* --------------------------------------------------------------------
 * ## trust bar
 * -------------------------------------------------------------------- */
.s-trust {
    background-color : var(--ink);
    color            : var(--canvas);
    padding          : var(--vspace-1_25) 0;
}

.s-trust__list {
    display    : grid;
    grid-template-columns : repeat(4, minmax(0, 1fr));
    gap        : var(--vspace-1);
    margin     : 0;
    padding    : 0;
    list-style : none;
}

.s-trust__list li {
    display      : flex;
    align-items  : center;
    gap          : 1.1rem;
    padding-left : 0;
    font-size    : 1.5rem;
    line-height  : 1.35;
    color        : rgba(255, 255, 255, .88);
}

.s-trust__list svg {
    width       : 2.2rem;
    height      : 2.2rem;
    flex-shrink : 0;
    fill        : none;
    stroke      : var(--color-2-light);
    stroke-width: 1.8;
    stroke-linecap : round;
    stroke-linejoin: round;
}

/* --------------------------------------------------------------------
 * ## intro / about
 * -------------------------------------------------------------------- */
.s-story__media {
    display               : grid;
    grid-template-columns : minmax(0, 1fr) minmax(0, 1.85fr);
    gap                   : var(--vspace-0_625);
    margin-top            : var(--section-y);
    padding               : 0 var(--tpl-pad);
    max-width             : var(--tpl-max);
    margin-inline         : auto;
}

.s-story__media figure {
    margin   : 0;
    overflow : hidden;
    border-radius : var(--radius);
}

.s-story__media img {
    width      : 100%;
    height     : 100%;
    max-height : 52rem;
    object-fit : cover;
    display    : block;
    transition : transform .8s var(--ease);
}

.s-story__media figure:hover img { transform : scale(1.035); }

/* --------------------------------------------------------------------
 * ## offer / services
 * -------------------------------------------------------------------- */
.s-offer__list {
    margin     : var(--vspace-2) 0 0;
    padding    : 0;
    list-style : none;
}

.s-offer__item {
    display               : grid;
    grid-template-columns : 14rem minmax(0, 1.05fr) minmax(0, 1.6fr) auto;
    gap                   : var(--vspace-1_5);
    align-items           : center;
    padding               : var(--vspace-1_25) 1.6rem;
    margin                : 0 -1.6rem;
    border-top            : 1px solid var(--rule);
    border-radius         : var(--radius);
    padding-left          : 1.6rem;
    transition            : background-color .3s var(--ease);
}

.s-offer__item:last-child { border-bottom : 1px solid var(--rule); }
.s-offer__item:hover { background-color : var(--surface); }

.s-offer__thumb {
    width        : 100%;
    aspect-ratio : 1;
    object-fit   : cover;
    display      : block;
    border-radius: var(--radius);
    transition   : transform .5s var(--ease);
}

.s-offer__item:hover .s-offer__thumb { transform : scale(1.04); }

.s-offer__title {
    font-family    : var(--font-2);
    font-size      : clamp(2.1rem, 2.2vw, 2.8rem);
    font-weight    : 700;
    line-height    : 1.05;
    letter-spacing : -.015em;
    margin         : 0;
    max-width      : 14ch;
}

.s-offer__desc { font-size : 1.6rem; }

.s-offer__more {
    margin-top : var(--vspace-1_5);
    display    : flex;
    flex-wrap  : wrap;
    gap        : 1rem 2.4rem;
    align-items: center;
}

.s-offer__rest {
    display    : flex;
    flex-wrap  : wrap;
    gap        : .8rem;
    list-style : none;
    margin     : var(--vspace-1_25) 0 0;
    padding    : 0;
}

.s-offer__rest li { padding-left : 0; }

.s-offer__rest a {
    display       : block;
    font-size     : 1.45rem;
    color         : var(--ink-soft);
    border        : 1px solid var(--rule);
    border-radius : var(--radius);
    padding       : .8rem 1.6rem;
    transition    : border-color .2s var(--ease), color .2s var(--ease),
                    background-color .2s var(--ease);
}

.s-offer__rest a:hover,
.s-offer__rest a:focus-visible {
    color            : var(--ink);
    border-color     : var(--rule-strong);
    background-color : var(--surface);
}

/* --------------------------------------------------------------------
 * ## why us
 * -------------------------------------------------------------------- */
.s-why__grid {
    display               : grid;
    grid-template-columns : repeat(3, minmax(0, 1fr));
    gap                   : var(--vspace-0_75);
    margin                : var(--vspace-2) 0 0;
    padding               : 0;
    list-style            : none;
}

.s-why__item {
    padding-left     : 0;
    background-color : var(--canvas);
    border           : 1px solid var(--rule);
    border-radius    : var(--radius);
    padding          : var(--vspace-1_25);
    transition       : transform .3s var(--ease), box-shadow .3s var(--ease),
                       border-color .3s var(--ease);
}

.tpl-section--surface .s-why__item { background-color : var(--canvas); }

.s-why__item:hover {
    transform    : translateY(-4px);
    box-shadow   : var(--shadow);
    border-color : transparent;
}

.s-why__icon {
    width         : 4.4rem;
    height        : 4.4rem;
    border-radius : var(--radius);
    background    : rgba(8, 101, 153, .1);
    display       : grid;
    place-items   : center;
    margin-bottom : var(--vspace-0_75);
}

.s-why__icon svg {
    width  : 2.2rem;
    height : 2.2rem;
    fill   : none;
    stroke : var(--accent);
    stroke-width : 1.8;
    stroke-linecap : round;
    stroke-linejoin : round;
}

.s-why__title {
    font-size      : 1.95rem;
    font-weight    : 700;
    line-height    : 1.2;
    letter-spacing : -.01em;
    margin         : 0 0 .8rem;
}

.s-why__item p { font-size : 1.55rem; margin : 0; }

/* --------------------------------------------------------------------
 * ## doctor feature
 * -------------------------------------------------------------------- */
.s-doctor__inner {
    margin-top            : var(--vspace-2);
    display               : grid;
    grid-template-columns : minmax(0, .82fr) minmax(0, 1.18fr);
    gap                   : clamp(3rem, 5vw, 7rem);
    align-items           : center;
}

.s-doctor__portrait {
    margin        : 0;
    border-radius : var(--radius);
    overflow      : hidden;
    box-shadow    : var(--shadow-lg);
}

.s-doctor__portrait img {
    width        : 100%;
    display      : block;
    aspect-ratio : 4 / 5;
    object-fit   : cover;
    object-position : 50% 22%;
}

/* the text column already constrains this — an extra max-width broke
 * "Dr. David Bonanno, DMD" across two lines */
.s-doctor__name { max-width : none; }

.s-doctor__lede { margin-top : var(--vspace-0_75); }

.s-doctor__creds {
    list-style : none;
    margin     : var(--vspace-1_25) 0 0;
    padding    : 0;
    display    : grid;
    gap        : .9rem;
}

.s-doctor__creds li {
    position     : relative;
    padding-left : 2.8rem;
    font-size    : 1.6rem;
    line-height  : 1.45;
    color        : var(--ink-soft);
}

.s-doctor__creds li::before {
    content    : "";
    position   : absolute;
    left       : 0;
    top        : .55em;
    width      : 1.6rem;
    height     : .9rem;
    border-left   : 2px solid var(--accent);
    border-bottom : 2px solid var(--accent);
    transform  : rotate(-45deg) translateY(-.15em);
}

/* the other dentists, as text cards — see CLAUDE.md on why they have no
 * portraits yet */
.s-team__grid {
    display               : grid;
    grid-template-columns : repeat(3, minmax(0, 1fr));
    gap                   : var(--vspace-0_75);
    margin                : var(--vspace-2) 0 0;
    padding               : 0;
    list-style            : none;
}

.s-team__card {
    padding-left     : 0;
    background-color : var(--surface);
    border           : 1px solid var(--rule);
    border-radius    : var(--radius);
    padding          : var(--vspace-1_25);
    transition       : transform .3s var(--ease), box-shadow .3s var(--ease);
}

.s-team__card:hover { transform : translateY(-4px); box-shadow : var(--shadow); }

.s-team__name {
    font-size      : 2rem;
    font-weight    : 700;
    letter-spacing : -.01em;
    margin         : 0 0 .3rem;
}

.s-team__role {
    display        : block;
    font-size      : 1.35rem;
    font-weight    : 700;
    letter-spacing : .07em;
    text-transform : uppercase;
    color          : var(--accent);
    margin-bottom  : var(--vspace-0_625);
}

.s-team__card p { font-size : 1.55rem; margin : 0; }

/* --------------------------------------------------------------------
 * ## practice gallery
 * -------------------------------------------------------------------- */
.s-practice__grid {
    list-style            : none;
    display               : grid;
    grid-template-columns : repeat(3, minmax(0, 1fr));
    gap                   : var(--vspace-0_625);
    margin-top            : var(--vspace-2);
    padding               : 0 var(--tpl-pad);
    max-width             : var(--tpl-max);
    margin-inline         : auto;
}

.s-practice__grid li {
    padding-left  : 0;
    overflow      : hidden;
    border-radius : var(--radius);
}

.s-practice__grid img {
    width        : 100%;
    aspect-ratio : 3 / 2;
    object-fit   : cover;
    display      : block;
    transition   : transform .8s var(--ease);
}

.s-practice__grid li:hover img { transform : scale(1.04); }

.s-practice__grid li:first-child { grid-column : span 3; }
.s-practice__grid li:first-child img { aspect-ratio : 21 / 9; }

/* --------------------------------------------------------------------
 * ## voices / reviews
 * -------------------------------------------------------------------- */
.s-voices__list {
    display               : grid;
    grid-template-columns : repeat(3, minmax(0, 1fr));
    gap                   : var(--vspace-0_75);
    margin                : var(--vspace-2) 0 0;
    padding               : 0;
    list-style            : none;
}

.s-voices__item {
    padding-left     : 0;
    background-color : var(--surface);
    border           : 1px solid var(--rule);
    border-radius    : var(--radius);
    padding          : var(--vspace-1_25);
    display          : flex;
    flex-direction   : column;
    gap              : var(--vspace-0_75);
    transition       : transform .3s var(--ease), box-shadow .3s var(--ease);
}

.s-voices__item:hover { transform : translateY(-4px); box-shadow : var(--shadow); }

.s-voices__mark {
    font-size   : 4.8rem;
    line-height : .6;
    color       : var(--color-2-lighter);
    font-weight : 700;
}

.s-voices__quote {
    margin      : 0;
    padding     : 0;
    border      : none;
    text-indent : 0;
    font-size   : 1.65rem;
    line-height : 1.55;
    color       : var(--ink);
    flex        : 1 1 auto;
}

.s-voices__attr {
    display     : flex;
    align-items : baseline;
    gap         : .9rem;
    border-top  : 1px solid var(--rule);
    padding-top : var(--vspace-0_75);
    margin      : 0;
}

.s-voices__name { font-size : 1.6rem; font-weight : 700; margin : 0; }
.s-voices__num  { font-size : 1.4rem; color : var(--ink-faint); }

/* --------------------------------------------------------------------
 * ## FAQ
 * The inherited stylesheet already ships a complete accordion: white
 * card, hover shadow, and a plus/minus built from .faq-item__icon's two
 * pseudo-elements (::before horizontal, ::after vertical, rotated and
 * faded out when .is-open). Do NOT restyle the icon here — half-
 * overriding it collapsed ::after to a 2x2px stub and every row showed a
 * minus. Only type and colour are adjusted below.
 * -------------------------------------------------------------------- */
.s-questions__list { margin : var(--vspace-1_5) 0 0; }

.faq-item { border-color : var(--rule); }

.faq-item:hover,
.faq-item.is-open {
    border-color : var(--color-2-light);
    box-shadow   : var(--shadow-sm);
}

/* The inherited stylesheet sets a fixed `height` on the bare `button`
 * selector, and .faq-item__question IS a <button>. With box-sizing:border-box
 * that fixed height minus this rule's own vertical padding left a ZERO-height
 * content box, so the label overflowed downward: 33px of space above it and
 * 10px below. It read as a card with no bottom padding. Both must be
 * neutralised — `height` for the base rule, `min-height` for its <=500px
 * counterpart. */
.faq-item__question {
    height         : auto;
    min-height     : 0;
    font-size      : clamp(1.7rem, 1.6vw, 1.95rem);
    font-weight    : 700;
    line-height    : 1.35;
    letter-spacing : -.01em;
    color          : var(--ink);
    padding        : var(--vspace-1) 0;
    align-items    : flex-start;
    transition     : color .2s var(--ease);
}

.faq-item__question:hover,
.faq-item__question:focus-visible { color : var(--accent); background : none; }

.faq-item__icon { margin-top : .3em; }

.faq-item__answer p {
    font-size   : 1.6rem;
    line-height : 1.6;
    color       : var(--ink-soft);
    max-width   : 70ch;
}

/* --------------------------------------------------------------------
 * ## payment / insurance
 * -------------------------------------------------------------------- */
.s-pay__list {
    display               : grid;
    grid-template-columns : repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
    gap                   : var(--vspace-0_625);
    margin                : var(--vspace-1_5) 0 0;
    padding               : 0;
    list-style            : none;
}

.s-pay__list li {
    padding-left  : 0;
    border        : 1px solid rgba(255, 255, 255, .22);
    border-radius : var(--radius);
    padding       : var(--vspace-1);
    font-size     : 1.55rem;
    line-height   : 1.4;
    color         : rgba(255, 255, 255, .88);
}

.s-pay__list strong {
    display     : block;
    font-size   : 1.7rem;
    color       : #fff;
    margin-bottom : .5rem;
}

/* --------------------------------------------------------------------
 * ## visit / closing CTA
 * -------------------------------------------------------------------- */
.s-booking__inner {
    text-align : center;
    max-width  : 74rem;
    margin     : 0 auto;
}

.s-booking .tpl-body { margin-inline : auto; }

.s-booking__actions { justify-content : center; }

.s-booking__meta {
    display         : flex;
    flex-wrap       : wrap;
    justify-content : center;
    gap             : var(--vspace-0_5) var(--vspace-1_5);
    margin          : var(--vspace-1_5) 0 0;
    padding         : var(--vspace-1_25) 0 0;
    border-top      : 1px solid var(--rule);
    list-style      : none;
    font-size       : 1.5rem;
    color           : var(--ink-soft);
}

.s-booking__meta li { padding-left : 0; }

/* ===================================================================
 * # CONTACT PAGE  (.s-reach section, .cform form)
 * Contact details on the left, the GHL request form in a card on the
 * right. `.s-contact-form` already exists in the inherited stylesheet —
 * hence these names. The grid uses areas so that on phones the order
 * becomes intro -> contact details -> FORM -> "what happens next",
 * keeping the form high on the page.
 * ------------------------------------------------------------------- */
.s-reach { position : relative; }

/* a soft brand wash behind the top of the page */
.s-reach::before {
    content        : "";
    position       : absolute;
    inset          : 0 0 auto 0;
    height         : 52rem;
    background     : radial-gradient(64rem 32rem at 88% 0%, rgba(8, 101, 153, .11), transparent 70%),
                     radial-gradient(44rem 26rem at 0% 6%, rgba(0, 38, 74, .06), transparent 70%);
    pointer-events : none;
}

.s-reach > .tpl-wrap { position : relative; }

.s-reach__grid {
    display               : grid;
    grid-template-columns : minmax(0, 1fr) minmax(0, 1.12fr);
    grid-template-areas   : "intro form"
                            "list  form"
                            "next  form";
    grid-template-rows    : auto auto 1fr;
    column-gap            : var(--vspace-3);
    row-gap               : var(--vspace-1_5);
    align-items           : start;
}

.s-reach__intro { grid-area : intro; }
.s-reach__list  { grid-area : list; }
.s-reach__next  { grid-area : next; }
.s-reach__form  { grid-area : form; }

.s-reach__title { color : var(--ink); margin : var(--vspace-0_5) 0 0; }   /* h1: explicit colour, see CLAUDE.md */
.s-reach__intro .tpl-lead { margin-top : var(--vspace-0_875); max-width : 52ch; }

.s-reach__list {
    list-style : none;
    margin     : 0;
    padding    : 0;
    display    : grid;
    gap        : var(--vspace-1);
}

.s-reach__item {
    display     : flex;
    gap         : 1.6rem;
    align-items : flex-start;
    padding-left: 0;
    margin      : 0;
}

.s-reach__icon {
    flex          : none;
    width         : 5.2rem;
    height        : 5.2rem;
    border-radius : var(--radius);
    background    : rgba(8, 101, 153, .1);
    display       : grid;
    place-items   : center;
}

.s-reach__icon svg {
    width           : 2.2rem;
    height          : 2.2rem;
    fill            : none;
    stroke          : var(--accent);
    stroke-width    : 1.8;
    stroke-linecap  : round;
    stroke-linejoin : round;
}

.s-reach__icon--fill svg { fill : var(--accent); stroke : none; }

.s-reach__label {
    font-size      : 1.25rem;
    font-weight    : 700;
    letter-spacing : .12em;
    text-transform : uppercase;
    color          : var(--ink-faint);
    margin         : .2rem 0 .4rem;
}

.s-reach__value {
    display     : block;
    font-size   : 1.9rem;
    font-weight : 700;
    line-height : 1.4;
    color       : var(--ink);
    margin      : 0;
}

a.s-reach__value:hover,
a.s-reach__value:focus-visible { color : var(--accent); }

.s-reach__meta {
    font-size   : 1.5rem;
    line-height : 1.5;
    color       : var(--ink-soft);
    margin      : .4rem 0 0;
}

.s-reach__next {
    background    : var(--surface);
    border        : 1px solid var(--rule);
    border-radius : var(--radius);
    padding       : var(--vspace-1_25);
}

.s-reach__next-title {
    font-family    : var(--font-2);
    font-size      : 1.3rem;
    font-weight    : 700;
    letter-spacing : .12em;
    text-transform : uppercase;
    color          : var(--accent);
    margin         : 0 0 var(--vspace-0_75);
}

.s-reach__steps {
    list-style    : none;
    counter-reset : step;
    margin        : 0;
    padding       : 0;
    display       : grid;
    gap           : var(--vspace-0_75);
}

.s-reach__steps li {
    counter-increment     : step;
    display               : grid;
    grid-template-columns : 2.8rem minmax(0, 1fr);
    gap                   : 1.2rem;
    align-items           : start;
    padding-left          : 0;
    margin                : 0;
    font-size             : 1.55rem;
    line-height           : 1.55;
    color                 : var(--ink-soft);
}

.s-reach__steps li::before {
    content       : counter(step);
    width         : 2.8rem;
    height        : 2.8rem;
    border-radius : var(--radius);
    background    : var(--ink);
    color         : #fff;
    display       : grid;
    place-items   : center;
    font-size     : 1.3rem;
    font-weight   : 700;
}

/* the form card, with a thin brand bar along its top edge */
.s-reach__form {
    position      : relative;
    overflow      : hidden;
    background    : var(--surface);
    border-radius : var(--radius);
    box-shadow    : var(--shadow-lg), 0 0 0 1px rgba(0, 38, 74, .06);
    padding       : var(--vspace-2) var(--vspace-1_75) var(--vspace-1_75);
    text-align    : center;
}

/* in-page anchors (e.g. /patients#technology) clear the fixed header */
.tpl-section[id] { scroll-margin-top : var(--header-height); }

/* "Book Now" in the hero jumps here; clear the fixed header */
.s-reach__form { scroll-margin-top : calc(var(--header-height) + 2.4rem); }

.s-reach__form::before {
    content    : "";
    position   : absolute;
    inset      : 0 0 auto 0;
    height     : 4px;
    background : linear-gradient(90deg, var(--ink), var(--accent));
}

.s-reach__badge {
    width         : 6.4rem;
    height        : 6.4rem;
    border-radius : var(--radius);
    background    : rgba(8, 101, 153, .1);
    display       : inline-grid;
    place-items   : center;
    margin-bottom : var(--vspace-0_75);
}

.s-reach__badge svg {
    width           : 3rem;
    height          : 3rem;
    fill            : none;
    stroke          : var(--accent);
    stroke-width    : 1.7;
    stroke-linecap  : round;
    stroke-linejoin : round;
}

.s-reach__form-title {
    font-family    : var(--font-2);
    font-size      : clamp(2.4rem, 2.4vw, 3rem);
    font-weight    : 700;
    line-height    : 1.15;
    letter-spacing : -.01em;
    color          : var(--ink);
    margin         : 0;
}

.s-reach__form-lead {
    font-size   : 1.6rem;
    line-height : 1.55;
    color       : var(--ink-soft);
    max-width   : 46ch;
    margin      : var(--vspace-0_5) auto 0;
}

.cform { margin-top : var(--vspace-1_5); text-align : left; }
.cform[hidden], .cform__done[hidden] { display : none; }

.cform__grid {
    display               : grid;
    grid-template-columns : repeat(2, minmax(0, 1fr));
    gap                   : 1.4rem;
}

.cform__field { margin : 0; }

.cform input[type="text"],
.cform input[type="tel"],
.cform input[type="email"] {
    width            : 100%;
    height           : 5.6rem;
    margin           : 0;
    padding          : 0 1.8rem;
    font-family      : var(--font-2);
    font-size        : 1.6rem;           /* 16px: stops iOS zooming on focus */
    line-height      : normal;
    color            : var(--ink);
    background-color : var(--surface);
    border           : 1px solid var(--rule-strong);
    border-radius    : var(--radius);
    box-shadow       : none;
    transition       : border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.cform input::placeholder { color : var(--ink-faint); opacity : 1; }

.cform input[type="text"]:focus,
.cform input[type="tel"]:focus,
.cform input[type="email"]:focus {
    color            : var(--ink);
    background-color : var(--surface);
    border-color     : var(--accent);
    box-shadow       : 0 0 0 3px rgba(8, 101, 153, .18);
    outline          : 0;
}

.cform input[aria-invalid="true"] {
    border-color : #B42318;
    box-shadow   : 0 0 0 3px rgba(180, 35, 24, .12);
}

.cform__consent {
    display               : grid;
    grid-template-columns : 1.8rem minmax(0, 1fr);
    gap                   : 1.2rem;
    align-items           : start;
    margin                : var(--vspace-1) 0 0;
    font-family           : var(--font-2);
    font-size             : 1.4rem;
    font-weight           : 400;
    line-height           : 1.55;
    letter-spacing        : 0;
    text-transform        : none;
    color                 : var(--ink-soft);
    cursor                : pointer;
}

.cform__consent input {
    width        : 1.8rem;
    height       : 1.8rem;
    margin       : .25rem 0 0;
    accent-color : var(--accent);
    cursor       : pointer;
}

.cform__legal {
    margin    : var(--vspace-1) 0 0;
    font-size : 1.4rem;
    color     : var(--ink-faint);
}

.cform__legal a {
    color                 : var(--accent);
    text-decoration       : underline;
    text-underline-offset : 2px;
}

/* a <button>, so it inherits the bare `button` rule's fixed height,
 * line-height and letter-spacing — neutralise them (see CLAUDE.md) */
.cform__submit {
    width           : 100%;
    height          : auto;
    min-height      : 0;
    margin          : var(--vspace-1_25) 0 0;
    justify-content : center;
    text-transform  : none;       /* the bare `button` rule uppercases and */
    letter-spacing  : normal;     /* tracks it .3em; no other button does  */
    cursor          : pointer;
}

.cform__submit[disabled] { opacity : .7; cursor : progress; }

.cform__status { margin : var(--vspace-0_75) 0 0; font-size : 1.45rem; line-height : 1.5; }
.cform__status:empty { margin : 0; }
.cform__status--error { color : #B42318; }

.cform__done { padding : var(--vspace-1) 0 0; }
.cform__done:focus { outline : none; }
.cform__done a { color : var(--accent); font-weight : 700; }

@media screen and (max-width: 1100px) {
    .s-reach__grid { column-gap : var(--vspace-2); }
}

@media screen and (max-width: 900px) {
    .s-reach__grid {
        grid-template-columns : minmax(0, 1fr);
        grid-template-areas   : "intro" "list" "form" "next";
        grid-template-rows    : none;
    }

    .s-reach__form { padding : var(--vspace-1_5) var(--vspace-1) var(--vspace-1_25); }
}

@media screen and (max-width: 560px) {
    .cform__grid { grid-template-columns : minmax(0, 1fr); }
}

/* the badge and title set their own display, which beats the bare
 * [hidden] attribute — so say it explicitly */
[data-form-intro][hidden] { display : none; }

/* ===================================================================
 * # SURVEY PAGE  (survey.html — the page every Book Now button opens)
 * Deliberately bare, like the reference funnel page: logo and a call
 * button, then the form. No site nav, no map, no footer. It reuses the
 * contact page's .cform and .s-reach__* pieces unchanged.
 * ------------------------------------------------------------------- */
.page-survey { background-color : var(--surface); }

.s-survey__bar { border-bottom : 1px solid var(--rule); }

.s-survey__bar-inner {
    display         : flex;
    align-items     : center;
    justify-content : space-between;
    gap             : var(--vspace-0_75);
    min-height      : 8.8rem;
}

.s-survey__logo { display : block; line-height : 0; }
.s-survey__logo img { width : 19rem; height : auto; max-width : 100%; margin : 0; }   /* inherited img margin-bottom: 32px pushed it off-centre */

.s-survey__call { flex : none; }

.s-survey {
    padding : var(--vspace-3) 0 var(--vspace-4);
}

.s-survey__inner {
    max-width  : 92rem;
    margin     : 0 auto;
    padding    : 0 var(--tpl-pad);
    text-align : center;
}

.s-survey__title { font-size : clamp(2.8rem, 3.2vw, 3.8rem); }
.s-survey__lead  { font-size : 1.7rem; max-width : 56ch; }

/* centred, not full width, as in the reference */
.s-survey .cform__submit {
    width        : auto;
    min-width    : 32rem;
    margin-left  : auto;
    margin-right : auto;
    display      : flex;
}

.s-survey .cform__status { text-align : center; }
.s-survey__back { margin : var(--vspace-1) 0 0; }

@media screen and (max-width: 560px) {
    .s-survey__bar-inner { min-height : 7.2rem; }
    .s-survey__logo img  { width : 15.5rem; }
    .s-survey__call-number { display : none; }   /* "Call Now" alone fits */
    .s-survey { padding-top : var(--vspace-2); }
    .s-survey .cform__submit { width : 100%; min-width : 0; }
}

/* --------------------------------------------------------------------
 * ## location map  (incl/map.html — every page except the survey)
 *
 * The rounded card straddles the join between the last section and the
 * navy footer: the band behind it is split half-and-half, so the top half
 * continues whatever the page ended on and the bottom half runs straight
 * into the footer. Most pages end on the closing CTA (--surface); the
 * legal pages end on their contact block (--canvas), which :has() picks
 * up. Without :has() those two pages show a thin white band instead —
 * harmless.
 * -------------------------------------------------------------------- */
.s-map {
    --map-top  : var(--surface);
    background : linear-gradient(to bottom, var(--map-top) 50%, var(--ink) 50%);
}

.s-content:has(> section:last-of-type:not(.tpl-section--surface):not(.tpl-section--ink)) + .s-map {
    --map-top : var(--canvas);
}

.s-map__frame {
    position      : relative;
    height        : clamp(30rem, 36vw, 46rem);
    border-radius : var(--radius);
    overflow      : hidden;
    background    : var(--canvas);     /* shows while the lazy frame loads */
    box-shadow    : var(--shadow-lg), 0 0 0 1px rgba(0, 38, 74, .06);
}

.s-map__frame iframe {
    display       : block;
    width         : 100%;
    height        : 100%;
    border        : 0;
    border-radius : inherit;           /* belt and braces for Safari's clip */
}

/* --------------------------------------------------------------------
 * ## footer
 * -------------------------------------------------------------------- */
.s-footer {
    background-color : var(--ink);
    color            : var(--canvas);
    padding          : var(--section-y) 0 var(--vspace-1_5);
}

.s-footer a { color : var(--canvas); }
.s-footer a:hover,
.s-footer a:focus-visible { color : var(--color-2-light); }

.s-footer__top,
.s-footer__bottom { max-width : var(--tpl-max); padding : 0 var(--tpl-pad); }

.s-footer__brand-logo img {
    width      : 200px;
    height     : auto;        /* the inherited rule fixes height: 5.5rem —
                               * with a fixed width too, the 986x184 logo
                               * was squeezed into 200x55 instead of 200x37 */
    max-width  : 100%;
}

.s-footer__tagline {
    font-size : 1.6rem;
    line-height : 1.55;
    color     : rgba(255, 255, 255, .74);
    max-width : 38ch;
    margin    : var(--vspace-0_875) 0 0;
}

.s-footer__address { font-style : normal; margin-top : var(--vspace-1); }

.s-footer__address p { margin : 0 0 .6rem; font-size : 1.6rem; }

.s-footer__phone {
    font-size   : 2.2rem;
    font-weight : 700;
    letter-spacing : -.01em;
}

.s-footer__hours {
    list-style : none;
    margin     : var(--vspace-1) 0;
    padding    : 0;
    max-width  : 34rem;
}

.s-footer__hours .hours-list__row,
.s-footer__hours .hours-list__row span { color : var(--canvas); }

.s-footer__hours .hours-list__row {
    display         : flex;
    justify-content : space-between;
    gap             : var(--vspace-0_5);
    padding         : .55rem 0;
    font-size       : 1.5rem;
    border-bottom   : 1px solid rgba(255, 255, 255, .12);
}

.s-footer__directions {
    display     : inline-flex;
    align-items : center;
    gap         : .8rem;
    margin-top  : var(--vspace-0_5);
    font-size   : 1.5rem;
}

.s-footer__directions svg { width : 1.8rem; height : 1.8rem; fill : currentColor; }

.s-footer__social {
    display    : flex;
    gap        : var(--vspace-0_5);
    list-style : none;
    margin     : var(--vspace-1_25) 0 0;
    padding    : 0;
}

.s-footer__social li { padding-left : 0; }

.s-footer__social a {
    display       : grid;
    place-items   : center;
    width         : 4.2rem;
    height        : 4.2rem;
    border        : 1px solid rgba(255, 255, 255, .22);
    border-radius : 50%;
    transition    : background-color .25s var(--ease), border-color .25s var(--ease),
                    transform .25s var(--ease);
}

.s-footer__social a:hover,
.s-footer__social a:focus-visible {
    background-color : var(--accent);
    border-color     : var(--accent);
    transform        : translateY(-2px);
}

.s-footer__social svg { width : 1.8rem; height : 1.8rem; fill : currentColor; }

.s-footer__links-col h6 {
    color          : #fff;
    font-size      : 1.35rem;
    letter-spacing : .1em;
    text-transform : uppercase;
    margin         : 0 0 var(--vspace-0_75);
}

.s-footer__links-col ul { list-style : none; margin : 0; padding : 0; }

.s-footer__links-col li {
    padding-left  : 0;
    margin-bottom : .7rem;
    font-size     : 1.55rem;
}

.s-footer__links-col a { color : rgba(255, 255, 255, .78); }

.s-footer__bottom {
    display         : flex;
    flex-wrap       : wrap;
    gap             : var(--vspace-0_5);
    justify-content : space-between;
    align-items     : center;
    margin-top      : var(--vspace-2_5);
    padding-top     : var(--vspace-1_25);
    border-top      : 1px solid rgba(255, 255, 255, .15);
    font-size       : 1.4rem;
    color           : rgba(255, 255, 255, .7);
}

.s-footer__legal { display : flex; gap : var(--vspace-1); }

/* --------------------------------------------------------------------
 * ## responsive
 * The header switches to the hamburger panel at 1400px (Mueller's
 * default); the page sections step down at 1100 / 900 / 700 / 560.
 * -------------------------------------------------------------------- */
@media screen and (max-width: 1100px) {
    /* Mueller paints the mobile nav panel --color-1-darker and assumes
     * light link text; this template's nav links are --ink, which on that
     * panel is ~1.3:1 — invisible. Repaint the panel instead. */
    .s-header__nav {
        background-color : var(--canvas);
        border-bottom    : 1px solid var(--rule);
    }

    .s-header__menu-links a { color : var(--ink); }

    .s-header__menu-links a::after { display : none; }

    .s-header__menu-links li { border-bottom : 1px solid var(--rule); }
    .s-header__menu-links li:last-child { border-bottom : none; }

    .s-header__cta {
        padding-top    : var(--vspace-1);
        gap            : var(--vspace-0_75);
        flex-direction : column;
        align-items    : stretch;
    }

    .s-header__cta .tpl-btn {
        width     : 100%;
        font-size : 1.6rem;
        padding   : 1.6rem 2rem;
    }
}

/* ---- mobile header bar and menu panel -------------------------------
 * 1. The logo. `.s-header__logo { transform: none }` above exists to drop
 *    Mueller's 4px desktop nudge, but it is unscoped, so it also cancelled
 *    the mobile translate(4rem, -50%). The logo sat at x=0 with its TOP
 *    edge on the bar's midline — flush left and sagging to the bottom.
 *    Now it sits on the page gutter and is centred in the bar, and the
 *    hamburger's lines end on the opposite gutter.
 * 2. The open menu. Its close "X" was painted white — Mueller assumed a
 *    dark panel, and this panel was repainted canvas for contrast — so it
 *    vanished. And the panel started ABOVE the bar (top -15px, 117px of
 *    padding) as one tall scroll box, so scrolled links slid underneath
 *    the logo, which has nothing behind it. The panel now starts below
 *    the bar, and the bar turns solid while the menu is open.
 * ------------------------------------------------------------------- */
@media screen and (max-width: 1100px) {
    .s-header__logo {
        left      : var(--tpl-pad);
        top       : 50%;
        transform : translateY(-50%);
    }

    .s-header__menu-toggle      { right : var(--tpl-pad); }
    .s-header__menu-toggle span { right : 0; }

    .s-header__menu-toggle.is-clicked span::before,
    .s-header__menu-toggle.is-clicked span::after { background-color : var(--ink); }

    .s-header__nav {
        top         : var(--header-height);
        padding-top : var(--vspace-1);
        max-height  : calc(100vh - var(--header-height));
        max-height  : calc(100dvh - var(--header-height));
    }

    .menu-is-open .s-header {
        background-color    : var(--canvas);
        border-bottom-color : var(--rule);
    }
}

/* ---- footer link groups on phones ------------------------------------
 * The grid already spaces the groups; an inherited margin-bottom (45px)
 * stacked on top of the grid gap and left 82px between groups. Links sat
 * on the page's 30px body line-height plus a 7px margin, 37px apart. */
@media screen and (max-width: 800px) {
    .s-footer__links-col { margin-bottom : 0; }
}

@media screen and (max-width: 700px) {
    .s-footer__links-grid    { row-gap : var(--vspace-1_25); }
    .s-footer__links-col h6  { margin-bottom : var(--vspace-0_5); }
    .s-footer__links-col li  { line-height : 1.6; margin-bottom : 0; }

    /* pad the link itself rather than spacing the rows, so the thumb
     * target fills the row (~30px) instead of just the 17px of text */
    .s-footer__links-col a   { display : inline-block; padding : .25rem 0; }

    /* the brand block had the same fault: margins stacking on margins —
     * logo->tagline 56px, directions->social icons 83px, icons->links 60px,
     * against 30px everywhere else in the block. One rhythm now. */
    .s-footer__brand-logo  { margin-bottom : 0; }
    .s-footer__tagline     { margin-top : var(--vspace-0_75); }
    .s-footer__hours       { margin-bottom : 0; }
    .s-footer__directions  { margin-top : var(--vspace-0_75); margin-bottom : 0; }
    .s-footer__social      { margin-top : var(--vspace-1); }
    .s-footer .s-footer__links-grid { margin-top : var(--vspace-1_5); }  /* beats the later <=1100px rule */
}

@media screen and (max-width: 1100px) {
    .s-trust__list { grid-template-columns : repeat(2, minmax(0, 1fr)); }

    .s-offer__item {
        grid-template-columns : 11rem minmax(0, 1fr) minmax(0, 1.35fr);
        row-gap               : var(--vspace-0_75);
        align-items           : start;
    }

    .s-offer__item .tpl-link { grid-column : 2 / -1; }

    .s-why__grid,
    .s-team__grid,
    .s-voices__list { grid-template-columns : repeat(2, minmax(0, 1fr)); }
}

@media screen and (max-width: 900px) {
    .s-hero {
        grid-template-columns : minmax(0, 1fr);
        min-height            : 0;
    }

    .s-hero__copy {
        padding : var(--vspace-2_5) var(--tpl-pad) var(--vspace-3);
        order   : 2;
    }

    .s-hero__media {
        order        : 1;
        min-height   : 0;
        aspect-ratio : 5 / 4;
    }

    .s-hero__media img { position : static; }

    .s-hero__media::after {
        background : linear-gradient(0deg, var(--canvas) 0%, rgba(244, 246, 247, 0) 18%);
    }

    .s-hero__title { max-width : none; }

    .s-story__media,
    .s-practice__grid,
    .s-doctor__inner { grid-template-columns : minmax(0, 1fr); }

    .s-practice__grid li:first-child { grid-column : auto; }
    .s-practice__grid li:first-child img { aspect-ratio : 16 / 9; }

    .s-doctor__portrait { max-width : 44rem; }

    .s-story__media img { max-height : 40rem; }
}

@media screen and (max-width: 700px) {
    .s-trust__list { grid-template-columns : minmax(0, 1fr); gap : var(--vspace-0_75); }

    .s-offer__item {
        grid-template-columns : 8rem minmax(0, 1fr);
        gap                   : var(--vspace-0_75) var(--vspace-1);
    }

    .s-offer__item .s-offer__desc,
    .s-offer__item .tpl-link { grid-column : 1 / -1; }

    .s-offer__title { max-width : none; }

    .s-why__grid,
    .s-team__grid,
    .s-voices__list { grid-template-columns : minmax(0, 1fr); }

    .s-hero__proof { gap : var(--vspace-1); }
    .s-hero__proof dd { max-width : 22ch; }

    .tpl-actions .tpl-btn { flex : 1 1 100%; }

    .s-footer__bottom { justify-content : flex-start; }
}

@media screen and (max-width: 560px) {
    .s-hero__media { aspect-ratio : 4 / 3; }
    .faq-item__answer p { padding-right : 0; }
    .s-booking__meta { gap : var(--vspace-0_375) var(--vspace-1); }
}

/* keep hyphenated product names (All-on-4, All-on-X) intact */
.u-nowrap { white-space : nowrap; }


/* ===================================================================
 * # HEADER NAVIGATION — dropdowns & mega menu
 *
 * Sits after the home treatment so it wins over the base
 * .s-header__submenu rules inherited from Mueller, which paint a white
 * panel with dark-on-white links and don't know about columns.
 * ------------------------------------------------------------------- */

.s-header__menu-links > li.has-children > a {
    display     : inline-flex;
    align-items : center;
    gap         : .6rem;
}

/* caret on items that open a panel */
.s-header__menu-links > li.has-children > a::before {
    content       : "";
    order         : 2;
    width         : .5rem;
    height        : .5rem;
    border-right  : 1.5px solid currentColor;
    border-bottom : 1.5px solid currentColor;
    transform     : rotate(45deg) translateY(-1px);
    transition    : transform .25s var(--ease);
    flex-shrink   : 0;
}

.s-header__menu-links > li.has-children:hover > a::before,
.s-header__menu-links > li.has-children:focus-within > a::before {
    transform : rotate(-135deg) translateY(-2px);
}

/* ------------------------------------------------------------------
 * ## single-column dropdown
 * ------------------------------------------------------------------ */
.s-header__submenu {
    background-color : var(--surface);
    border           : 1px solid var(--rule);
    border-radius    : var(--radius);
    box-shadow       : var(--shadow-lg);
    padding          : var(--vspace-0_75) 0;
    min-width        : 28rem;
    max-height       : none;
    overflow-y       : visible;
    transform        : translateY(10px);
    transition       : opacity .22s var(--ease), transform .22s var(--ease),
                       visibility .22s var(--ease);
}

.s-header__submenu a {
    font-family : var(--font-2);
    font-size   : 1.5rem;
    line-height : 1.35;
    color       : var(--ink-soft);
    padding     : 1rem var(--vspace-1);
    white-space : nowrap;
    transition  : color .18s var(--ease), background-color .18s var(--ease);
}

.s-header__submenu a:hover,
.s-header__submenu a:focus-visible {
    color            : var(--ink);
    background-color : var(--canvas);
}

/* the base rules use a plain descendant selector, so re-assert ours */
.s-header__menu-links .s-header__submenu a::after { content : none; }

/* ------------------------------------------------------------------
 * ## mega menu
 * ------------------------------------------------------------------ */
.s-header__mega {
    display               : grid;
    grid-template-columns : repeat(5, minmax(15rem, 1fr));
    gap                   : var(--vspace-0_5) var(--vspace-1_25);
    padding               : var(--vspace-1_25) var(--vspace-1_5);
    min-width             : 0;
    width                 : max-content;
    max-width             : min(112rem, calc(100vw - 4rem));
    /* anchor to the nav rather than the item, so a 4-column panel near the
     * right edge doesn't overflow the viewport */
    left                  : 50%;
    transform             : translate(-50%, 10px);
}

.s-header__menu-links li.has-mega:hover > .s-header__mega,
.s-header__menu-links li.has-mega:focus-within > .s-header__mega {
    transform : translate(-50%, 0);
}

.s-header__mega-col h6 {
    font-family    : var(--font-2);
    font-size      : 1.25rem;
    font-weight    : 700;
    letter-spacing : .09em;
    text-transform : uppercase;
    color          : var(--accent);
    margin         : 0 0 .8rem;
    padding        : 0 1rem;
}

.s-header__mega-col ul {
    list-style : none;
    margin     : 0;
    padding    : 0;
}

.s-header__mega-col li { padding-left : 0; }

.s-header__mega-col a {
    display     : block;
    font-size   : 1.45rem;
    padding     : .7rem 1rem;
    border-radius : var(--radius);
    white-space : normal;
}

/* ------------------------------------------------------------------
 * ## mobile panel (header breakpoint is 1400px)
 * ------------------------------------------------------------------ */
@media screen and (max-width: 1100px) {
    .s-header__menu-links > li.has-children > a::before { display : none; }

    /* Mueller flattens submenus inline on mobile and colours them for a
     * dark panel; this panel is canvas, so re-colour and re-space them. */
    .s-header__submenu,
    .s-header__mega {
        display          : block;
        position         : static;
        transform        : none;
        width            : auto;
        max-width        : none;
        min-width        : 0;
        background-color : transparent;
        border           : 0;
        border-radius    : 0;
        box-shadow       : none;
        padding          : 0 0 var(--vspace-0_5) var(--vspace-0_75);
        opacity          : 1;
        visibility       : visible;
    }

    .s-header__submenu a,
    .s-header__submenu a:hover,
    .s-header__submenu a:focus-visible,
    .s-header__mega-col a {
        color            : var(--ink-soft);
        background-color : transparent;
        padding          : .7rem 0;
        white-space      : normal;
    }

    .s-header__submenu a:hover,
    .s-header__submenu a:focus-visible,
    .s-header__mega-col a:hover,
    .s-header__mega-col a:focus-visible { color : var(--accent); }

    .s-header__mega-col { margin-bottom : var(--vspace-0_75); }

    .s-header__mega-col h6 {
        padding    : 0;
        margin-top : var(--vspace-0_5);
    }

    .s-header__submenu li { border-bottom : none; }
}


/* ===================================================================
 * # FOOTER LINK COLUMNS
 * Five columns from the site map; collapses to two and then one.
 * ------------------------------------------------------------------- */
.s-footer__links-grid {
    display               : grid;
    grid-template-columns : repeat(5, minmax(0, 1fr));
    gap                   : var(--vspace-1_25) var(--vspace-1);
}

@media screen and (max-width: 1400px) {
    .s-footer__links-grid { grid-template-columns : repeat(3, minmax(0, 1fr)); }
}

@media screen and (max-width: 1100px) {
    .s-footer__links-grid { margin-top : var(--vspace-2); }
}

@media screen and (max-width: 700px) {
    .s-footer__links-grid { grid-template-columns : repeat(2, minmax(0, 1fr)); }
}

@media screen and (max-width: 460px) {
    .s-footer__links-grid { grid-template-columns : minmax(0, 1fr); }
}


/* ===================================================================
 * # INTERIOR PAGE HEADER
 * Navy band at the top of every page that isn't the home page.
 * Named .s-pagehead, not .s-page-header — that one already exists in the
 * inherited stylesheet.
 * ------------------------------------------------------------------- */
.s-pagehead {
    background-color : var(--ink);
    color            : var(--canvas);
    padding          : var(--vspace-2_5) 0 var(--vspace-3);
}

.s-pagehead__title {
    /* explicit: the inherited stylesheet colours h1 directly, which beats
     * `color` inherited from .s-pagehead and rendered this black on navy
     * at 1.38:1 */
    color          : var(--canvas);
    font-family    : var(--font-2);
    font-size      : clamp(3.2rem, 4.2vw, 5.4rem);
    font-weight    : 700;
    line-height    : 1;
    letter-spacing : -.03em;
    margin         : var(--vspace-0_5) 0 0;
    max-width      : 20ch;
    text-wrap      : balance;
}

.s-pagehead .tpl-eyebrow { color : rgba(255, 255, 255, .62); }

.s-pagehead__meta {
    margin      : var(--vspace-0_875) 0 0;
    font-size   : 1.5rem;
    color       : rgba(255, 255, 255, .72);
}

/* breadcrumbs */
.tpl-crumbs {
    display    : flex;
    flex-wrap  : wrap;
    align-items: center;
    gap        : .6rem;
    list-style : none;
    margin     : 0 0 var(--vspace-1);
    padding    : 0;
    font-size  : 1.4rem;
    color      : rgba(255, 255, 255, .62);
}

.tpl-crumbs li { padding-left : 0; display : flex; align-items : center; gap : .6rem; }

.tpl-crumbs li + li::before {
    content : "/";
    color   : rgba(255, 255, 255, .38);
}

.tpl-crumbs a { color : rgba(255, 255, 255, .82); }
.tpl-crumbs a:hover,
.tpl-crumbs a:focus-visible { color : #fff; text-decoration : underline; text-underline-offset : .35rem; }
.tpl-crumbs [aria-current="page"] { color : #fff; }


/* ===================================================================
 * # DOCUMENT PAGES
 * Long-form prose with a sticky contents rail — privacy policy, terms,
 * accessibility statement, HIPAA notice and anything else of that shape.
 * The rail is built from the page's own <h2>s by assets/js/doc-toc.js,
 * so duplicating a page never means hand-maintaining a contents list.
 * ------------------------------------------------------------------- */
.s-doc { padding : var(--section-y) 0; }

.s-doc__inner {
    display               : grid;
    grid-template-columns : minmax(0, 1fr) minmax(0, 2.9fr);
    gap                   : clamp(3rem, 5vw, 7rem);
    align-items           : start;
}

/* ---- contents rail ---- */
.s-doc__toc {
    position : sticky;
    top      : calc(var(--header-height) + 2.4rem);
}

.s-doc__toc h2 {
    font-family    : var(--font-2);
    font-size      : 1.25rem;
    font-weight    : 700;
    letter-spacing : .1em;
    text-transform : uppercase;
    color          : var(--ink-faint);
    margin         : 0 0 var(--vspace-0_75);
}

.s-doc__toc ol {
    list-style : none;
    margin     : 0;
    padding    : 0;
    counter-reset : toc;
}

.s-doc__toc li { padding-left : 0; margin-bottom : .2rem; }

.s-doc__toc a {
    display       : block;
    font-size     : 1.5rem;
    line-height   : 1.35;
    color         : var(--ink-soft);
    padding       : .7rem 0 .7rem 1.2rem;
    border-left   : 2px solid var(--rule);
    transition    : color .2s var(--ease), border-color .2s var(--ease);
}

.s-doc__toc a:hover,
.s-doc__toc a:focus-visible { color : var(--ink); border-left-color : var(--rule-strong); }

.s-doc__toc a.is-active {
    color             : var(--ink);
    font-weight       : 700;
    border-left-color : var(--accent);
}

/* ---- prose ---- */
.doc-prose {
    font-family : var(--font-2);
    font-size   : 1.7rem;
    line-height : 1.65;
    color       : var(--ink-soft);
    max-width   : 72ch;
}

.doc-prose > *:first-child { margin-top : 0; }

.doc-prose h2 {
    font-size      : clamp(2.2rem, 2.3vw, 2.9rem);
    font-weight    : 700;
    line-height    : 1.15;
    letter-spacing : -.02em;
    color          : var(--ink);
    /* clears the fixed header when jumped to from the contents rail */
    scroll-margin-top : calc(var(--header-height) + 2rem);
    margin         : var(--vspace-2) 0 var(--vspace-0_75);
    padding-top    : var(--vspace-1);
    border-top     : 1px solid var(--rule);
}

.doc-prose h2:first-child { margin-top : 0; padding-top : 0; border-top : 0; }

.doc-prose h3 {
    font-size      : 1.95rem;
    font-weight    : 700;
    line-height    : 1.3;
    color          : var(--ink);
    margin         : var(--vspace-1_25) 0 var(--vspace-0_5);
}

.doc-prose p { margin : 0 0 var(--vspace-0_875); }

.doc-prose ul,
.doc-prose ol { margin : 0 0 var(--vspace-0_875); padding-left : 2.2rem; }

.doc-prose li { padding-left : .4rem; margin-bottom : .6rem; }

.doc-prose a {
    color                 : var(--accent);
    text-decoration       : underline;
    text-underline-offset : .35rem;
}

.doc-prose a:hover,
.doc-prose a:focus-visible { color : var(--ink); }

.doc-prose strong { color : var(--ink); font-weight : 700; }

.doc-prose address {
    font-style       : normal;
    background-color : var(--canvas);
    border           : 1px solid var(--rule);
    border-radius    : var(--radius);
    padding          : var(--vspace-1);
    margin           : var(--vspace-1) 0;
}

.tpl-section--surface .doc-prose address { background-color : var(--surface); }

/* an unmissable banner for copy that still needs sign-off */
.doc-note {
    border-left      : 3px solid var(--accent);
    background-color : rgba(8, 101, 153, .07);
    border-radius    : 0 var(--radius) var(--radius) 0;
    padding          : var(--vspace-1) var(--vspace-1_25);
    margin           : 0 0 var(--vspace-1_5);
    font-size        : 1.6rem;
    line-height      : 1.55;
    color            : var(--ink);
}

.doc-note strong { display : block; margin-bottom : .4rem; }

/* ---- closing contact block ---- */
.s-doc-contact__inner {
    display               : grid;
    grid-template-columns : minmax(0, 1fr) auto;
    gap                   : var(--vspace-1_5);
    align-items           : center;
}

@media screen and (max-width: 900px) {
    .s-doc__inner { grid-template-columns : minmax(0, 1fr); }

    /* the rail becomes a plain list above the prose */
    .s-doc__toc { position : static; }

    .s-doc__toc ol {
        display               : grid;
        grid-template-columns : repeat(auto-fit, minmax(min(22rem, 100%), 1fr));
        gap                   : 0 var(--vspace-1);
    }

    .s-doc-contact__inner { grid-template-columns : minmax(0, 1fr); }
}


/* ===================================================================
 * # INTERIOR CONTENT BLOCKS
 *
 * Used by the About-group pages (about, doctors, team, reviews,
 * smile-gallery) via _about-template.html.
 *
 * These pages deliberately REUSE the home page's blocks where the shape
 * is the same — `.s-why__grid` for value cards, `.s-team__grid` for
 * people cards, `.s-voices__list` for quotes. Only what genuinely has no
 * equivalent is defined here. Before adding a block, check whether one of
 * those already fits.
 * ------------------------------------------------------------------- */

/* ---- lede: the opening statement under a page header ----
 * The measure is capped on the CHILDREN, not the container. Putting
 * max-width on the container itself combined with .tpl-wrap's
 * `margin: 0 auto` and the whole block centred — the copy started ~300px
 * in while every heading on the page started at the wrap edge. Keep the
 * cap on the children. */
.s-lede__inner > * { max-width : 84rem; }

/* consecutive paragraphs need a gap: .tpl-body sets margin: 0 */
.s-lede__inner > p + p,
.s-lede__inner > .tpl-body + .tpl-body { margin-top : var(--vspace-0_875); }

/* prose following a section header needs room; the grids that usually
 * follow a .tpl-band carry their own margin, a bare lede does not */
.tpl-band + .s-lede__inner { margin-top : var(--vspace-1_25); }

.s-lede__statement {
    font-family    : var(--font-2);
    font-size      : clamp(2.2rem, 2.6vw, 3.2rem);
    font-weight    : 700;
    line-height    : 1.2;
    letter-spacing : -.02em;
    color          : var(--ink);
    margin         : 0 0 var(--vspace-1);
    text-wrap      : balance;
}

/* ---- profile: one person, portrait beside biography ---- */
.s-profile {
    display               : grid;
    grid-template-columns : minmax(0, .74fr) minmax(0, 1.26fr);
    gap                   : clamp(2.5rem, 4.5vw, 6rem);
    align-items           : start;
    padding               : var(--vspace-2_5) 0;
    border-top            : 1px solid var(--rule);
}

.s-profile:first-of-type { border-top : 0; padding-top : 0; }

/* every other profile puts the portrait on the right */
.s-profile--flip .s-profile__media { order : 2; }

/* no verified portrait for this person — see CLAUDE.md on why two of the
 * three dentists have none */
.s-profile--text { grid-template-columns : minmax(0, 1fr); }

.s-profile__media {
    margin        : 0;
    border-radius : var(--radius);
    overflow      : hidden;
    box-shadow    : var(--shadow-lg);
}

.s-profile__media img {
    width        : 100%;
    display      : block;
    aspect-ratio : 4 / 5;
    object-fit   : cover;
    object-position : 50% 22%;
}

.s-profile__name {
    font-family    : var(--font-2);
    font-size      : clamp(2.4rem, 2.7vw, 3.4rem);
    font-weight    : 700;
    line-height    : 1.05;
    letter-spacing : -.02em;
    color          : var(--ink);
    margin         : 0;
}

.s-profile__role {
    display        : block;
    font-size      : 1.35rem;
    font-weight    : 700;
    letter-spacing : .08em;
    text-transform : uppercase;
    color          : var(--accent);
    margin         : 0 0 var(--vspace-0_5);
}

.s-profile__body { margin-top : var(--vspace-0_875); }
.s-profile__body p { margin : 0 0 var(--vspace-0_75); }
.s-profile__body p:last-child { margin-bottom : 0; }

/* ---- gallery: before / after pairs ---- */
.s-gallery__grid {
    display               : grid;
    grid-template-columns : repeat(auto-fit, minmax(min(30rem, 100%), 1fr));
    gap                   : var(--vspace-1);
    margin                : var(--vspace-2) 0 0;
    padding               : 0;
    list-style            : none;
}

/* A LONE case must not stretch. With several cases auto-fit makes ~456px
 * tracks and the before/after shots land at ~195px — comfortably inside
 * the 258-275px these photographs actually are. With ONE case the single
 * track takes the whole row, the shots rendered at 439px, and the only
 * full-resolution photographs the practice has were displayed at 1.7x
 * their real size. There is no larger original, so the fix is to cap the
 * card. At 46rem this is a no-op wherever the grid already makes tracks
 * that size or smaller. */
.s-gallery__case { max-width : 46rem; }

.s-gallery__case {
    padding-left     : 0;
    background-color : var(--surface);
    border           : 1px solid var(--rule);
    border-radius    : var(--radius);
    padding          : var(--vspace-0_75);
    transition       : transform .3s var(--ease), box-shadow .3s var(--ease);
}

.s-gallery__case:hover { transform : translateY(-4px); box-shadow : var(--shadow); }

.s-gallery__pair {
    display               : grid;
    grid-template-columns : repeat(2, minmax(0, 1fr));
    gap                   : var(--vspace-0_5);
}

.s-gallery__shot { margin : 0; }

.s-gallery__shot img {
    width         : 100%;
    display       : block;
    aspect-ratio  : 3 / 2;
    object-fit    : cover;
    border-radius : var(--radius);
}

.s-gallery__shot figcaption {
    font-family    : var(--font-2);
    font-size      : 1.25rem;
    font-weight    : 700;
    letter-spacing : .1em;
    text-transform : uppercase;
    color          : var(--ink-faint);
    margin-top     : .7rem;
}

.s-gallery__case-label {
    font-size   : 1.5rem;
    color       : var(--ink-soft);
    margin      : var(--vspace-0_75) 0 0;
    padding-top : var(--vspace-0_5);
    border-top  : 1px solid var(--rule);
}

/* people cards carry longer biographies here than on the home page */
.s-people .s-team__card p + p { margin-top : var(--vspace-0_625); }
.s-people .s-team__card { display : flex; flex-direction : column; }

@media screen and (max-width: 900px) {
    .s-profile { grid-template-columns : minmax(0, 1fr); }
    .s-profile--flip .s-profile__media { order : 0; }
    .s-profile__media { max-width : 42rem; }
}


/* ===================================================================
 * # INTERIOR STRUCTURE BLOCKS
 *
 * Added to give the About-group pages real shape rather than a lede and
 * one grid. All reusable — check this list before writing anything new.
 *
 *   .s-facts   figures strip (navy band)
 *   .s-steps   numbered process list
 *   .s-chips   pill list: areas served, tags
 *   .s-next    "keep reading" cards linking to sibling pages
 *   .s-creds   affiliations / credentials row
 * ------------------------------------------------------------------- */

/* ---- figures strip ---- */
.s-facts {
    background-color : var(--ink);
    color            : var(--canvas);
    padding          : var(--vspace-2_5) 0;
}

.s-facts__list {
    display               : grid;
    grid-template-columns : repeat(4, minmax(0, 1fr));
    gap                   : var(--vspace-1_5);
    margin                : 0;
    padding               : 0;
    list-style            : none;
}

.s-facts__list li { padding-left : 0; }

.s-facts dt {
    font-size      : clamp(2.8rem, 3.2vw, 4rem);
    font-weight    : 700;
    line-height    : 1;
    letter-spacing : -.03em;
    color          : #fff;
}

.s-facts dd {
    margin      : var(--vspace-0_5) 0 0;
    font-size   : 1.5rem;
    line-height : 1.4;
    color       : rgba(255, 255, 255, .76);
    max-width   : 26ch;
}

/* ---- numbered process ---- */
.s-steps__list {
    display               : grid;
    grid-template-columns : repeat(auto-fit, minmax(min(24rem, 100%), 1fr));
    gap                   : var(--vspace-1);
    margin                : var(--vspace-2) 0 0;
    padding               : 0;
    list-style            : none;
    counter-reset         : step;
}

.s-steps__item {
    padding-left : 0;
    counter-increment : step;
    border-top   : 2px solid var(--rule-strong);
    padding-top  : var(--vspace-1);
}

.s-steps__item::before {
    content        : counter(step, decimal-leading-zero);
    display        : block;
    font-family    : var(--font-2);
    font-size      : 1.4rem;
    font-weight    : 700;
    letter-spacing : .1em;
    color          : var(--accent);
    margin-bottom  : var(--vspace-0_5);
}

.s-steps__title {
    font-size      : 1.95rem;
    font-weight    : 700;
    line-height    : 1.25;
    letter-spacing : -.01em;
    color          : var(--ink);
    margin         : 0 0 .7rem;
}

.s-steps__item p { font-size : 1.55rem; line-height : 1.55; color : var(--ink-soft); margin : 0; }

/* ---- pill list ---- */
.s-chips {
    display    : flex;
    flex-wrap  : wrap;
    gap        : .8rem;
    list-style : none;
    margin     : var(--vspace-1_25) 0 0;
    padding    : 0;
}

.s-chips li {
    padding-left     : 0;
    font-size        : 1.5rem;
    color            : var(--ink-soft);
    border           : 1px solid var(--rule);
    border-radius    : var(--radius);
    padding          : .8rem 1.8rem;
    background-color : var(--surface);
}

.tpl-section--surface .s-chips li { background-color : var(--canvas); }

/* ---- affiliations row ---- */
.s-creds__list {
    display               : grid;
    grid-template-columns : repeat(auto-fit, minmax(min(26rem, 100%), 1fr));
    gap                   : var(--vspace-1);
    margin                : var(--vspace-1_5) 0 0;
    padding               : 0;
    list-style            : none;
}

.s-creds__list li {
    padding-left : 0;
    display      : flex;
    gap          : 1.2rem;
    align-items  : flex-start;
    font-size    : 1.6rem;
    line-height  : 1.5;
    color        : var(--ink-soft);
}

.s-creds__list svg {
    width       : 2.2rem;
    height      : 2.2rem;
    flex-shrink : 0;
    margin-top  : .15em;
    fill        : none;
    stroke      : var(--accent);
    stroke-width: 1.8;
    stroke-linecap  : round;
    stroke-linejoin : round;
}

/* ---- keep reading ---- */
.s-next__list {
    display               : grid;
    grid-template-columns : repeat(auto-fit, minmax(min(28rem, 100%), 1fr));
    gap                   : var(--vspace-0_75);
    margin                : var(--vspace-2) 0 0;
    padding               : 0;
    list-style            : none;
}

/* Four cards: auto-fit gives 4 at 1280, but 3+1 at 1024 — one card
 * orphaned on its own row. A four-card list steps 4 -> 2+2 -> 1 instead.
 * Scoped, because the base rule serves every three-card "related" list. */
.s-next__list--four { grid-template-columns : repeat(4, minmax(0, 1fr)); }

@media screen and (max-width: 1100px) {
    .s-next__list--four { grid-template-columns : repeat(2, minmax(0, 1fr)); }
}

@media screen and (max-width: 560px) {
    .s-next__list--four { grid-template-columns : minmax(0, 1fr); }
}

.s-next__card {
    padding-left     : 0;
    background-color : var(--surface);
    border           : 1px solid var(--rule);
    border-radius    : var(--radius);
    transition       : transform .3s var(--ease), box-shadow .3s var(--ease),
                       border-color .3s var(--ease);
}

.tpl-section--surface .s-next__card { background-color : var(--canvas); }

.s-next__card:hover,
.s-next__card:focus-within {
    transform    : translateY(-4px);
    box-shadow   : var(--shadow);
    border-color : transparent;
}

.s-next__card a {
    display         : block;
    padding         : var(--vspace-1_25);
    color           : var(--ink);
    text-decoration : none;
}

.s-next__label {
    display        : block;
    font-size      : 1.3rem;
    font-weight    : 700;
    letter-spacing : .09em;
    text-transform : uppercase;
    color          : var(--accent);
    margin-bottom  : var(--vspace-0_5);
}

.s-next__title {
    font-size      : 2.1rem;
    font-weight    : 700;
    line-height    : 1.2;
    letter-spacing : -.01em;
    margin         : 0 0 .7rem;
}

.s-next__card p { font-size : 1.55rem; line-height : 1.5; color : var(--ink-soft); margin : 0; }

@media screen and (max-width: 1100px) {
    .s-facts__list { grid-template-columns : repeat(2, minmax(0, 1fr)); }
}

@media screen and (max-width: 560px) {
    .s-facts__list { grid-template-columns : minmax(0, 1fr); gap : var(--vspace-1); }
}


/* ===================================================================
 * # SERVICE PAGE BLOCKS
 *
 * Used by _service-template.html. As with the About group, these pages
 * reuse what already exists — .s-facts, .s-steps, .s-why__grid,
 * .s-next, .s-chips, .faq-item — and only what has no equivalent is
 * defined here.
 * ------------------------------------------------------------------- */

/* ---- overview: copy beside a supporting photograph ---- */
.s-svc__overview {
    display               : grid;
    grid-template-columns : minmax(0, 1.05fr) minmax(0, .95fr);
    gap                   : clamp(2.5rem, 5vw, 6.5rem);
    align-items           : center;
}

.s-svc__media {
    margin        : 0;
    border-radius : var(--radius);
    overflow      : hidden;
    box-shadow    : var(--shadow-lg);
}

.s-svc__media img {
    width        : 100%;
    display      : block;
    aspect-ratio : 4 / 3;
    object-fit   : cover;
}

.s-svc__copy > * + * { margin-top : var(--vspace-0_875); }

/* ---- checklist: signs, symptoms, who it helps ---- */
.s-check__list {
    display               : grid;
    grid-template-columns : repeat(auto-fit, minmax(min(27rem, 100%), 1fr));
    gap                   : var(--vspace-0_75);
    margin                : var(--vspace-2) 0 0;
    padding               : 0;
    list-style            : none;
}

.s-check__item {
    padding-left     : 0;
    display          : flex;
    gap              : 1.4rem;
    align-items      : flex-start;
    background-color : var(--surface);
    border           : 1px solid var(--rule);
    border-radius    : var(--radius);
    padding          : var(--vspace-1);
    transition       : transform .3s var(--ease), box-shadow .3s var(--ease);
}

.tpl-section--surface .s-check__item { background-color : var(--canvas); }

.s-check__item:hover { transform : translateY(-3px); box-shadow : var(--shadow-sm); }

.s-check__item::before {
    content       : "";
    flex-shrink   : 0;
    width         : 1.7rem;
    height        : .95rem;
    margin-top    : .45em;
    border-left   : 2px solid var(--accent);
    border-bottom : 2px solid var(--accent);
    transform     : rotate(-45deg);
}

.s-check__title {
    font-size      : 1.8rem;
    font-weight    : 700;
    line-height    : 1.25;
    letter-spacing : -.01em;
    color          : var(--ink);
    margin         : 0 0 .5rem;
}

.s-check__item p { font-size : 1.55rem; line-height : 1.5; color : var(--ink-soft); margin : 0; }

/* ---- treatment list: what we actually do ---- */
.s-treat__list {
    margin     : var(--vspace-2) 0 0;
    padding    : 0;
    list-style : none;
    border-top : 1px solid var(--rule);
}

.s-treat__item {
    display               : grid;
    grid-template-columns : minmax(0, 1fr) minmax(0, 1.75fr);
    gap                   : var(--vspace-1) var(--vspace-2);
    align-items           : start;
    padding               : var(--vspace-1_25) 1.6rem;
    margin                : 0 -1.6rem;
    border-bottom         : 1px solid var(--rule);
    border-radius         : var(--radius);
    padding-left          : 1.6rem;
    transition            : background-color .3s var(--ease);
}

.s-treat__item:hover { background-color : var(--surface); }
.tpl-section--surface .s-treat__item:hover { background-color : var(--canvas); }

.s-treat__name {
    font-family    : var(--font-2);
    font-size      : clamp(1.9rem, 1.9vw, 2.3rem);
    font-weight    : 700;
    line-height    : 1.2;
    letter-spacing : -.01em;
    color          : var(--ink);
    margin         : 0;
}

.s-treat__item p { font-size : 1.6rem; line-height : 1.55; color : var(--ink-soft); margin : 0; }

/* ---- an aside for context the patient should not miss ---- */
.s-svc__note {
    border-left      : 3px solid var(--accent);
    background-color : rgba(8, 101, 153, .07);
    border-radius    : 0 var(--radius) var(--radius) 0;
    padding          : var(--vspace-1) var(--vspace-1_25);
    margin           : var(--vspace-1_5) 0 0;
    font-size        : 1.6rem;
    line-height      : 1.55;
    color            : var(--ink);
    max-width        : 84rem;
}

.s-svc__note strong { display : block; margin-bottom : .4rem; }

@media screen and (max-width: 900px) {
    .s-svc__overview { grid-template-columns : minmax(0, 1fr); }
    .s-svc__media { order : -1; max-width : 52rem; }
    .s-treat__item { grid-template-columns : minmax(0, 1fr); gap : var(--vspace-0_5); }
}


/* ---- call to action inside the navy page header ----
 * High-visibility placement: above the fold on every service page.
 * .s-pagehead is not a .tpl-section--ink, so the button colours that
 * band sets do not apply here — they are restated explicitly. */
.s-pagehead__actions {
    display   : flex;
    flex-wrap : wrap;
    gap       : 1.2rem;
    margin    : var(--vspace-1_25) 0 0;
}

.s-pagehead .tpl-btn {
    background-color : var(--canvas);
    border-color     : var(--canvas);
    color            : var(--ink);
}

.s-pagehead .tpl-btn:hover,
.s-pagehead .tpl-btn:focus-visible {
    background-color : var(--accent);
    border-color     : var(--accent);
    color            : #fff;
}

.s-pagehead .tpl-btn--ghost {
    background-color : transparent;
    border-color     : rgba(255, 255, 255, .45);
    color            : var(--canvas);
}

.s-pagehead .tpl-btn--ghost:hover,
.s-pagehead .tpl-btn--ghost:focus-visible {
    background-color : var(--canvas);
    border-color     : var(--canvas);
    color            : var(--ink);
}

@media screen and (max-width: 560px) {
    .s-pagehead__actions .tpl-btn { flex : 1 1 100%; }
}


/* ---- the join between two sections on the same background ----
 * Every .tpl-section has --section-y top AND bottom, so two in a row
 * stack into ~240px of empty canvas at 1440. Where the background
 * changes (--surface or --ink) that reads as a deliberate band; where it
 * does not, it just reads as a hole — which is exactly how the FAQ
 * section looked, following the related-pages cards on the same canvas.
 * Halve the join when neither side changes colour. */
.tpl-section:not(.tpl-section--surface):not(.tpl-section--ink)
  + .tpl-section:not(.tpl-section--surface):not(.tpl-section--ink) {
    padding-top : calc(var(--section-y) * .5);
}

/* the FAQ list sits under a real heading now, so it no longer needs to
 * carry the spacing on its own */
.s-questions__list { margin-top : var(--vspace-1_25); }
