/* =======================================================
   GRAF WEALTH ADVISORY
   Minimal 3-colour design — white · black · navy
   ======================================================= */

/* --------------- Reset --------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --------------- Variables --------------- */
:root {
    --black:     #0d0d0d;
    --white:     #ffffff;
    --accent:    #0a2540;   /* navy — single highlight colour */
    --red:       #D40000;   /* Swiss Red — key colour */
    --grey:      #888888;
    --off-white: #f5f5f5;
    --border:    rgba(0, 0, 0, 0.1);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --------------- Swiss Red Utility --------------- */
.key-dot {
  display: inline-block;
  color: transparent;     /* hide the literal "." character */
  overflow: hidden;
  width: 0.18em;
  height: 0.18em;
  background: var(--red);
  border-radius: 0;       /* square */
  vertical-align: baseline;
  position: relative;
  bottom: 0;
  margin-left: 0.08em;
}

/* Prevent the dot from wrapping away from its preceding word */
.no-break { white-space: nowrap; }

/* --------------- Base --------------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--black);
    background: var(--black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --------------- Navigation --------------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.375rem 3rem;
    transition: color 0.3s, background 0.3s, box-shadow 0.3s;
}

.nav--dark  { background: var(--accent); box-shadow: none; }
.nav--light { background: #ffffff; box-shadow: 0 1px 0 #e0e0e0; }

.nav--dark  .logo-light { display: block; }
.nav--dark  .logo-dark  { display: none; }
.nav--light .logo-light { display: none; }
.nav--light .logo-dark  { display: block; }

.nav-logo img {
    height: 26px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.nav--dark  .nav-links a { color: rgba(255, 255, 255, 0.65); }
.nav--light .nav-links a { color: var(--black); opacity: 0.7; }

.nav-links a:hover { opacity: 0.45 !important; }

/* --------------- Mobile Nav Burger --------------- */
.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.375rem;
    margin: -0.375rem;
}
.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    transition: background 0.3s;
}
.nav--dark  .nav-burger span { background: rgba(255, 255, 255, 0.75); }
.nav--light .nav-burger span { background: rgba(13, 13, 13, 0.7); }

