﻿.history-page h1,.history-page h2{font-family:var(--serif);font-weight:700}.wrap{width:min(1200px,calc(100% - 64px));margin:auto}.history-page [id]{scroll-margin-top:110px}.skip{position:fixed;top:-100px;left:20px;z-index:11001;background:white;padding:12px}.skip:focus{top:10px}.eyebrow{display:block;font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--red);margin-bottom:18px}.history-hero{background:var(--blue-deep);padding:65px 0 80px;overflow:hidden;position:relative}.history-hero:before{content:'';position:absolute;inset:0;background:url('../assets/ornament-deo1-wide.svg') repeat;opacity:.045;pointer-events:none}.hero-grid{display:grid;grid-template-columns:1fr 1.08fr;gap:75px;align-items:center;position:relative}.breadcrumb{display:block;color:#bdcddd;font-size:12px;margin-bottom:48px}.hero-copy h1{font-size:clamp(64px,6.8vw,100px);line-height:.98;color:white;margin:0 0 24px;letter-spacing:-.025em}.hero-copy h1 em{font-weight:500;color:#e3d9c9}.history-page .hero-copy p{color:#e3eaf1!important;font-size:18px!important;line-height:1.8;max-width:420px;margin:24px 0 30px}.hero-ornament{width:220px;height:35px;object-fit:contain;object-position:left}.hero-actions{display:flex;align-items:center;gap:25px;flex-wrap:wrap}.gallery-link{color:#fff;font-size:12px;border-bottom:1px solid #8095aa;padding:10px 0}.hero-photo-wrap{position:relative;padding:18px 0 35px}.hero-photo-wrap:before{content:'';position:absolute;inset:0 20px 50px -18px;border:1px solid #a5b5c155}.hero-photo{width:100%;height:390px;object-fit:cover;position:relative}.photo-note{display:block;color:#b6c5d4;font-size:11px;letter-spacing:.08em;margin-top:16px}.hero-date{position:absolute;bottom:-18px;right:20px;background:#fff;padding:22px 30px;border-bottom:4px solid var(--red);box-shadow:0 12px 30px #0002}.hero-date strong{display:block;font-family:var(--serif);font-size:52px;line-height:1;color:var(--blue)}.hero-date span{font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:#536274}.ornament-band{height:46px;background:#fff url('../assets/ornament-deo-traka.png') repeat-x center;background-size:auto 38px;border-bottom:1px solid #e0e5ec}.intro{text-align:center;padding:80px 0 30px}.history-page h2{font-size:clamp(36px,4vw,52px);color:var(--blue);line-height:1.1}.ornament{width:230px;height:36px;object-fit:contain;margin:22px auto}.years{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:32px}.years a{border:1px solid #ced7e2;padding:10px 18px;color:var(--blue);font-size:13px;font-weight:600}.years a:hover,.years a:focus-visible{background:var(--blue);color:white}.story{padding:10px 0 70px}.chapter{display:grid;grid-template-columns:1fr 1fr;gap:70px;padding:65px 0;align-items:center;border-bottom:1px solid #dce3eb}.year{font-family:var(--serif);font-size:56px;color:var(--red);display:block;margin-bottom:12px;line-height:1}.chapter h2{font-size:38px;margin-bottom:24px}.history-page .chapter p,.history-page .continuity p{font-size:19px!important;line-height:1.9;color:#28384b!important;font-weight:500!important}.story-photo{padding:14px;border:1px solid #d1dbe5;background:white;box-shadow:12px 12px 0 #e8edf3}.story-photo img{width:100%;max-height:470px;object-fit:contain}.story-photo figcaption{font-size:11px;color:#657489;letter-spacing:.03em;margin-top:13px;padding:0 3px}.chapter:nth-child(4) .story-photo{order:-1}.text-only{grid-template-columns:1fr;max-width:860px;margin:auto;padding-left:36px;border-left:3px solid #c62f3240}.continuity{background:#e9eff5;padding:70px 0;border-top:1px solid #d4dfeb;border-bottom:1px solid #d4dfeb;text-align:center}.continuity .wrap{max-width:880px}.continuity p{text-align:left}.archive{padding:80px 0 70px;background:white}.archive-heading{display:flex;align-items:end;justify-content:space-between;gap:24px}.count{color:#61728a;font-size:12px;white-space:nowrap;padding-bottom:8px}.history-page .archive-description{font-size:16px!important;color:#536274!important;line-height:1.8;max-width:720px;margin:24px 0 36px}.archive-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 18px}.archive-item{margin:0}.archive-item a{display:block;background:#edf1f5;overflow:hidden}.archive-item img{width:100%;height:210px;object-fit:cover;transition:transform .35s,filter .35s}.archive-item a:hover img{transform:scale(1.035);filter:brightness(1.06)}.archive-item figcaption{font-size:10px;color:#6b7787;margin-top:9px;letter-spacing:.04em}.back{display:block;width:max-content;margin:44px auto 0;font-size:13px;color:var(--blue);border-bottom:1px solid #c3cedb;padding:10px}.history-page a:focus-visible,.history-page button:focus-visible{outline:3px solid var(--red);outline-offset:4px}.lightbox{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;border:0;background:#071625f5;color:white;padding:60px 80px;z-index:11000;margin:0}.lightbox[open]{display:flex;justify-content:center;align-items:center}.lightbox::backdrop{background:#071625}.lightbox img{max-width:100%;max-height:calc(100dvh - 120px);object-fit:contain}.lightbox button{position:absolute;border:1px solid #ffffff50;background:#011f3d;color:white;font-size:32px;cursor:pointer;width:48px;height:48px;line-height:1}.close{top:15px;right:20px}.prev{left:15px;top:50%}.next{right:15px;top:50%}.counter{position:absolute;bottom:20px;left:0;width:100%;text-align:center;font-size:13px}
@media(max-width:1100px){.hero-grid{gap:38px}.hero-photo{height:340px}.chapter{gap:40px}.archive-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:768px){.wrap{width:calc(100% - 40px)}.history-hero{padding:32px 0 65px}.hero-grid{grid-template-columns:1fr;gap:30px}.breadcrumb{margin-bottom:28px}.hero-copy h1{font-size:66px}.hero-photo{height:auto;max-height:360px;object-fit:contain}.hero-photo-wrap{margin-left:12px}.hero-date{bottom:-15px;padding:16px 23px}.hero-date strong{font-size:43px}.intro{padding-top:55px}.years{gap:7px}.years a{padding:9px 12px}.chapter{grid-template-columns:1fr;gap:30px;padding:44px 0}.chapter:nth-child(4) .story-photo{order:initial}.text-only{padding-left:20px;margin-top:25px}.chapter h2{font-size:34px}.year{font-size:47px}.history-page .chapter p,.history-page .continuity p{font-size:18px!important;line-height:1.8!important}.story{padding-bottom:45px}.continuity,.archive{padding:50px 0}.archive-heading{display:block}.count{display:block;margin-top:15px}.archive-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.archive-item img{height:155px}.lightbox{padding:65px 45px}.lightbox button{width:36px;height:42px}.prev{left:4px}.next{right:4px}}
@media(prefers-reduced-motion:reduce){.archive-item img{transition:none}}
