@font-face { font-family: Caption; src: url('../fonts/serif-italic.woff') format('woff'); font-style: italic; font-display: swap; }
:root { --maxw: 960px; --blue: #0000ff; --paper: #f3f1e5; --purple: #7747de; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body { margin: 0; color: #555; background: #e5e5e5; font: 14px/1.6 Arial, sans-serif; }
a { color: inherit; } a:focus-visible, summary:focus-visible { outline: 3px solid #a84312; outline-offset: 4px; } a:active { opacity: .75; }
img { max-width: 100%; height: auto; } figure { margin: 0; }
.wrap { width: min(var(--maxw), calc(100% - 40px)); margin-inline: auto; }
.site-header { height: 126px; background: url('../img/header.png') repeat-x; position: relative; z-index: 1; }
.header-inner { display: flex; justify-content: space-between; align-items: flex-start; }
.brand { width: 261px; height: 126px; flex-shrink: 1; }
nav ul { padding: 0; margin: 39px 0 0; list-style: none; display: flex; border-radius: 3px; background: var(--purple); }
nav li+li { border-left: 2px solid #9663e4; }
nav a { display: block; width: 119px; height: 48px; line-height: 48px; font-weight: bold; text-align: center; color: #ababc2; text-decoration: none; }
.site-header nav a:hover, .site-header nav li:first-child a { background: url('../img/navigation.png') 0 0; color: #eff0ea; text-shadow: 1px 1px #c9732a; }
.home { margin-top: -126px; padding-top: 126px; height: 480px; background: var(--paper) url('../img/pharmaceuticals.jpg') no-repeat center top; }
.home-copy { width: 400px; padding-top: 30px; }
h1 { color: #e39419; font: italic 24px/36px Caption, Georgia, serif; margin: 0; padding: 0 0 30px; background: url('../img/heading-shadow.png') no-repeat left bottom; }
.home-copy p { color: var(--blue); font-size: 12px; line-height: 22px; margin: 0; padding: 0 8px 24px 0; text-align: justify; }
.directors-region { border-top: 1px solid #e95758; background: url('../img/background.jpg') repeat; }
.directors-layout { display: grid; grid-template-columns: 560px 330px; gap: 70px; min-height: 520px; background: url('../img/pharmaceuticals.jpg') no-repeat center -618px; padding-top: 30px; }
.directors-layout > *, .about-layout > * { min-width: 0; }
.director { display: grid; grid-template-columns: 132px 1fr; gap: 20px; margin-bottom: 30px; }
.director img { border: 3px solid #fff; box-shadow: 0 4px 3px -3px #aaa; }
.director p { color: var(--blue); font-size: 12px; line-height: 20px; margin: 0; text-align: justify; }
.social h2 { color: #fcb654; font: italic 18px/24px Caption, Georgia, serif; margin: 0 0 10px; text-align: center; text-shadow: 1px 1px #250400; }
.social ul { list-style: none; padding: 0; margin: 0; }
.social li { padding: 32px 0 12px; text-align: center; background: url('../img/social-divider.png') center top no-repeat; }
.social li:first-child { background: none; }
.social span { display: flex; align-items: center; justify-content: center; gap: 35px; color: #f0f0e4; font: italic 18px/24px Caption, Georgia, serif; text-shadow: 1px 1px #030000; }
.social svg { fill: #7a0c0c; flex: none; }
.content-section { padding-block: 55px; border-bottom: 1px solid #c9c9d9; color: var(--blue); scroll-margin-top: 20px; }
.content-section h2 { font: italic 24px/1.5 Caption, Georgia, serif; color: #e39419; margin: 0 0 24px; }
.content-section p { margin: 0 0 24px; line-height: 22px; }
.about-layout { display: grid; grid-template-columns: 1fr 308px; gap: 45px; }
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; background: #fff; padding: 8px; }
.gallery img { width: 100%; display: block; }
.site-footer { width: min(940px,calc(100% - 40px)); margin: 0 auto; padding: 60px 10px 30px; background: url('../img/footer.png') no-repeat center top; color: #3b0c06; font: 10px/18px 'Trebuchet MS',Arial,sans-serif; text-align: center; }
.site-footer nav ul { margin: 0; background: none; justify-content: center; flex-wrap: wrap; }
.site-footer nav li { border: none; }
.site-footer nav a { display: inline; width: auto; height: auto; line-height: 18px; font-size: 10px; color: #3b0c06; border-right: 1px solid #3b0c06; padding: 0 5px; background: none; text-shadow: none; }
.site-footer p { margin: 8px 0 0; }
@media (max-width: 1000px) {
 .directors-layout { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; }
 .brand { flex: 1; min-width: 0; } nav a { width: 105px; }
}
@media (max-width: 767px) {
 .site-header { height: auto; min-height: 88px; } .header-inner { display: block; padding-block: 18px; } .brand { display: none; }
 nav ul { margin: 0; justify-content: space-between; } nav li { flex: 1; } nav a { width: auto; font-size: 12px; }
 .home { margin: 0; padding-top: 0; height: auto; min-height: 0; padding-bottom: 110px; background-size: auto 800px; background-position: 35% -90px; }
 .home-copy { width: min(400px,100%); padding-top: 24px; background: #ffffffeb; } h1 { font-size: 22px; }
 .directors-layout { grid-template-columns: 1fr; min-height: 0; padding-block: 30px; gap: 20px; }
 .director { grid-template-columns: 100px 1fr; gap: 16px; }
 .social { max-width: 330px; margin: 0 auto; width: 100%; }
 .about-layout { grid-template-columns: 1fr; gap: 20px; } .gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .content-section { padding-block: 36px; } .site-footer nav a { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.not-found { min-height: 100vh; display: flex; flex-direction: column; }
.not-found .error-page { flex: 1; width: min(calc(100% - 40px), 960px); margin: auto; padding: 100px 0; }
.not-found footer { margin-top: auto; }
.error-page h1 { margin: 0 0 20px; font-size: clamp(32px, 7vw, 64px); }
.home-button { display: inline-block; padding: 14px 24px; margin-top: 20px; color: #fff; background: #383242; text-decoration: none; border-radius: 3px; }