.nav-mobile {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 0.75rem 0 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.nav--light .nav-mobile { border-top-color: #e0e0e0; }
.nav-mobile a {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.75rem 0;
}
.nav--dark  .nav-mobile a { color: rgba(255, 255, 255, 0.75); }
.nav--light .nav-mobile a { color: var(--black); opacity: 0.7; }
.nav-mobile a:hover { opacity: 0.45 !important; }
.nav--open .nav-mobile { display: flex; }

.btn-cta {
    display: inline-flex;
    align-items: center;
    background: var(--red);
    color: var(--white) !important;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: 3px;
    letter-spacing: 0.01em;
    transition: opacity 0.2s;
}

.nav--light .btn-cta {
    background: var(--red);
    color: var(--white) !important;
}

.btn-cta:hover { opacity: 0.85; }

/* --------------- Panels --------------- */
.panel {
    background: var(--white);
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Hero is exactly one viewport tall */
#hero { height: 100vh; min-height: 0; }

.panel--dark {
    background: var(--accent);
    color: var(--white);
}

.panel--off {
    background: var(--off-white);
}

/* --------------- Panel Inner --------------- */
.panel__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 4rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.panel__inner--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 0 5rem;
    align-items: center;
    align-content: center;
}

/* --------------- Panel Label --------------- */
.panel__label {
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    position: absolute;
    top: 5rem;       /* clear the fixed nav (~70px) */
    left: 4rem;
}

.panel__label--span {
    grid-column: 1 / -1;
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 1.5rem;
}

.panel__num {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    opacity: 0.35;
}

.panel__tag {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.4;
}

/* --------------- Panel Header & Text --------------- */
.panel__header { margin-bottom: 1.75rem; }
#investment .panel__header { margin-top: 80px; }

.panel__header h2 {
    font-size: clamp(2.5rem, 5.5vw, 4.75rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.0;
}

.panel__intro {
    max-width: 560px;
    color: #333333;
    margin-bottom: 2rem;
    font-size: 1.0625rem;
    line-height: 1.65;
}

.panel__conclusion {
    font-size: 1rem;
    font-weight: 600;
    color: var(--red);
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.panel--dark .panel__conclusion {
    color: rgba(255, 255, 255, 0.45);
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* --------------- 01 Hero --------------- */
.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-end;
}

.hero__headline {
    font-size: clamp(3.5rem, 8vw, 7.5rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.92;
    color: var(--white);
}

.hero__sub p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 2rem;
    max-width: 340px;
    line-height: 1.6;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    background: var(--red);
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 700;
    padding: 0.875rem 2rem;
    border-radius: 3px;
    letter-spacing: 0.01em;
    transition: opacity 0.2s;
}

.btn-primary:hover { opacity: 0.88; }

.panel__scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 4rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    opacity: 0.3;
    color: var(--white);
}

/* --------------- 02 Accordion --------------- */
.accordion {
    border-top: 1px solid var(--border);
    width: 100%;
}

.accordion__item {
    border-bottom: 1px solid var(--border);
}

.accordion__trigger {
    width: 100%;
    display: grid;
    grid-template-columns: 20% 1fr auto;
    align-items: center;
    column-gap: 1.5rem;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font);
    color: inherit;
}

.accordion__trigger:hover .accordion__title { opacity: 0.7; }

.accordion__title {
    font-size: 0.9375rem;
    font-weight: 600;
    transition: opacity 0.2s;
}

.accordion__sub {
    font-size: 0.875rem;
    font-weight: 400;
    color: #444444;
    line-height: 1.5;
}

.accordion__icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    position: relative;
}

.accordion__icon::before,
.accordion__icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.accordion__icon::before {
    width: 1rem;
    height: 1px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.accordion__icon::after {
    width: 1px;
    height: 1rem;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.accordion__item--open .accordion__icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.accordion__item--open .accordion__title {
    color: var(--red);
}

.accordion__item--open .accordion__icon {
    color: var(--red);
}

.accordion__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.accordion__item--open .accordion__body {
    grid-template-rows: 1fr;
}

.accordion__body-inner {
    overflow: hidden;
}

.accordion__body-content {
    padding-left: calc(20% + 1.5rem);
    padding-bottom: 2rem;
}

.accordion__body-content p {
    padding-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #333333;
    line-height: 1.7;
    margin: 0;
}

.accordion__link {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--red);
    text-decoration: none;
    transition: opacity 0.2s;
}
.accordion__link:hover { opacity: 0.6; }

.accordion__link--subtle {
    font-weight: 500;
    color: var(--grey);
}
.accordion__link--subtle:hover { color: var(--black); opacity: 1; }

/* --------------- 02 Problem: drawer accordion --------------- */

.prob-intro {
    max-width: 600px;
    font-size: 1rem;
    line-height: 1.65;
    color: #333333;
    margin-bottom: 1.75rem;
}

/* Red number prefix in the open drawer heading */
.prob-panel__drawer-num {
    color: #cc0000;
    font-weight: 700;
    margin-right: 0.4em;
}

/* Fix 4: outer container rounded 8px, clips children */
.prob-layout {
    display: flex;
    height: 560px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

/* Left column: diagram — always visible, in normal flow */
.prob-diagram {
    width: 42%;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-right: 1.5rem;
}

/* Fix 1: size SVG to fill height of the diagram column */
.prob-diagram svg {
    width: auto;
    height: 100%;
    max-width: 100%;
    display: block;
}

/* Right column: panels always beside diagram, never covering it */
.prob-panels {
    flex: 1;
    min-width: 0;
    height: 100%;
    display: flex;
    z-index: 2;
    overflow: hidden;
    border-radius: 8px;
    gap: 2px;
}

/* Fix 4: individual panels rounded */
.prob-panel {
    flex: 1;
    min-width: 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.4s ease;
    border-radius: 8px;
}

/* Panel colours: grey shadings */
.prob-panel:nth-child(1) { background: #f5f5f5; }
.prob-panel:nth-child(2) { background: #efefef; }
.prob-panel:nth-child(3) { background: #e9e9e9; }
.prob-panel:nth-child(4) { background: #e3e3e3; }
.prob-panel:nth-child(5) { background: #dddddd; }
.prob-panel:nth-child(6) { background: #d7d7d7; }

.prob-panel.is-open {
    flex: 0 0 62%;
    cursor: default;
}

/* +/× indicator — CSS lines, top-right of every panel, animated morph */
.prob-panel__pm {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 3;
}

.prob-panel__pm::before,
.prob-panel__pm::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 2px;
    background: #1a1a1a;
    top: 50%;
    left: 50%;
    transition: transform 0.3s ease;
}

/* + : horizontal + vertical */
.prob-panel__pm::before { transform: translate(-50%, -50%) rotate(0deg); }
.prob-panel__pm::after  { transform: translate(-50%, -50%) rotate(90deg); }

/* × : both lines at 45° */
.prob-panel.is-open .prob-panel__pm::before { transform: translate(-50%, -50%) rotate(45deg); }
.prob-panel.is-open .prob-panel__pm::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* Trigger button covers the entire panel */
.prob-panel__trigger {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    padding: 0 0 1.5rem;
    transition: opacity 0.2s ease;
    z-index: 1;
}

.prob-panel.is-open .prob-panel__trigger {
    opacity: 0;
    pointer-events: none;
}

/* Fix 1: numbered label above title */
.prob-panel__num {
    color: #cc0000;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
}

/* vertical title, bottom-aligned */
.prob-panel__label {
    color: #1a1a1a;
    font-family: var(--font);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
}

/* Drawer content (shown in open state) */
.prob-panel__drawer {
    position: absolute;
    inset: 0;
    padding: 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease 0s;
    overflow: hidden;
}

.prob-panel.is-open .prob-panel__drawer {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.25s ease 0.2s;
}

/* Fix 2: larger horizontal title */
.prob-panel__drawer-title {
    font-family: var(--font);
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.prob-panel__drawer-body {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
}

.prob-panel__drawer-body::-webkit-scrollbar { display: none; }

/* Fix 2: larger body copy */
.prob-panel__drawer-body p {
    font-family: var(--font);
    font-size: 0.95rem;
    line-height: 1.7;
    color: #1a1a1a;
    margin: 0 0 0.9rem;
}

/* Fix 2: larger CTA */
.prob-panel__cta {
    font-family: var(--font);
    font-size: 18px;
    font-weight: 600;
    color: #cc0000;
    text-decoration: none;
    flex-shrink: 0;
    padding-top: 1rem;
    transition: opacity 0.2s;
}

.prob-panel__cta:hover { opacity: 0.7; }

/* CTA intro line above button */
.prob-panel__cta-intro {
    font-family: var(--font);
    font-size: 0.875rem;
    line-height: 1.6;
    color: #1a1a1a;
    margin: 0.75rem 0 0;
    flex-shrink: 0;
}

/* Outlined CTA button */
.accordion__btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.25rem;
    border: 1.5px solid #1a1a1a;
    border-radius: 6px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: background 0.2s ease, color 0.2s ease;
}

.accordion__btn:hover {
    background: #1a1a1a;
    color: #ffffff;
}

/* Mobile: diagram on top, panels stack vertically */
@media (max-width: 767px) {
    .prob-layout {
        flex-direction: column;
        height: auto;
        overflow: visible;
        border-radius: 0;
    }

    .prob-diagram {
        width: 100%;
        padding-right: 0;
        padding-bottom: 1rem;
    }

    .prob-diagram svg {
        width: 100%;
        height: auto;
        max-width: 420px;
        margin: 0 auto;
    }

    .prob-panels {
        flex-direction: column;
        border-radius: 8px;
        overflow: hidden;
        gap: 0;
    }

    .prob-panel {
        flex: none;
        height: 52px;
        transition: height 0.4s ease;
        overflow: hidden;
        border-radius: 0;
    }

    .prob-panel.is-open {
        flex: none;
        height: auto;
        cursor: default;
    }

    .prob-panel__trigger {
        align-items: center;
        justify-content: flex-start;
        padding: 0 3rem 0 1.25rem;
    }

    .prob-panel__label {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 0.8rem;
    }

    .prob-panel__num {
        writing-mode: horizontal-tb !important;
        transform: none !important;
    }

    .prob-panel.is-open .prob-panel__trigger {
        opacity: 0;
        pointer-events: none;
    }

    .prob-panel__drawer {
        padding: 1.25rem 1.25rem 1.25rem 1.25rem;
    }

    .prob-panel__drawer-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .prob-panel__drawer-body p {
        font-size: 0.875rem;
        margin-bottom: 0.65rem;
    }

    .prob-panel.is-open .prob-panel__drawer {
        position: static;
        overflow: visible;
    }

    .prob-panel__drawer-body {
        overflow-y: visible;
    }

    .prob-panel__cta {
        font-size: 0.85rem;
    }
}

/* --------------- 03 Steps --------------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

.step__num {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--red);
    margin-bottom: 0.875rem;
    display: block;
}

.step__title {
    font-size: 1.1875rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
    letter-spacing: -0.025em;
}

.step__desc {
    font-size: 0.9rem;
    color: #333333;
    line-height: 1.6;
}

.step__detail { margin-top: 1rem; }

.step__detail summary {
    list-style: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--red);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    user-select: none;
    transition: opacity 0.2s;
}

.step__detail summary::-webkit-details-marker { display: none; }
.step__detail summary::after { content: '↓'; transition: transform 0.2s; }
.step__detail[open] summary::after { transform: rotate(180deg); }
.step__detail summary:hover { opacity: 0.6; }

.step__detail-body {
    padding-top: 0.875rem;
    margin-top: 0.625rem;
    border-top: 1px solid var(--border);
    animation: fade-in 0.2s ease;
}

.step__detail-body p {
    font-size: 0.875rem;
    color: var(--grey);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.step__detail-body p:last-child { margin-bottom: 0; }
.step__note { font-style: italic; }

.step__warning {
    background: rgba(212, 0, 0, 0.05);
    border-left: 2px solid var(--red);
    padding: 0.625rem 0.875rem;
    border-radius: 0 3px 3px 0;
    color: var(--red) !important;
    font-style: normal !important;
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --------------- 04 Governance --------------- */
.gov-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    border-top: 2px solid var(--black);
    padding-top: 2rem;
    margin-bottom: 1.5rem;
}

.gov-item__top {
    display: flex;
    align-items: baseline;
    gap: 0.875rem;
    margin-bottom: 0.875rem;
}

.gov-item__num {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    opacity: 0.28;
}

.gov-item__role {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.42;
}

.gov-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}

.gov-item p {
    font-size: 0.9rem;
    color: #333333;
    line-height: 1.6;
}

/* --------------- 05 About --------------- */
.about__left h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin-bottom: 1.75rem;
}

.about__text p {
    color: #333333;
    margin-bottom: 0.875rem;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.about__text strong { color: var(--black); }

.about__credentials {
    margin-top: 1.75rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.cred { display: flex; gap: 2rem; font-size: 0.875rem; }
.cred__label { font-weight: 600; min-width: 6rem; }
.cred__value { color: var(--grey); }

.about__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.875rem;
}

.about__photo {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    object-position: left top;
    border-radius: 3px;
    filter: grayscale(100%);
}

.about__caption {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-self: flex-start;
}

.about__caption strong { font-size: 0.9375rem; font-weight: 700; }
.about__caption span { font-size: 0.8125rem; color: var(--grey); }

.gff-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 3rem 4rem 0;
}
.gff-block {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 4rem;
    box-sizing: border-box;
}
.gff-block__text {
    flex: 0 0 38%;
}
.gff-block__image {
    flex: 1;
}
.gff-block__heading {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--black);
}
.gff-block__body {
    color: #333333;
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 0;
}
.gff-block__footnote {
    font-size: 11px;
    color: var(--grey);
    font-style: italic;
    line-height: 1.5;
    margin-top: 1.5rem;
}
.gff-block__img {
    display: block;
    width: 100%;
    height: auto;
    image-rendering: crisp-edges;
}

/* --------------- 06 Investment --------------- */
.cost-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    margin-bottom: 0;
}

.cost-col__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 0.5rem;
}

.cost-col__amount {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 0.35rem;
    color: var(--accent);
}

.cost-col__subline {
    font-size: 0.775rem;
    color: var(--grey);
    margin-bottom: 1.25rem;
}

.cost-col__note {
    font-size: 0.6875rem;
    color: var(--grey);
    font-style: italic;
    line-height: 1.55;
    margin-top: 0.75rem;
}


.cost-col__items {
    list-style: none;
}

.cost-col__items li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.8375rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    gap: 0.75rem;
    color: var(--grey);
}

.cost-col__items li span {
    color: var(--black);
    font-weight: 500;
    white-space: nowrap;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Advisory Fee row 2 */
.advisory-fee {
    border-top: 1px solid #e0e0e0;
    margin-top: 48px;
    padding-top: 2rem;
}

.advisory-fee__header {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 32px;
}

.advisory-fee__steps {
    margin-bottom: 24px;
}

.advisory-fee__step {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.8375rem;
}

.advisory-fee__num {
    font-size: 11px;
    font-weight: 700;
    color: #cc0000;
    min-width: 24px;
    flex-shrink: 0;
}

.advisory-fee__step-name {
    color: #1a1a1a;
    font-weight: 500;
    flex-shrink: 0;
}

.advisory-fee__dash {
    color: #888;
    flex-shrink: 0;
}

.advisory-fee__step-detail {
    color: #888;
}

.advisory-fee__step-price {
    color: #1a1a1a;
    font-weight: 600;
    flex-shrink: 0;
}

.advisory-fee__step-note {
    color: #888;
    font-style: italic;
}

.advisory-fee__step-italic {
    color: #888;
    font-style: italic;
}

.advisory-tiers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
    margin-bottom: 2rem;
    align-items: stretch;
}

.advisory-tier {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.advisory-tier--featured {
    position: relative;
    border: 1.5px solid #1a1a1a;
}

.advisory-tier__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 1px solid #1a1a1a;
    border-radius: 20px;
    font-size: 11px;
    padding: 2px 12px;
    white-space: nowrap;
    color: #1a1a1a;
}

.advisory-tier__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 0.35rem;
}

