/* Jiya Creation - styles.
   The wood background below is a file from the old WordPress theme.
   After leaving WordPress, save it as images/portfolio-bg.jpg and change the URL. */
:root {
  --bg: #000;
  --fg: #fff;
  --line: rgba(255, 255, 255, .2);
  --accent: #ef7f1a; /* orange used for filter hover/active, Download button, contact icons */
  --wood: #161616 url("../images/portfolio-bg.jpg");
  --heading: "Josefin Sans", sans-serif;
  --nav: "PT Sans Narrow", "Arial Narrow", sans-serif;
  --body: "Droid Sans", "Noto Sans", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 14px/1.75 var(--body); }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--heading); margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* header */
.site-header { position: relative; z-index: 20; background: #000; height: 90px; }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo img { display: block; width: 239px; height: auto; }
.site-header nav { display: flex; margin-right: -20px; }
.site-header nav a { font: 400 14px/90px var(--nav); letter-spacing: .5px; text-transform: uppercase; color: #fff; padding: 0 20px; transition: color .3s ease; }
.site-header nav a:hover { color: var(--accent); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }

/* section headings */
.sec-head { text-align: center; padding: 70px 20px 28px; }
.sec-head h1, .sec-head h2 { font-weight: 100; font-size: clamp(2.2rem, 6vw, 4.4rem); line-height: 1; text-transform: uppercase; }
.sec-head p { margin: 5px 0 0; font-size: 18px; line-height: 24px; }
.sec-head img { display: block; margin: 10px auto 0; max-width: 100%; height: auto; }

/* sliders */
.slider { position: relative; overflow: hidden; background: #111; }
.slider > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transform: translateX(100%); transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.slider > img.on { transform: none; }
.slider .nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 60px; height: 40px; border: 0; background: none; color: #fff; font-size: 18px; line-height: 40px; cursor: pointer; opacity: .7; transition: opacity .3s ease; }
.slider .nav:hover { opacity: 1; }
.slider .prev { left: 0; }
.slider .next { right: 0; }
#hero { aspect-ratio: 1920 / 775; }
#hero .nav { color: #000; }
.car { aspect-ratio: 953 / 469; }

/* catalogue filter + grid */
.filters { text-align: center; padding: 4px 6% 40px; }
.filters button { display: inline-block; margin: 0 10px 20px; font: 400 13px/24px var(--heading); letter-spacing: .5px; text-transform: uppercase; color: #fff; background: transparent; border: 1px solid var(--line); border-radius: 5px; padding: 8px 20px 6px; cursor: pointer; transition: all .3s ease; }
.filters button:hover, .filters button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.wood { background: var(--wood); padding: 40px 35px 70px; }
.grid { position: relative; max-width: 1700px; margin: 0 auto; }
.tile { position: absolute; left: 0; top: 0; display: block; }
.grid.ready .tile { transition: transform .5s ease, opacity .4s ease, visibility .4s; }
.tile.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.frame { display: block; background: #fff; padding: 10px; border: 14px solid; border-color: #2e2e2e #000 #000 #2e2e2e; box-shadow: 0 10px 16px rgba(0, 0, 0, .55); }
.frame img { display: block; width: 100%; height: auto; }
.ph { position: relative; display: block; overflow: hidden; }
.ph img { transition: transform 1.5s ease; }
.tile:hover .ph img { transform: scale(1.2); }
.ov { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.tile:hover .ov, .tile:focus-visible .ov { opacity: 1; }
.ov .lk { position: absolute; left: 50%; top: calc(50% - 63px); width: 47px; height: 47px; margin-left: -23px; border: 1px solid #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.ov .lk svg { width: 20px; height: 20px; fill: #fff; }
.ov .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 10px 30px; background: rgba(0, 0, 0, .1); text-align: center; color: #fff; font: 300 16px/16px var(--heading); letter-spacing: .5px; text-transform: uppercase; }

/* home: category carousels + frames */
.rows { margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; margin: 0; }
.row.rev .rcopy { order: -1; }
.rcopy { display: flex; align-items: center; justify-content: center; padding: 20px 160px; text-align: center; }
.rcopy p { margin: 0; font-size: 14px; line-height: 24px; }
.frames { max-width: 1200px; margin: 0 auto; padding: 0 20px 80px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.frames a { display: block; aspect-ratio: 280 / 190; overflow: hidden; background: #111; }
.frames img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.frames a:hover img { transform: scale(1.06); }
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .92); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb > img { max-width: 90vw; max-height: 88vh; object-fit: contain; }
.lb button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-size: 28px; padding: 16px; }
.lb .x { top: 10px; right: 14px; font-size: 40px; }
.lb .p { left: 10px; top: 50%; }
.lb .n { right: 10px; top: 50%; }

/* buttons */
.btn { display: inline-block; font: 400 16px/24px var(--body); color: #fff; background: var(--accent); border: 0; border-radius: 0; padding: 10px 30px; cursor: pointer; }

/* category page */
.cat-single { max-width: 1210px; margin: 0 auto; padding: 75px 20px 90px; }
.cat-single > img { display: block; max-width: 100%; height: auto; }
.cat-single .btn { margin-top: 40px; }
.pn { display: flex; justify-content: space-between; gap: 16px; margin-top: 47px; }
.pn a { display: inline-block; font: 600 13px/24px var(--body); letter-spacing: .5px; text-transform: uppercase; color: #fff; background: #252525; border: 1px solid #252525; padding: 6px 15px 5px; transition: all .3s ease; }
.pn a:hover { background: var(--accent); border-color: var(--accent); }
.pn svg { width: 13px; height: 13px; fill: currentColor; vertical-align: -2px; }
.pn .prev svg { margin-right: 10px; }
.pn .next svg { margin-left: 10px; }
.notfound { text-align: center; padding: 100px 20px; }
.notfound p { margin-bottom: 24px; }

/* text pages (about, contact, disclaimer) */
.page { max-width: 1000px; margin: 0 auto; padding: 0 20px 90px; }
.page h2 { font-weight: 300; font-size: 1.9rem; letter-spacing: 1px; text-transform: uppercase; margin: 36px 0 14px; }
.page p { margin: 0 0 16px; opacity: .88; font-size: 15px; }
.page .lead { font-size: 18px; opacity: 1; }
.page a.link { border-bottom: 1px solid rgba(255, 255, 255, .5); }
.about-me { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: 40px; align-items: start; margin-top: 10px; }
.about-me ul { list-style: none; margin: 0 0 16px; padding: 0; }
.about-me li { margin-bottom: 4px; }
.about-me li b { display: inline-block; min-width: 90px; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* grey page-title bar under the header (Contact page) */
.strip { background: #252525; height: 41px; padding-top: 10px; }
.strip .wrap { max-width: 1170px; }
.strip h1 { font: 400 30px/31px var(--heading); text-transform: uppercase; margin: 0; }

/* contact page */
.contact { max-width: 1200px; margin: 0 auto; padding: 30px 20px 90px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.contact h3 { font-weight: 400; font-size: 26px; letter-spacing: .5px; text-transform: uppercase; margin: 0 0 40px; }
.contact .logo-big img { display: block; width: 239px; height: auto; margin-bottom: 30px; }
.contact ul { list-style: none; margin: 0; padding: 0 0 0 20px; }
.contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: 16px; line-height: 24px; }
.contact li svg { flex: 0 0 12px; width: 12px; height: 16px; margin-top: 4px; fill: var(--accent); }
.contact li a { display: block; max-width: 234px; }
.qr { display: grid; grid-template-columns: repeat(2, minmax(0, 270px)); gap: 30px; padding-left: 15px; }
.qr a { display: block; background: #fff; }
.qr img { display: block; width: 100%; height: auto; aspect-ratio: 1; }


/* about page (matches live: intro, photo + grey cards in a staggered grid) */
.about { max-width: 1210px; margin: 0 auto; padding: 0 20px 90px; }
.about .intro { text-align: center; font-size: 18px; line-height: 30px; max-width: 1040px; margin: 12px auto 109px; }
.about-grid { display: grid; grid-template-columns: 570px 1fr; gap: 30px; align-items: start; }
.about-grid .photo { display: block; width: 100%; height: auto; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 279px)); column-gap: 11px; row-gap: 30px; }
.card { background: #252525; padding: 20px; }
.card h4 { font: 400 16px/16px var(--heading); letter-spacing: .5px; text-transform: uppercase; margin: 0 0 20px; }
.card p { margin: 0; font-size: 14px; line-height: 28px; color: #999; }
.card p.w { color: #fff; line-height: 24px; margin-bottom: 18px; }
.card p a:hover { color: var(--accent); }
.c-me { grid-column: 1; grid-row: 1; min-height: 328px; }
.c-me ul { list-style: none; margin: 0 0 22px; padding: 0; }
.c-me li { display: flex; font-size: 14px; line-height: 24px; margin-bottom: 13px; color: #999; }
.c-me li b { flex: 0 0 72px; font-weight: 400; color: #fff; }
.d-brush { grid-column: 1; grid-row: 2; }
.c-touch { grid-column: 2; grid-row: 2; min-height: 262px; }
.c-follow { grid-column: 1; grid-row: 3; min-height: 260px; }
.d-hash { grid-column: 2; grid-row: 3; }
.deco { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.deco .big { height: 250px; width: auto; max-width: 100%; fill: #252525; }
.c-follow .soc { display: flex; gap: 10px; margin-bottom: 28px; }
.c-follow .soc a { display: block; width: 38px; height: 38px; color: #999; transition: color .3s ease; }
.c-follow .soc svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.c-follow .soc a:hover { color: #fff; }
.c-follow .wg { font: 600 15px/24px var(--heading); letter-spacing: .5px; color: #fff; }

.legal { max-width: 1210px; margin: 0 auto; padding: 12px 20px 90px; text-align: center; }
.legal p { max-width: 1060px; margin: 0 auto 10px; font-size: 18px; line-height: 30px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 50px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.site-footer h4 { font-weight: 400; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.site-footer p { margin: 0 0 10px; opacity: .8; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; margin: 16px 0 0; padding: 0; opacity: .85; }
.site-footer li { margin-bottom: 6px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: 260px; }
.thumbs a { display: block; aspect-ratio: 1; overflow: hidden; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.social { display: flex; gap: 10px; }
.social img { width: 40px; height: 40px; display: block; }
.copy { }
.site-footer .copy { text-align: center; padding: 34px 20px; margin-top: 30px; border-top: 1px solid var(--line); opacity: .7; font-size: 13px; }

/* responsive */
@media (max-width: 1000px) {
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr; }
  .row.rev .rcopy { order: 0; }
  .rcopy { padding: 30px 40px; }
  .about-me { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .qr { padding-left: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about .intro { margin-bottom: 50px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .site-header nav { display: none; position: absolute; top: 90px; left: 0; right: 0; margin-right: 0; background: #000; flex-direction: column; padding: 6px 20px 20px; border-top: 1px solid var(--line); }
  .site-header nav a { line-height: 46px; padding: 0 4px; }
  body.nav-open .site-header nav { display: flex; }
  .logo img { width: 180px; }
  .wood { padding: 24px 16px 50px; }
  .filters { padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 560px) {
  .site-footer .cols { grid-template-columns: 1fr; }
  .sec-head { padding-top: 48px; }
  .cards { grid-template-columns: 1fr; }
  .cards > * { grid-column: 1 !important; grid-row: auto !important; min-height: 0 !important; }
  .deco { display: none; }
}
