/* Wisdom Across Time | Editable CSS | Client adjustments preserved through Book section. */

:root {
    --navy:#06182e;
    --navy2:#0b2544;
    --gold:#edb84c;
    --cream:#fffaf0;
    --ink:#12213b;
    --muted:#536075;
    --serif:'Cormorant Garamond',Georgia,serif;
    --sans:'DM Sans',Arial,sans-serif
}

* {
    box-sizing:border-box
}

html {
    scroll-behavior:smooth;
    scroll-padding-top:105px
}

body {
    margin:0;
    font-family:var(--sans);
    color:var(--ink);
    background:#fffdf9;
    line-height:1.6
}

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

button {
    font:inherit
}

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

.shell {
    width:min(1180px,calc(100% - 52px));
    margin-inline:auto
}

.skip {
    position:absolute;
    top:-60px;
    left:10px;
    padding:10px;
    background:#fff;
    z-index:20
}

.skip:focus {
    top:10px
}

.site-header {
    height:82px;
    background:#061629;
    border-bottom:1px solid #7b5c2780;
    position:relative;
    z-index:5
}

.header-inner {
    height:100%;
    display:flex;
    align-items:center;
    gap:18px
}

.brand {
    width:150px;
    align-self:flex-start;
    flex:none;
    position:relative;
    z-index:7
}