.advisory-tier__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.advisory-tier__price {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.advisory-tier__divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 0.75rem 0 0;
}

.advisory-tier__desc {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
    margin-top: 0.75rem;
}

.cost-note {
    font-size: 0.9rem;
    color: var(--grey);
    line-height: 1.6;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.cost-note strong { color: var(--black); }

/* --------------- 07 Contact --------------- */
/* Contact tab toggle */
.contact__tabs {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact__tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0 0 0.75rem;
    margin-right: 2rem;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.contact__tab--active {
    color: var(--white);
    border-bottom-color: var(--white);
}

.contact__tab:hover:not(.contact__tab--active) {
    color: rgba(255, 255, 255, 0.7);
}

.contact__tab-panel--hidden { display: none; }

/* Cal.com inline embed */
.cal-embed {
    width: 100%;
    height: 100%;
    min-height: 520px;
    border-radius: 4px;
    overflow: hidden;
}

.cal-embed iframe {
    border: none;
    width: 100%;
    height: 100%;
}

.contact__left h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.03;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.contact__left > p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.65;
    max-width: 400px;
}

.contact__info {
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact__info p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.45); }
.contact__info strong { color: var(--white); }

.contact__info a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.125rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    color: var(--white);
    font-family: var(--font);
    font-size: 0.9375rem;
    padding: 0.7rem 0.875rem;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255, 255, 255, 0.2); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: rgba(255, 255, 255, 0.35); }

