* { box-sizing: border-box; }
body { margin: 0; background: #f8f7f4; color: #242522; font: 16px/1.5 system-ui, sans-serif; }
header { background: white; border-bottom: 1px solid #e4e2dd; }
nav, main { width: min(1200px, 100% - 32px); margin-inline: auto; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding: 14px 0; }
a { color: #834016; text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid #a54412; outline-offset: 4px; }
.brand { color: #242522; font-size: 21px; font-weight: 800; text-decoration: none; }
main { padding-block: 28px 56px; }
h1 { margin: 0 0 24px; font-size: clamp(30px, 5vw, 50px); line-height: 1.1; letter-spacing: -.035em; }
.gallery-intro { max-width: 64ch; margin: -10px 0 24px; color: #565750; font-size: 1rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 20px; }
.card { display: block; overflow: hidden; border: 1px solid #e4e2dd; border-radius: 15px; color: inherit; background: white; text-decoration: none; }
.card:hover { border-color: #a54412; }
.card img { display: block; width: 100%; height: auto; background: #eeeae3; border-bottom: 1px solid #e4e2dd; }
.details { padding: 16px; }
h2 { margin: 0 0 12px; font-size: 20px; }
dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
dt, p { color: #565750; font-size: 13px; }
dd { margin: 2px 0 0; font-weight: 750; }
p { margin: 10px 0 14px; }
.action { color: #834016; font-weight: 700; }
.preview { width: min(1680px, 100% - 24px); padding-block: 16px; }
.preview-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 14px; }
.preview h1 { margin: 0; font-size: clamp(25px, 4vw, 36px); }
iframe { display: block; width: 100%; height: 82vh; min-height: 430px; border: 1px solid #e4e2dd; border-radius: 12px; background: white; }

.preview-image { max-width: 800px; }
.preview-image img { display: block; width: 100%; height: auto; border: 1px solid #e4e2dd; border-radius: 12px; }
.preview-image dl { margin-top: 16px; }

.trial-card { display: flex; flex-direction: column; gap: 8px; }
.trial-card .card { flex: 1; }
.trial-link { display: block; border-radius: 8px; background: #834016; color: white; padding: 10px 14px; text-align: center; font-weight: 700; text-decoration: none; }
.trial-link:hover { background: #643213; }