.brand img {
    width:160px;
    height:auto;
    object-fit:contain;
    filter:drop-shadow(0 3px 10px #0008)
}

.main-nav {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    flex:1;
    white-space:nowrap;
    margin-left:18px
}

.main-nav a {
    font-size:15px;
    font-weight:700;
    color:#f2ebdf;
    transition:.2s
}

.main-nav a:hover,.main-nav a.active {
    color:var(--gold)
}

.main-nav a.active:after {
    content:"";
    display:block;
    width:100%;
    height:2px;
    background:var(--gold);
    margin-top:5px
}

.header-contact {
    font-size:12px;
    color:var(--gold);
    border:1px solid #ad833b;
    border-radius:22px;
    padding:9px 12px;
    white-space:nowrap
}

.menu-toggle {
    display:none
}

.hero {
    position:relative;
    background-image: url(assets/hero-conversation.png);
    isolation:isolate;
    min-height:600px;
    overflow:hidden;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-shade {
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,#06182e 0%,#071a31 29%,#071b31e8 43%,#071b3160 57%,transparent 77%);
    z-index:-1
}

.starfield {
    position:absolute;
    inset:0 40% 0 0;
    opacity:.46;
    z-index:-1;
    background-image:radial-gradient(circle,#f7c55f 1px,transparent 1.5px);
    background-size:64px 78px;
    mask-image:linear-gradient(90deg,#000,transparent)
}

.hero-inner {
    min-height:480px;
    display:flex;
    align-items:center
}

.hero-copy {
    max-width:650px;
    padding:100px 0 55px 0px
}

.eyebrow {
    text-transform:uppercase;
    letter-spacing:2.6px;
    font-size:11px;
    font-weight:700;
    color:#94661d
}

.eyebrow.light {
    color:#f1bf5b
}

h1,h2,h3,p {
    margin-top:0
}

h1,h2,h3 {
    font-family:var(--serif);
    line-height:1.04
}

h1 {
    color:white;
    font-size:clamp(48px,5vw,73px);
    font-weight:700;
    letter-spacing:-1px;
    margin:13px 0 0
}

h1 span {
    color:#f5c767
}

.hero-subtitle {
    font-family:var(--serif);
    color:#f5e5c7;
    font-style:italic;
    font-size:24px;
    margin:8px 0 12px
}

.hero-description {
    color:#e9edf2;
    font-size:13px;
    max-width:425px;
    line-height:1.85;
    margin-bottom:23px
}

.btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    border-radius:6px;
    padding:12px 20px;
    font-size:12px;
    font-weight:700;
    transition:transform .2s,box-shadow .2s;
    cursor:pointer;
    text-align:center
}

.btn:hover {
    transform:translateY(-2px);
    box-shadow:0 7px 22px #0002
}

.btn-gold {
    background:linear-gradient(180deg,#ffe4a2,#e5ab36);
    border:1px solid #c28a26;
    color:#111c2e;
    box-shadow:0 2px 12px #dfac4360
}

.btn-outline {
    border:1px solid #d1a752;
    color:#fff
}

.hero-swoosh {
    position:absolute;
    bottom:-140px;
    left:-6%;
    width:65%;
    height:200px;
    border-top:2px solid #f8c86c;
    border-radius:50%;
    transform:rotate(9deg);
    box-shadow:0 -6px 20px #fac44b30
}

.section-pad {
    padding-block:68px
}

.intro {
    background:#fffcf6
}

.intro-grid {
    display:grid;
    grid-template-columns:1.35fr .85fr;
    gap:8%;
    align-items:center
}

.intro h2,.section-heading h2,.blog h2 {
    font-size:clamp(36px,3.5vw,51px);
    margin:5px 0 12px
}

.intro p {
    font-size:14px;
    color:#445066;
    line-height:1.85;
    margin-bottom:10px
}

.quote-card {
    background:#fffaf1;
    border:1px solid #ecd7a8;
    border-radius:18px;
    padding:34px 38px;
    box-shadow:0 10px 35px #795b1c12
}

.quote-mark {
    color:#be8a30;
    font-family:Georgia,serif;
    font-size:78px;
    height:43px;
    line-height:.9
}

.quote-card blockquote {
    font:italic 25px/1.25 var(--serif);
    margin:12px 0 18px;
    color:#263452
}

.quote-author {
    border-top:2px solid #d59d36;
    padding-top:13px;
    width:max-content;
    font-weight:700;
    font-family:var(--serif);
    font-size:19px
}

.quote-author small {
    display:block;
    font:700 9px var(--sans);
    letter-spacing:2px;
    color:#806942
}

.book-band {
    color:white;
    background:radial-gradient(ellipse at 5% 65%,#183d65,#071b33 55%,#061529);
    overflow:hidden;
    position:relative
}

.book-band:after {
    content:"";
    position:absolute;
    inset:0;
    background:radial-gradient(circle at 85% 33%,#f4bd5124,transparent 30%);
    pointer-events:none
}

.book-grid {
    display:grid;
    grid-template-columns:39% 61%;
    min-height:385px;
    align-items:center;
    gap:20px
}

.book-art {
    display:flex;
    justify-content:center;
    align-items:center;
    perspective:900px;
    padding:30px
}

.book-volume {
    width:280px;
    position:relative
}

.book-volume:before {
	display: none;
    content:"";
    position:absolute;
    left:-21px;
    top:5px;
    width:21px;
    height:calc(100% - 7px);
    background:linear-gradient(90deg,#a5a5a4,#e6e1d5,#aaa);
    transform:skewY(-20deg);
    transform-origin:right;
    box-shadow:-4px 3px 9px #0007
}

.book-volume img {
    width:100%;
    height:auto;
    display:block
}

.book-text {
    padding:45px 0 45px 0;
    position:relative;
    z-index:1
}

.book-text h2 {
    font-size:clamp(32px,3.4vw,49px);
    margin:8px 0 14px
}

.book-text h2 em {
    font-style:normal;
    color:#ffdf9d
}

.book-text p {
    font-size:14px;
    max-width:640px;
    color:#e3e6ee;
    line-height:1.85
}

.actions {
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-top:20px
}

.topics {
    background:#fffefa
}

.section-heading {
    text-align:center;
    margin-bottom:30px
}

.section-heading h2 {
    margin-bottom:7px
}

.section-heading p {
    font-size:13px;
    color:var(--muted);
}

.topic-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px
}

.topic-card {
    background:#fff;
    border:1px solid #ead3a4;
    border-radius:9px;
    overflow:hidden;
    box-shadow:0 4px 12px #1a28400b;
    transition:transform .2s,box-shadow .2s
}

.topic-card:hover {
    transform:translateY(-4px);
    box-shadow:0 12px 22px #13203920
}

.topic-card>img {
    width:100%;
    height:170px;
    
}

.topic-label {
    min-height:56px;
    display:flex;
    align-items:center;
    gap:11px;
    padding:11px 12px;
    font:700 17px/1.15 var(--serif)
}

.topic-symbol {
        width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #06182e;
    color: #ffd177;
    border: 2px solid #ddb05f;
    display: grid;
    place-items: center;
    flex: none;
    font: 700 28px var(--sans);
    margin-top: -19px;
    position: relative;
    line-height: 40px;
}

.arrow {
    margin-left:auto;
    color:#a2772a;
    font:700 16px var(--sans)
}

.insights-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
    margin-top:30px
}

.insight {
    display:flex;
    gap:15px;
    padding:24px 22px;
    background:#fffaf3;
    border:1px solid #f0d9ad;
    border-radius:10px
}

.insight-icon {
    font-size:35px;
    color:#9d722d;
    line-height:1;
    min-width:38px
}

.insight h3 {
    font-size:22px;
    margin:0 0 9px
}

.insight p {
    font-size:12px;
    color:#5e6776;
    margin-bottom:7px;
    line-height:1.7
}

.insight a,.blog-body a {
    font-size:12px;
    font-weight:700;
    color:#a57524
}

.visit {
    display:grid;
    grid-template-columns:33% 67%;
    background:#061b33;
    color:#fff;
    min-height:260px
}

.visit-image {
    overflow:hidden
}

.visit-image img {
    width:100%;
    height:100%;
    object-fit:cover;
    border-top-right-radius: 130px;

}

.visit-content {
    align-self:center;
    padding:40px max(35px,calc((100vw - 1180px)/2)) 40px 55px
}

.visit h2 {
    font-size:clamp(31px,3vw,43px);
    margin:7px 0 12px
}

.visit p {
    font-size:13px;
    line-height:1.8;
    max-width:680px;
    color:#e3e9f2
}

.blog {
    background:#fffcf5
}

.blog-heading {
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:15px;
    margin-bottom:24px
}

.blog-heading h2 {
    margin-bottom:5px
}

.blog-heading p {
    font-size:13px;
    color:var(--muted);
    margin:0
}

.btn-small {
    border:1px solid #b28a48;
    background:transparent;
    padding:10px 16px;
    color:#906725
}

.blog-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:23px
}

.blog-card {
    background:#fff;
    border:1px solid #f0dcb6;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 5px 19px #0000000a
}

.blog-card img {
    height:230px;
    width:100%;
    object-fit:cover
}

.blog-body {
    padding:20px
}

.blog-body small {
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#a27b3a
}

.blog-body h3 {
    font-size:25px;
    margin:7px 0
}

.blog-body p {
    font-size:12px;
    color:#667181;
    line-height:1.7
}

.footer {
    background:linear-gradient(120deg,#061729,#082441);
    color:white;
    padding-top:48px
}

.footer-grid {
    display:grid;
    grid-template-columns:1.1fr 1fr 1fr;
    gap:45px;
    padding-bottom:34px
}

.footer-brand img {
    width:150px;
    height:auto;
    object-fit:contain;
    margin-left: 120px;
}

.footer-brand p {
    max-width:250px;
    font-size:12px;
    color:#b9c4d1
}

.footer h3 {
    font:700 21px var(--serif);
    color:#f8d58a;
    margin:8px 0 17px
}

.footer-links {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px
}

.footer-links a,.email-link {
    font-size:12px;
    color:#e9edf4
}

.footer a:hover {
    color:#f6d391
}

.footer-btn {
    margin-top:22px;
    color:#1b2430!important
}

.copyright {
    display:flex;
    justify-content:space-between;
    gap:10px;
    border-top:1px solid #ffffff26;
    padding:18px 0 23px;
    color:#bbc5d0;
    font-size:10px
}

.detail-dialog {
    width:min(530px,calc(100% - 34px));
    border:1px solid #deb665;
    border-radius:14px;
    box-shadow:0 22px 85px #0007;
    padding:36px;
    background:#fffaf0;
    color:var(--ink)
}

.detail-dialog::backdrop {
    background:#051527b8
}

.detail-dialog h2 {
    font-size:37px;
    margin:8px 0 12px
}

.detail-dialog p {
    font-size:14px;
    line-height:1.8;
    color:#46546b
}

.detail-dialog .dialog-note {
    border-left:3px solid var(--gold);
    padding-left:12px;
    font-size:12px
}

.dialog-close {
    position:absolute;
    top:10px;
    right:14px;
    border:0;
    background:transparent;
    font-size:29px;
    cursor:pointer;
    color:#283651
}

@media(max-width:1150px) {
    .main-nav {
        gap:10px;
        margin-left:0
    }
    .main-nav a {
        font-size:10px
    }
    .header-contact span {
        display:none
    }
    .hero-copy {
        padding-left:130px
    }
}

@media(max-width:900px) {
    .site-header {
        height:76px
    }
    .brand {
        width:100px
    }
    .brand img {
        width:105px;
        height:105px
    }
    .menu-toggle {
        display:flex;
        margin-left:auto;
        background:none;
        border:0;
        width:42px;
        height:40px;
        flex-direction:column;
        justify-content:center;
        gap:6px;
        cursor:pointer
    }
    .menu-toggle span {
        height:2px;
        background:#f7ce80;
        width:26px
    }
    .main-nav {
        display:none;
        position:absolute;
        top:76px;
        left:0;
        right:0;
        background:#06182e;
        padding:28px;
        flex-direction:column;
        align-items:flex-start;
        gap:18px;
        box-shadow:0 20px 30px #0004;
        white-space:normal
    }
    .main-nav.open {
        display:flex
    }
    .main-nav a {
        font-size:14px
    }
    .header-contact {
        margin-left:0
    }
    .hero-copy {
        padding-left:90px
    }
    .hero-photograph {
        left:38%
    }
    .topic-grid {
        grid-template-columns:repeat(2,1fr)
    }
    .intro-grid {
        gap:4%
    }
    .insights-grid {
        grid-template-columns:1fr
    }
    .visit {
        grid-template-columns:40% 60%
    }
    .visit-content {
        padding:30px
    }
    .book-grid {
        grid-template-columns:35% 65%
    }
    .book-art {
        padding:25px
    }
    .book-volume {
        width:175px
    }
}

@media(max-width:620px) {
    .shell {
        width:min(100% - 34px,1180px)
    }
    .site-header {
        height:70px
    }
    .brand {
        width:82px
    }
    .brand img {
        height:92px;
        width:92px
    }
    .main-nav {
        top:70px
    }
    .header-contact {
        padding:7px 10px
    }
    .hero {
        min-height:675px
    }
    .hero-photograph {
        inset:0 0 auto 0;
        height:49%;
        background-position:center
    }
    .hero-shade {
        background:linear-gradient(0deg,#06182e 30%,#06182eed 49%,transparent 78%)
    }
    .hero-inner {
        min-height:675px;
        align-items:flex-end
    }
    .hero-copy {
        padding:0 0 47px;
        max-width:100%
    }
    .hero-copy .eyebrow {
        font-size:9px
    }
    h1 {
        font-size:clamp(47px,11vw,65px)
    }
    .hero-subtitle {
        font-size:23px
    }
    .hero-description {
        font-size:12px;
        line-height:1.8
    }
    .section-pad {
        padding-block:48px
    }
    .intro-grid,.book-grid,.footer-grid {
        grid-template-columns:1fr
    }
    .intro h2,.section-heading h2,.blog h2 {
        font-size:38px
    }
    .intro p {
        font-size:13px
    }
    .quote-card {
        padding:24px;
        margin-top:9px
    }
    .quote-card blockquote {
        font-size:24px
    }
    .book-grid {
        gap:0
    }
    .book-art {
        padding:38px 0 5px
    }
    .book-volume {
        width:175px
    }
    .book-text {
        padding:25px 0 45px
    }
    .book-text h2 {
        font-size:35px
    }
    .book-text p {
        font-size:13px
    }
    .topic-grid {
        gap:12px
    }
    .topic-card>img {
        height:95px
    }
    .topic-label {
        font-size:15px;
        padding:8px;
        gap:5px;
        min-height:61px
    }
    .topic-symbol {
        width:28px;
        height:28px;
        font-size:14px;
        margin-top:-21px
    }
    .insights-grid {
        gap:12px
    }
    .visit {
        grid-template-columns:1fr
    }
    .visit-image {
        height:185px
    }
    .visit-content {
        padding:35px 20px 40px
    }
    .visit h2 {
        font-size:35px
    }
    .blog-heading {
        align-items:flex-start;
        flex-direction:column
    }
    .blog-grid {
        grid-template-columns:1fr
    }
    .blog-card img {
        height:175px
    }
    .footer-grid {
        gap:18px
    }
    .footer-brand img {
        width:105px;
        height:105px
    }
    .copyright {
        flex-direction:column
    }
    .actions {
        gap:10px
    }
    .btn {
        font-size:11px;
        padding:12px 14px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior:auto
    }
    * {
        transition:none!important
    }
}