.form-group select option { background: var(--accent); }

.btn-submit {
    background: var(--white);
    color: var(--accent);
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 700;
    padding: 0.875rem;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    width: 100%;
    transition: opacity 0.2s;
    letter-spacing: 0.01em;
}

.btn-submit:hover { opacity: 0.88; }

.form-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.28);
    text-align: center;
}

/* --------------- Footer --------------- */
.footer {
    position: relative;
    z-index: 10;
    background: var(--black);
    color: rgba(255, 255, 255, 0.28);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 4rem;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
}

.footer-links { display: flex; gap: 2rem; }

.footer-links a {
    color: rgba(255, 255, 255, 0.28);
    transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255, 255, 255, 0.65); }

/* --------------- Responsive --------------- */
@media (max-width: 960px) {
    .nav { padding: 1.25rem 1.5rem; flex-wrap: wrap; }
    .nav-links { display: none; }
    .nav-burger { display: flex; }

    .panel__inner { padding: 5rem 1.5rem; }
    .panel__label { left: 1.5rem; top: 4.5rem; }
    .panel__scroll-hint { left: 1.5rem; }

    .hero__content { grid-template-columns: 1fr; gap: 2rem; align-items: flex-start; }
    .hero__headline { font-size: clamp(2.75rem, 13vw, 4rem); }

    .steps { grid-template-columns: 1fr; gap: 2rem; }
    .gov-grid { grid-template-columns: 1fr; gap: 2rem; }

    .panel__inner--split { grid-template-columns: 1fr; gap: 2rem; align-items: start; }
    .panel__label--span { margin-bottom: 1rem; }

    .about__right { align-items: flex-start; }
    .about__photo { max-height: 300px; }

    .cost-cols { grid-template-columns: 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; }

    .gff-divider { margin: 3rem 1.5rem 0; }
    .gff-block { padding: 60px 1.5rem; }

    .footer { flex-direction: column; gap: 0.75rem; padding: 1.25rem 1.5rem; text-align: center; }
}

