:root { color-scheme: light; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: #fff; color: #000; font-family: "Century Gothic", CenturyGothic, AppleGothic, Arial, sans-serif; }
a { color: inherit; }
.site-shell { width: 980px; margin: 0 auto; padding: 10px; }
.site-header { height: 85px; display: flex; align-items: flex-start; justify-content: space-between; }
.brand { display: flex; text-decoration: none; }
.brand img { flex: none; width: 71px; height: 71px; }
.brand-copy { display: flex; flex-direction: column; margin: 17px 0 0 10px; font-family: Georgia, "Times New Roman", serif; font-weight: 700; white-space: nowrap; }
.brand-copy strong, .brand-copy h1 { margin: 0; font-size: 21px; line-height: 1.22; }
.brand-copy span { font-size: 17px; line-height: 1.35; }
.top-nav { margin-top: 49px; font-family: Georgia, "Times New Roman", serif; font-size: 14px; white-space: nowrap; }
.top-nav a { text-decoration: none; }
.top-nav a:hover, .top-nav a:focus-visible { text-decoration: underline; }
.top-nav i { padding: 0 3px; font-style: normal; }
.menu-toggle { display: none; }
.slider { position: relative; width: 960px; aspect-ratio: 960 / 439; background: #eee; box-shadow: 0 1px 5px #4a4a4a; overflow: hidden; }
.slides, .slide { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide { object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.slide.is-active { opacity: 1; }
.slider-arrow { position: absolute; z-index: 2; top: 50%; width: 32px; height: 42px; border: 0; border-radius: 2px; transform: translateY(-50%); background: rgb(0 0 0 / .38); color: #fff; font: 34px/34px Georgia, serif; cursor: pointer; opacity: 0; transition: opacity .2s; }
.slider:hover .slider-arrow, .slider-arrow:focus-visible { opacity: 1; }
.previous { left: 15px; }
.next { right: 15px; }
.image-nav { display: grid; grid-template-columns: repeat(4, 1fr); width: 960px; margin-top: 7px; }
.image-nav a { position: relative; display: block; overflow: hidden; }
.image-nav img { display: block; width: 100%; height: auto; border: 0; filter: grayscale(100%); transition: filter .2s, transform .3s; }
.image-nav span { position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: 25px; padding-top: 2px; background: rgb(0 0 0 / .6); color: #fcff00; text-align: center; font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
.image-nav a:hover img, .image-nav a:focus-visible img { filter: grayscale(0); transform: scale(1.025); }
footer { float: right; margin: 10px 0; font-family: Georgia, "Times New Roman", serif; font-size: 10px; }
.whatsapp-module { position: fixed; z-index: 50; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 7px 15px 7px 8px; border: 1px solid #4e4e4e; border-radius: 2px; background: #666; color: #fcff00; box-shadow: 0 4px 18px rgb(0 0 0 / .25); text-decoration: none; font-family: "Century Gothic", Arial, sans-serif; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.whatsapp-module:hover, .whatsapp-module:focus-visible { background: #4e4e4e; color: #fcff00; transform: translateY(-2px); box-shadow: 0 6px 22px rgb(0 0 0 / .32); }
.whatsapp-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 0; background: #fcff00; }
.whatsapp-icon svg { width: 28px; height: 28px; fill: #555; }
.whatsapp-copy { display: grid; line-height: 1.08; }
.whatsapp-copy strong { font-size: 14px; }
.whatsapp-copy small { margin-top: 3px; font-size: 11px; white-space: nowrap; }
.inner-page { overflow: auto; }
.page-heading { height: 44px; border-top: 3px dashed #000; background: #666; }
.page-heading h1 { float: right; margin: 0 8px; color: #fcff00; font: 400 37px/41px "Century Gothic", Arial, sans-serif; }
.about-grid, .work-grid { position: relative; display: grid; isolation: isolate; }
.about-grid::before, .work-grid::before { content: ""; position: absolute; z-index: -1; pointer-events: none; background-repeat: no-repeat; background-size: contain; opacity: .58; }
.about-grid::before { top: 50px; right: 0; width: 770px; height: 469px; background-image: linear-gradient(rgb(255 255 255 / .24), rgb(255 255 255 / .24)), url('../images/about-back.jpg'); }
.about-grid { grid-template-columns: 130px 115px 235px 135px 205px 140px; align-items: start; }
.about-grid article { min-width: 0; padding: 0 8px 12px; font-family: Georgia, "Times New Roman", serif; font-size: 11px; line-height: 1.28; text-align: left; overflow-wrap: break-word; }
.about-grid h2 { height: 50px; margin: 0 -8px 8px; padding: 6px 8px 0; background: #fffd66; font: 700 11px/1.15 "Century Gothic", Arial, sans-serif; text-align: left; }
.about-grid article { position: relative; }
.plain-list { margin: 0; padding: 0; list-style: none; }
.plain-list li::before { content: "> "; }
.plain-list li { margin-bottom: 3px; }
.profile-link { display: inline-block; margin-top: 5px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.profile-link:hover, .profile-link:focus-visible { background: #fffd66; }
.work-grid::before { inset: 70px 0 auto 0; width: 957px; height: 750px; background-image: linear-gradient(rgb(255 255 255 / .2), rgb(255 255 255 / .2)), url('../images/our-work-over.jpg'); background-size: contain; background-position: left top; }
.work-grid { grid-template-columns: repeat(9, minmax(0, 1fr)); align-items: start; min-height: 820px; background: transparent; }
.work-grid article { position: relative; min-width: 0; padding: 0 6px 12px 5px; background: transparent; font-family: "Century Gothic", CenturyGothic, AppleGothic, Arial, sans-serif; font-size: 10px; font-weight: 700; line-height: 1.27; letter-spacing: -.01em; text-transform: uppercase; overflow-wrap: normal; word-break: normal; hyphens: none; }
.work-grid article:first-child { padding-left: 7px; }
.work-grid h2 { height: 70px; margin: 0 -6px 9px -5px; padding: 8px 5px 0; background: #fffd66; font: 700 10px/1.18 "Century Gothic", CenturyGothic, AppleGothic, Arial, sans-serif; letter-spacing: .11em; text-align: left; overflow-wrap: break-word; }
.work-grid article:first-child h2 { margin-left: -7px; padding-left: 7px; }
.work-grid h2.continuation span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.work-grid p { margin: 0 0 10px; text-wrap: pretty; }
.work-grid .featured { margin-left: -2px; margin-right: -2px; padding: 2px; background: rgb(255 0 0 / .32); }
.work-grid .featured[data-preview] { cursor: pointer; }
.work-grid .featured[data-preview]:hover, .work-grid .featured[data-preview]:focus-visible { outline: 2px solid #666; outline-offset: 2px; }
.contact-panel { min-height: 469px; padding: 45px 40px; background-color: #fff; background-image: linear-gradient(to right, rgb(255 255 255 / .18), rgb(255 255 255 / .88)), url('../images/about-back.jpg'); background-repeat: no-repeat; background-size: auto 100%; background-position: left center; display: grid; grid-template-columns: minmax(280px, 580px) 1fr; gap: 42px; }
.contact-form { display: grid; gap: 10px; max-width: 560px; padding: 22px; background: rgb(255 255 255 / .86); box-shadow: 0 1px 7px rgb(0 0 0 / .18); }
.contact-form label { display: grid; grid-template-columns: 100px 1fr; align-items: start; gap: 10px; font-size: 13px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #777; border-radius: 0; padding: 7px; background: rgb(255 255 255 / .9); font: inherit; }
.contact-form button { justify-self: end; border: 0; padding: 9px 16px; background: #666; color: #fcff00; font-weight: 700; cursor: pointer; }
.form-intro, .form-status { margin: 0; font-size: 13px; }
.contact-note { align-self: start; padding: 18px; background: rgb(255 253 102 / .9); font-size: 13px; line-height: 1.45; }
.contact-note h2 { margin-top: 0; font-size: 16px; }
.contact-details { font-style: normal; }
.contact-details p { margin: 14px 0; }
.contact-details a { color: #000; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 2px; overflow-wrap: anywhere; }
.contact-whatsapp { display: inline-block; padding: 8px 11px; background: #666; color: #fcff00 !important; text-decoration: none; }
.contact-whatsapp:hover, .contact-whatsapp:focus-visible { background: #4e4e4e; }
.project-dialog { width: min(900px, calc(100% - 30px)); padding: 0; border: 0; background: #fff; box-shadow: 0 12px 45px rgb(0 0 0 / .45); }
.project-dialog::backdrop { background: rgb(0 0 0 / .75); }
.project-dialog figure { margin: 0; }
.project-dialog img { display: block; width: 100%; max-height: 75vh; object-fit: contain; background: #eee; }
.project-dialog figcaption { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 12px 16px; background: #666; color: #fcff00; font-weight: 700; }
.project-dialog button { border: 1px solid #fcff00; background: transparent; color: #fcff00; padding: 6px 10px; cursor: pointer; }

@media (max-width: 999px) {
  .site-shell, .slider, .image-nav { width: 100%; }
  .site-shell { padding: 10px 14px; }
  .site-header { height: auto; min-height: 85px; }
  .top-nav { margin-top: 48px; }
  .about-grid { grid-template-columns: repeat(2, 1fr); background: none; }
  .about-grid article { padding: 14px; }
  .about-grid h2 { height: auto; min-height: 45px; margin: -14px -14px 10px; padding: 10px 14px; }
  .work-grid { grid-template-columns: repeat(3, 1fr); background: none; }
  .work-grid article { padding: 14px; font-size: 11px; line-height: 1.35; }
  .work-grid h2 { height: auto; min-height: 45px; margin: -14px -14px 10px; padding: 10px 14px; font-size: 11px; }
  .work-grid article:first-child h2 { margin-left: -14px; padding-left: 14px; }
  .work-grid h2.continuation { min-height: 0; height: 0; margin: 0; padding: 0; background: transparent; }
}
@media (max-width: 720px) {
  .site-header { position: relative; align-items: flex-start; padding-bottom: 10px; }
  .brand-copy { margin-top: 14px; white-space: normal; }
  .brand-copy strong { font-size: clamp(16px, 4.5vw, 21px); }
  .brand-copy span { font-size: clamp(12px, 3.4vw, 17px); }
  .menu-toggle { display: block; margin: 19px 0 0 10px; border: 1px solid #777; background: #fff; padding: 7px 10px; font: inherit; cursor: pointer; }
  .top-nav { display: none; position: absolute; z-index: 5; top: 68px; right: 0; margin: 0; padding: 10px 14px; border: 1px solid #aaa; background: #fff; box-shadow: 0 3px 8px rgb(0 0 0 / .18); }
  .top-nav.is-open { display: grid; gap: 8px; }
  .top-nav i { display: none; }
  .image-nav { grid-template-columns: repeat(2, 1fr); gap: 1px; }
  .slider-arrow { opacity: .7; }
  footer { float: none; text-align: right; line-height: 1.4; }
  body { padding-bottom: 72px; }
  .page-heading h1 { font-size: 29px; line-height: 41px; }
  .about-grid, .work-grid { grid-template-columns: 1fr; }
  .about-grid article, .work-grid article { border-bottom: 1px solid rgb(0 0 0 / .16); }
  .contact-panel { grid-template-columns: 1fr; padding: 20px 14px; gap: 18px; }
  .contact-form { padding: 16px; }
  .contact-form label { grid-template-columns: 1fr; gap: 4px; }
  .whatsapp-module { right: 14px; bottom: 14px; min-height: 50px; padding: 5px; }
  .whatsapp-icon { width: 40px; height: 40px; }
  .whatsapp-copy { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .slide, .image-nav img { transition: none; } }
