/* alexwilliams.net – static holding site. Mirrors /css/style.css from the original site. */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #fff;
  color: #000;
  font-family: "Myriad Pro", Arial, Verdana, Tahoma, sans-serif;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
img { border: 0; max-width: 100%; height: auto; }
a { color: #000; text-decoration: none; }
a:hover, a:focus { color: #0093d5; }
h1, h2, h3, h4, h5, p, ul { margin: 0; padding: 0; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 16px; }

/* ---------- header + paint-splash menu ---------- */
.site-header { padding: 28px 0 37px; }
.head { display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; }
.logo { flex: 0 0 auto; padding-left: 2%; }
.logo img { display: block; width: 90px; height: 90px; }
#site-nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 22px; }
#site-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 87px; height: 95px; padding-top: 11px;
  background: url(/images/home.png) no-repeat center 8px / 120% auto;
  font-family: "Bradley Hand ITC", "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive;
  font-size: 12px; font-weight: bold; font-style: italic; letter-spacing: 1px; line-height: 1.1;
  text-align: center; color: #d4a742;
  transition: opacity .3s, color .3s;
}
#site-nav a:hover, #site-nav a:focus-visible { opacity: .6; color: #fce726; }
#site-nav a.current { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
#site-nav a.about   { background-image: url(/images/about.png);   color: #fce726; width: 80px; }
#site-nav a.gallery { background-image: url(/images/gallery.png); color: #fce726; width: 110px; }
#site-nav a.media   { background-image: url(/images/media.png);   color: #fc20b2; width: 85px; }
#site-nav a.studio  { background-image: url(/images/studio.png);  color: #1ee0e7; width: 86px; }
#site-nav a.contact { background-image: url(/images/contact.png); color: #ffffff; width: 132px; }
.menu-toggle { display: none; }

/* ---------- home / about / contact ---------- */
.two-col { display: flex; gap: 3%; position: relative; padding-right: 40px; }
.profile { flex: 0 0 50%; }
.profile h1 { font-size: 50px; line-height: 1; color: #0093d5; padding: 0 0 17px; letter-spacing: 3px; font-weight: normal; }
.profile h1 span { color: #f62504; }
.profile h2 { font-size: 22px; color: #0093d5; letter-spacing: 3px; font-weight: normal; padding: 0 0 14px; }
.profile h3 { font-size: 16px; line-height: 1.2; color: #000; padding: 0 0 13px; font-weight: normal; }
.profile p { font-size: 12.5px; line-height: 1.45; color: #000; padding: 0 0 10px; text-align: justify; }
.profile .about-img { float: left; width: 279px; max-width: 45%; margin: 0 16px 10px 0; }
.art { flex: 1 1 auto; padding-top: 66px; }
.art img { display: block; width: 80%; }
.art p { font-size: 12.5px; line-height: 1.45; padding-top: 10px; }
.art a { color: #0093d5; }
.copy span {
  position: absolute; right: 16px; top: 76px;
  font-size: 12px; line-height: 14px; color: #94887c; letter-spacing: .5px; white-space: nowrap;
  transform: rotate(-90deg) translateX(0); transform-origin: top right;
}
.video { padding: 30px 0 0; text-align: center; }
.video img { display: block; width: 100%; }

.contact p a { color: #0093d5; }
.contact-form { display: grid; gap: 12px; max-width: 420px; margin-top: 6px; }
.contact-form input, .contact-form textarea {
  font: inherit; font-size: 14px; padding: 8px 10px; border: 2px solid #c3c3c3; border-radius: 0; width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #0093d5; }
.contact-form button {
  justify-self: start; font: inherit; font-size: 14px; letter-spacing: 1px; cursor: pointer;
  background: #0093d5; color: #fff; border: 0; padding: 9px 26px;
}
.contact-form button:hover { background: #f62504; }
.thanks { border-left: 4px solid #0093d5; background: #f2f9fd; padding: 10px 14px; margin: 0 0 14px; }

/* ---------- gallery grids ---------- */
.gallery-items { padding: 0 0 30px; }
.gallery-items .container { position: relative; padding-right: 40px; }
.galler_types h2 { font-size: 18px; line-height: 1.2; color: #999; padding: 0 0 20px; font-weight: 400; letter-spacing: 1px; }
.galler_types .crumbs { font-size: 13px; padding: 0 0 6px; }
.galler_types .crumbs a { color: #e41a1a; }
.galler_types .intro { font-size: 13px; color: #676767; padding: 0 0 16px; }
.grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px 1%; }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 20px 2%; }
.grid li { padding: 8px; border: 2px solid #c3c3c3; text-align: center; background: #fff; }
.tile { all: unset; display: block; cursor: zoom-in; position: relative; }
a.tile, a.tile-link { cursor: pointer; display: block; }
.tile:focus-visible, a.tile-link:focus-visible { outline: 3px solid #0093d5; outline-offset: 3px; }
.grid li img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fafafa; margin: 0 0 10px; }
.grid.covers li img { object-fit: cover; }
.grid-2 li img { aspect-ratio: 16 / 9; object-fit: cover; }
.grid li h4 { font-size: 14px; line-height: 1.2; color: #e41a1a; padding: 0 0 6px; font-weight: 400; }
.grid li h5 { font-size: 13px; line-height: 1.2; color: #676767; padding: 0 0 4px; font-weight: 400; }
.grid li .sold { display: inline-block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: #fff; background: #e41a1a; padding: 1px 6px; border-radius: 2px; }
.video-tile .play {
  position: absolute; left: 50%; top: calc(50% - 5px); transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 22px; padding-left: 4px;
}
.media-list .dl { font-size: 12px; color: #676767; }
.media-list .dl a { color: #0093d5; }
.catalogue { width: 100%; aspect-ratio: 960 / 569; border: 2px solid #c3c3c3; background: #f4f4f4; }
.catalogue iframe { display: block; width: 100%; height: 100%; border: 0; }

.site-footer { display: none; text-align: center; font-size: 12px; color: #94887c; padding: 20px 0; }

/* ---------- lightbox (dark, like the original "minimalist-dark" theme) ---------- */
dialog.lb { border: 0; padding: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; background: rgba(10,10,10,.96); color: #eee; }
dialog.lb::backdrop { background: rgba(10,10,10,.96); }
.lb-wrap { display: flex; flex-direction: column; height: 100%; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; font-size: 13px; color: #aaa; }
.lb-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; position: relative; padding: 0 64px; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; object-fit: contain; background: #111; box-shadow: 0 8px 40px rgba(0,0,0,.6); }
.lb-cap { text-align: center; padding: 12px 20px 20px; font-size: 15px; min-height: 3.2em; }
.lb-cap strong { color: #fff; font-weight: 400; font-size: 17px; }
.lb-cap .meta { display: block; color: #aaa; font-size: 13px; margin-top: 3px; }
.lb-cap .sold { color: #ff5a4a; text-transform: uppercase; letter-spacing: 1px; font-size: 12px; margin-left: 6px; }
.lb-btn { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25); width: 46px; height: 46px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; }
.lb-btn:hover, .lb-btn:focus-visible { background: #0093d5; border-color: #0093d5; outline: none; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 10px; } .lb-next { right: 10px; }
.lb-close { font-size: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .site-header { padding: 16px 0 20px; }
  .menu-toggle {
    display: block; position: relative; width: 48px; height: 48px; border: 0; border-radius: 5px;
    background: #f05e50; cursor: pointer;
  }
  .menu-toggle span:first-child, .menu-toggle span:first-child::before, .menu-toggle span:first-child::after {
    position: absolute; left: 9px; right: 9px; height: 4px; background: #000; content: ""; display: block;
  }
  .menu-toggle span:first-child { top: 22px; }
  .menu-toggle span:first-child::before { top: -10px; left: 0; right: 0; }
  .menu-toggle span:first-child::after { top: 10px; left: 0; right: 0; }
  .menu-toggle[aria-expanded="true"] span:first-child { background: transparent; }
  .menu-toggle[aria-expanded="true"] span:first-child::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:first-child::after { top: 0; transform: rotate(-45deg); }
  .head { flex-wrap: wrap; }
  #site-nav { display: none; width: 100%; }
  #site-nav.open { display: block; }
  #site-nav ul { justify-content: center; gap: 4px 10px; padding-top: 10px; }
  .two-col { flex-direction: column; padding-right: 0; }
  .profile { flex-basis: auto; }
  .profile h1 { font-size: 38px; }
  .art { padding-top: 10px; }
  .art img { width: 100%; }
  .copy { display: none; }
  .gallery-items .container { padding-right: 16px; }
  .site-footer { display: block; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px 3%; }
  .grid-2 { grid-template-columns: 1fr; }
  .lb-stage { padding: 0 6px; }
  .lb-prev, .lb-next { top: auto; bottom: 6px; transform: none; }
}