@media (max-width: 767px) {
    .accordion__trigger {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "title icon"
            "sub   sub";
        align-items: start;
        row-gap: 0.25rem;
    }
    .accordion__title { grid-area: title; }
    .accordion__sub   { grid-area: sub; }
    .accordion__icon  { grid-area: icon; }
    .accordion__body-content { padding-left: 0; }

    .gff-divider { margin: 3rem 1.5rem 0; }
    .gff-block {
        flex-direction: column;
        gap: 1.5rem;
        padding: 40px 1.5rem;
    }
}

/* ===============================================
   Wealth Tax Calculator  (Panel 02 — Accordion 1)
   =============================================== */

/* Scrollable wrapper keeps body inside 100vh sticky panel */
.wtc-wrap {
    max-height: calc(100vh - 370px);
    overflow-y: auto;
    padding-bottom: 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
}
.wtc-wrap::-webkit-scrollbar       { width: 3px; }
.wtc-wrap::-webkit-scrollbar-track { background: transparent; }
.wtc-wrap::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 2px; }

/* Intro paragraphs — fine-tune the accordion p rule */
.wtc-intro {
    padding-bottom: 0.75rem !important;
}

/* Teaser trigger line */
.wtc-teaser {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding: 0.875rem 0 1.125rem;
    border-bottom: 1px solid var(--border);
}
.wtc-teaser__text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--black);
    line-height: 1.5;
}
.wtc-teaser__btn {
    background: none;
    border: none;
    font-family: var(--font);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--red);
    cursor: pointer;
    padding: 0;
    letter-spacing: 0.01em;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.wtc-teaser__btn:hover { opacity: 0.6; }

