* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    background: #111;
    color: #eee;
    line-height: 1.6;
}

.wrap {
    width: min(1000px, 92%);
    margin: 0 auto;
}

.site-header {
    background: #1a1a1a;
    border-bottom: 1px solid #333;
    padding: 28px 0 20px;
    text-align: center;
}

.site-header h1 {
    margin: 0;
    font-size: 2.2rem;
}

.subtitle {
    margin-top: 8px;
    color: #bbb;
}

.site-nav {
    background: #222;
    border-bottom: 1px solid #333;
}

.site-nav ul {
    margin: 0;
    padding: 12px 0;
    list-style: none;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.site-nav a {
    color: #f0c75e;
    text-decoration: none;
}

.site-nav a:hover {
    text-decoration: underline;
}

main {
    padding: 28px 0;
}

h2, h3 {
    color: #f0c75e;
}

.box {
    background: #1b1b1b;
    border: 1px solid #2d2d2d;
    padding: 18px;
    margin-bottom: 24px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin: 18px 0 28px;
}

.card {
    background: #1b1b1b;
    border: 1px solid #2d2d2d;
    padding: 18px;
}

.button {
    display: inline-block;
    padding: 8px 14px;
    background: #f0c75e;
    color: #111;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
}

.button:hover {
    opacity: 0.9;
}

.meta {
    color: #bbb;
    font-size: 1.2rem;
}

.site-footer {
    background: #1a1a1a;
    border-top: 1px solid #fff;
    text-align: center;
    padding: 18px 0;
    color: #fff;
    font-size: 0.95rem;
}

a {
    color: #f0c75e;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
	border: 2px solid #333;
    padding: 4px;
    background: #000;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 10px;
}.layout-book {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    align-items: start;
}
.gallery figure {
    position: relative;
}

.gallery figure::before {
    content: attr(data-step);
    position: absolute;
    top: 6px;
    left: 6px;
    background: #000;
    color: #f0c75e;
    padding: 2px 6px;
    font-size: 0.8rem;
}
.gallery img {
    cursor: pointer;
}

.book-cover img {
    width: 100%;
}

.book-info h2 {
    margin-top: 0;
}
figure {
    margin: 0;
}

figcaption {
    font-size: 0.9rem;
    color: #bbb;
    margin-top: 6px;
    text-align: center;
}
#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border: 2px solid #444;
}

.fragment {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    border-left: 4px solid #f0c75e;
}
.fragment p {
    margin: 10px 0;
}
.button:hover {
    transform: translateY(-1px);
}
.hero-scene {
    width: 100%;
    margin: 0;
}

.hero-scene img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
}
.hero-subtitle {
    font-size: 1.2rem;
    font-weight: normal;
    color: #c9c1a5;
    margin-top: 6px;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}
.download-box {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 10px;
}

.download-box img {
    width: 130px;
    height: auto;
    border: 1px solid #333;
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
}

.download-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-label {
    font-size: 0.95rem;
    color: #c9c1a5;
    margin: 0;
}

.download-actions {
    display: flex;
    gap: 12px;
}

.btn {
    background: #d6b35a;
    color: #111;
    padding: 8px 14px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 3px;
}

.btn:hover {
    background: #e2c46f;
}

.btn-secondary {
    background: #333;
    color: #ddd;
}

.btn-secondary:hover {
    background: #444;
}
.excerpt p {
    line-height: 1.6;
}
.excerpt {
    margin-top: 10px;
}
.gallery figcaption {
    margin-top: 10px;
    font-style: italic;
    color: #c9c1a5;
    line-height: 1.4;
    text-align: center;
    font-size: 1.2rem;
	max-width: 90%;
    margin-left: auto;
    margin-right: auto;
	position: relative;
}
.hero-full {
    width: 100%;
    height: 400px;       
    overflow: hidden;
    position: relative;
}

.hero-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /*panorama*/
    display: block;
}

.hero-text {
    position: absolute;
    bottom: 38px;
    left: 36px;
    color: #d6b35a;
    font-style: italic;
    font-size: 1.35rem;
    text-shadow: 0 0 10px black;
}
.signature {
    margin: 60px 0 30px;
}

.signature img {
    display: block;
    margin: 0 auto;
    max-width: 280px;
    width: 100%;
    opacity: 0.85;
}
.hero-full {
    width: 100%;
    height: 420px;
    overflow: hidden;
}

.hero-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}