/* Adventures (2010) — alternate style, for nostalgia. The FIU-era template
   (nctheme.css): MidnightBlue→DarkSlateGray, a Palatino title on the ridge
   photo, white panels, and quotes.txt in the footer. Same markup as Ridge. */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --nav: #506ea2;
    --ink: #24324a;
    --soft: #5b6b85;
    --paper: #ffffff;
    --width: min(52rem, 100% - 2rem);
}

html {
    background: linear-gradient(180deg, midnightblue, darkslategray) fixed;
    min-height: 100%;
}

body {
    font-family: "Trebuchet MS", "Lucida Grande", sans-serif;
    letter-spacing: 0.02em;
    color: var(--ink);
    line-height: 1.6;
    padding: 2.5rem 0 1.5rem;
}

.container {
    width: var(--width);
    margin: 0 auto;
}

/* The name sits on the photo header, like "The Adventures of Michael Tracy" */
.identity {
    position: relative;
    height: 190px;
    border-radius: 2em 2em 0 0;
    background: #17310a url('assets/ridge.jpg') center 58% / cover;
    overflow: hidden;
}

.identity::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 20, 45, 0) 30%, rgba(10, 20, 45, 0.55));
}

.avatar {
    position: absolute;
    left: 1.5rem;
    bottom: 1.25rem;
    z-index: 1;
    width: 70px;
    height: 70px;
    border: 2px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.content {
    position: absolute;
    right: 1.75rem;
    bottom: 1.25rem;
    z-index: 1;
    text-align: right;
}

.name {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, "P052", serif;
    font-weight: normal;
    font-size: 2.6rem;
    line-height: 1.15;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.prefix { display: block; font-size: 2rem; }
.role { display: none; }

/* Each section is one of the template's white panels */
.panel {
    margin-top: 0.6rem;
    background: var(--paper);
    padding: 1.5rem 1.75rem;
}

.panel small,
.panel.pitch h2 {
    display: block;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, "P052", serif;
    font-size: 1.6rem;
    font-weight: normal;
    margin-bottom: 0.75rem;
}

.panel small::after { content: '\2026'; }

.panel h2 {
    font-size: 1.1rem;
    color: var(--nav);
}

.panel p { margin-top: 0.6rem; color: var(--soft); }
.panel a { color: var(--nav); }

.btn {
    font-weight: bold;
    text-decoration: none;
}

.btn::before { content: '\2709\00a0'; }
.btn:hover { text-decoration: underline; }

.contact-form { margin-top: 1rem; display: grid; gap: 0.75rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0.75rem; }
.contact-form label { display: grid; gap: 0.25rem; font-weight: bold; font-size: 0.9rem; color: var(--nav); }

.contact-form input,
.contact-form textarea {
    font: inherit;
    font-weight: normal;
    color: var(--ink);
    background: #f2f5fa;
    border: 1px solid #c5d0e2;
    border-radius: 4px;
    padding: 0.5rem 0.6rem;
}

.contact-form textarea { resize: vertical; }

button.btn {
    font: inherit;
    font-weight: bold;
    color: white;
    background: var(--nav);
    border: none;
    border-radius: 4px;
    padding: 0.45rem 1rem;
    cursor: pointer;
}

button.btn::before { content: none; }
.gotcha { position: absolute; left: -9999px; }

.services {
    list-style: none;
    display: grid;
    gap: 0.6rem;
    margin-top: 1rem;
}

.services li {
    padding: 0.9rem 1rem;
    border-left: 4px solid var(--nav);
    background: #f2f5fa;
    border-radius: 0 6px 6px 0;
}

.services h3 { color: var(--nav); font-size: 1rem; }
.services h3::before { content: '\2692\00a0'; }
.services p { margin-top: 0.25rem; }

.links { list-style: none; display: grid; gap: 0.6rem; }

.panel .card {
    display: block;
    padding: 0.9rem 1rem;
    border-left: 4px solid var(--nav);
    background: #f2f5fa;
    border-radius: 0 6px 6px 0;
    text-decoration: none;
}

.panel .card:hover h3 { text-decoration: underline; }
.card h3 { color: var(--nav); font-size: 1rem; }
.card h3::before { content: '\00bb\00a0'; }
.panel .card p { margin-top: 0.25rem; }

.footer {
    width: var(--width);
    margin: 0.6rem auto 0;
    background: var(--paper);
    border-radius: 0 0 2em 2em;
    padding: 0.9rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--soft);
}

.footer a { color: var(--nav); }
.quote { font-style: italic; transition: opacity 0.6s; }

.style-toggle {
    font: inherit;
    color: var(--nav);
    background: none;
    border: 1px solid var(--nav);
    border-radius: 4px;
    padding: 0.1rem 0.5rem;
    cursor: pointer;
}

@media (max-width: 640px) {
    .identity { height: 160px; }
    .name { font-size: 1.9rem; }
    .prefix { font-size: 1.4rem; }
    .content { right: 1rem; }
    .avatar { width: 52px; height: 52px; left: 1rem; }
}