/* Expand/collapse animation */
.wtc-calc {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
}
.wtc-calc--open {
    grid-template-rows: 1fr;
}
.wtc-calc__inner {
    overflow: hidden;
}

/* Calculator card — white, clean */
.wtc {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 1.375rem 1.5rem;
    color: var(--black);
    margin-top: 1.25rem;
}

/* Card header */
.wtc__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}
.wtc__title {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey);
}
.wtc__close-btn {
    background: none;
    border: none;
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--grey);
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
    letter-spacing: 0.02em;
}
.wtc__close-btn:hover { color: var(--black); }

/* ── Inputs ── */
.wtc__inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}
.wtc__label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 0.5rem;
}
.wtc__field-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}
.wtc__asset-val {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--black);
}

/* Range slider — dark fill on light background */
.wtc__slider {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 1px;
    outline: none;
    cursor: pointer;
    background: linear-gradient(to right, #0d0d0d 26.32%, rgba(0,0,0,0.1) 26.32%);
}
.wtc__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--black);
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: transform 0.15s;
}
.wtc__slider:hover::-webkit-slider-thumb { transform: scale(1.15); }
.wtc__slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--black);
    cursor: pointer;
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.wtc__slider-ends {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    color: var(--grey);
}

/* Canton + Status row */
.wtc__row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: end;
}

/* Select */
.wtc__select {
    width: 100%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 3px;
    color: var(--black);
    font-family: var(--font);
    font-size: 0.875rem;
    padding: 0.625rem 2rem 0.625rem 0.875rem;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(0,0,0,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}
.wtc__select:focus { border-color: var(--black); }

/* Marital toggle */
.wtc__toggle {
    display: flex;
    border: 1px solid var(--border);
    border-radius: 3px;
    overflow: hidden;
    height: 2.375rem;
}
.wtc__tog {
    flex: 1;
    background: transparent;
    border: none;
    color: rgba(0, 0, 0, 0.4);
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.wtc__tog + .wtc__tog { border-left: 1px solid var(--border); }
.wtc__tog--on {
    background: var(--black);
    color: var(--white);
}

/* ── Results ── */

/* Output block */
.wtc__output-block {
    border: 1px solid var(--border);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}

/* Section heading */
.wtc__sec-hd {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 0.5rem;
}

/* Without Foundation */
.wtc__before {
    background: var(--white);
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}
.wtc__bef-val {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #b91c1c;
    margin-bottom: 0.2rem;
}
.wtc__bef-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.175rem;
}
.wtc__bef-sub {
    font-size: 0.68rem;
    color: var(--grey);
    line-height: 1.5;
}

/* With Foundation + Growth sections */
.wtc__section {
    background: var(--white);
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border);
}
.wtc__linelist {
    list-style: none;
    margin: 0;
    padding: 0;
}
.wtc__lineitem {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.2rem 0;
}
.wtc__lineitem--total {
    border-top: 1px solid var(--border);
    margin-top: 0.375rem;
    padding-top: 0.45rem;
    font-weight: 700;
}
.wtc__li-val {
    min-width: 6.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
    flex-shrink: 0;
}
.wtc__li-cost { color: #b91c1c; }
.wtc__li-gain { color: #15803d; }
.wtc__li-desc {
    font-size: 0.72rem;
    color: var(--grey);
    line-height: 1.45;
}
.wtc__ppli-inline {
    color: var(--accent);
    font-weight: 700;
}

/* Annual Foundation Advantage */
.wtc__advantage {
    background: var(--white);
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}
.wtc__adv-label {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 0.375rem;
}
.wtc__adv-val {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 0.2rem;
    color: var(--black);
}
.wtc__adv-sub {
    font-size: 0.68rem;
    color: var(--grey);
    line-height: 1.5;
}

/* Crossover point */
.wtc__crossover {
    background: var(--off-white);
    padding: 0.75rem 1rem;
}
.wtc__crossover p {
    font-size: 0.72rem;
    color: var(--grey);
    line-height: 1.55;
    margin: 0;
}

/* Projections */
.wtc__projs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1.25rem;
}
.wtc__proj {
    background: var(--white);
    padding: 0.625rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.wtc__proj-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--grey);
}
.wtc__proj-val {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--black);
}
.wtc__proj-note {
    font-size: 0.65rem !important;
    font-style: italic !important;
    color: rgba(0, 0, 0, 0.3) !important;
    line-height: 1.55 !important;
    padding: 0.5rem 0 0 !important;
    margin: 0 0 1.25rem !important;
}

/* Colour states — web-safe on light backgrounds */
.wtc--pos { color: #15803d; }
.wtc--mrg { color: #b45309; }
.wtc--neg { color: #b91c1c; }

/* ── Footer / Disclaimer ── */
.wtc__foot {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}
.wtc__disc,
.wtc__tagline {
    font-size: 0.72rem !important;
    color: rgba(0, 0, 0, 0.35) !important;
    line-height: 1.6 !important;
    padding-bottom: 0.5rem !important;
    margin: 0 !important;
}
.wtc__tagline {
    font-style: italic !important;
    font-size: 0.69rem !important;
    color: rgba(0, 0, 0, 0.28) !important;
    padding-bottom: 0 !important;
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .wtc-wrap    { max-height: calc(100vh - 290px); }
    .wtc         { padding: 1.25rem; margin-top: 1rem; }
    .wtc__row2   { grid-template-columns: 1fr; gap: 1rem; }
    .wtc__projs  { grid-template-columns: 1fr; }
    .wtc__li-val { min-width: 5.5rem; }
}

/* --------------- Section Dividers --------------- */
.section-divider {
    display: block;
    height: 1px;
    border: none;
    background: #e0e0e0;
    width: 0;
    transition: width 0.6s ease-out;
    margin: 0;
}

.section-divider.is-drawn { width: 100%; }

/* --------------- Scroll Animations --------------- */
html.js .sa {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

html.js .sa.sa--visible {
    opacity: 1;
    transform: translateY(0);
}

/* --------------- Mobile Fixes (max-width: 768px) --------------- */
@media (max-width: 768px) {

    /* Fix 1 — Section padding: more breathing room above section titles */
    .section {
        padding-top: 80px;
    }

    /* Fix 2 — Section title overlap fix */
    .panel__num {
        display: block;
        margin-bottom: 12px;
        padding-top: 0;
        position: static;
    }

    .panel:not(#hero) {
        padding-top: 100px !important;
    }

    /* Fix 2 — Hide nav links on mobile (nav-links already hidden; belt-and-braces) */
    .nav-links {
        display: none !important;
    }

    /* Fix 3 — Fee tier boxes stack vertically on mobile */
    .advisory-tiers {
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
    }

    .advisory-tier {
        width: 100% !important;
        margin-bottom: 24px;
    }

    /* Fix 4 — Diagram tap to zoom */
    .prob-diagram,
    .gff-block__img {
        cursor: zoom-in;
        transition: transform 0.3s ease;
    }

    .prob-diagram.zoomed,
    .gff-block__img.zoomed {
        transform: scale(1.8);
        cursor: zoom-out;
        z-index: 100;
        position: relative;
    }

}

/* ── Homepage only: hide scroll hint (scoped via body class) ── */
.page-home .panel__scroll-hint {
    display: none;
}

/* ── Deep dive page content width (excludes wealth-tax calculator) ──
   Overrides the inline max-width on all inner containers across all
   six deep dive pages so every panel — hero, content, and closing CTA —
   aligns to the same 780px column.
─────────────────────────────────────────────────────────────────────── */
.cc-inner,
.ds-inner,
.fh-inner,
.id-inner,
.pe-inner {
    max-width: 780px !important;
}

/* Deep dive side navigation */
.dd-sidenav__arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    padding: 1rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    opacity: 0.78;
    transition: opacity 0.2s;
    z-index: 100;
    font-size: 0.75rem;
    text-align: center;
    line-height: 1.3;
}

.dd-sidenav__arrow:hover {
    opacity: 1;
}

.dd-sidenav__arrow--prev {
    left: 0;
    border-radius: 0 4px 4px 0;
}

.dd-sidenav__arrow--next {
    right: 0;
    border-radius: 4px 0 0 4px;
}

.dd-sidenav__arrow .dd-sidenav__dir {
    font-size: 1.25rem;
    line-height: 1;
}

.dd-sidenav__arrow .dd-sidenav__label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.dd-sidenav__arrow .dd-sidenav__page {
    font-size: 0.75rem;
    font-weight: 600;
}

.dd-bottomnav {
    display: none;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--accent);
    color: var(--white);
}

.dd-bottomnav__item {
    text-decoration: none;
    color: var(--white);
    font-size: 0.875rem;
}

.dd-bottomnav__placeholder {
    flex: 1;
}

@media (max-width: 768px) {
    .dd-sidenav__arrow {
        display: none;
    }
    .dd-bottomnav {
        display: flex;
    }
}
