@charset "UTF-8";
/*
Theme Name: Anchor
Author: Studio Ancla
Author URI: https://studioancla.com
Description: Safely offshore since 2023.
Version: 10.2
*/
/* Typography ------------------------- */
/* Colors ----------------------------- */
/* Animations ------------------------- */
/* ======================================================================== */
/* =                   _animista-custom.scss – v2                        = */
/* = All animations only run when .anim--run is present                  = */
/* ======================================================================== */
/* =Variables & CSS Variables for Duration/Ease =========================== */
:root {
  --anim-duration: 0.15s;
  --anim-ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* =Helper – initial state + runtime flag ================================= */
[data-anim] {
  opacity: 0;
}

.anim--run {
  opacity: 1;
}

/* ======================================================================== */
/* =                             Keyframes                                = */
/* ======================================================================== */
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fade-in-down {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fade-in-left {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fade-in-right {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slide-in-up {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes slide-in-left {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes slide-in-right {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes zoom-in {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes scale-up-center {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    letter-spacing: normal;
    opacity: 1;
  }
}
@keyframes text-focus-in {
  0% {
    filter: blur(12px);
    opacity: 0;
  }
  100% {
    filter: blur(0);
    opacity: 1;
  }
}
@keyframes rotate-in-center {
  0% {
    transform: rotate(-360deg);
    opacity: 0;
  }
  100% {
    transform: rotate(0);
    opacity: 1;
  }
}
@keyframes swirl-in-fwd {
  0% {
    transform: rotate(-540deg) translateY(-100%) scale(0);
    transform-origin: 100% 100%;
    opacity: 0;
  }
  100% {
    transform: rotate(0) translateY(0) scale(1);
    transform-origin: 50% 50%;
    opacity: 1;
  }
}
@keyframes flip-in-diag-2-br {
  0% {
    transform: rotate3d(1, 1, 0, 90deg);
    transform-origin: 100% 100%;
    opacity: 0;
  }
  100% {
    transform: rotate3d(0, 0, 0, 0);
    transform-origin: 50% 50%;
    opacity: 1;
  }
}
@keyframes fade-in-fwd {
  0% {
    transform: translateZ(-80px);
    opacity: 0;
  }
  100% {
    transform: translateZ(0);
    opacity: 1;
  }
}
/* ======================================================================== */
/* =                           Animation Rules                            = */
/* ======================================================================== */
.anim--run.anim-fade-in {
  animation: fade-in var(--anim-duration) var(--anim-ease) both;
}

.anim--run.anim-fade-in-up {
  animation: fade-in-up var(--anim-duration) var(--anim-ease) both;
}

.anim--run.anim-fade-in-down {
  animation: fade-in-down var(--anim-duration) var(--anim-ease) both;
}

.anim--run.anim-fade-in-left {
  animation: fade-in-left var(--anim-duration) var(--anim-ease) both;
}

.anim--run.anim-fade-in-right {
  animation: fade-in-right var(--anim-duration) var(--anim-ease) both;
}

.anim--run.anim-slide-in-up, .anim--run.slide-in-up {
  animation: slide-in-up var(--anim-duration) var(--anim-ease) both;
}

.anim--run.anim-slide-in-left, .anim--run.slide-in-left {
  animation: slide-in-left var(--anim-duration) var(--anim-ease) both;
}

.anim--run.anim-slide-in-right, .anim--run.slide-in-right {
  animation: slide-in-right var(--anim-duration) var(--anim-ease) both;
}

.anim--run.anim-zoom-in {
  animation: zoom-in var(--anim-duration) var(--anim-ease) both;
}

.anim--run.anim-scale-up-center {
  animation: scale-up-center var(--anim-duration) var(--anim-ease) both;
}

.anim--run.anim-tracking-in-expand {
  animation: tracking-in-expand var(--anim-duration) var(--anim-ease) both;
}

.anim--run.anim-text-focus-in {
  animation: text-focus-in var(--anim-duration) var(--anim-ease) both;
}

.anim--run.anim-rotate-in-center {
  animation: rotate-in-center var(--anim-duration) var(--anim-ease) both;
}

.anim--run.anim-swirl-in-fwd {
  animation: swirl-in-fwd var(--anim-duration) var(--anim-ease) both;
}

.anim--run.anim-flip-in-diag-2-br {
  animation: flip-in-diag-2-br var(--anim-duration) var(--anim-ease) both;
}

.anim--run.anim-fade-in-fwd {
  animation: fade-in-fwd var(--anim-duration) var(--anim-ease) both;
}

/* =Aliases for slide-in (optional)======================================= */
/* =Duration Helper Classes================================================
   Use in admin CSS Class(es):
     anim-dur-05 → 0.5s
     anim-dur-10 → 1.0s
     anim-dur-15 → 1.5s
     anim-dur-20 → 2.0s
=========================================================================== */
.anim-dur-05 {
  --anim-duration: 0.5s !important;
}

.anim-dur-10 {
  --anim-duration: 1.0s !important;
}

.anim-dur-15 {
  --anim-duration: 1.5s !important;
}

.anim-dur-20 {
  --anim-duration: 2.0s !important;
}

/* =Accessibility – reduced motion========================================= */
@media (prefers-reduced-motion: reduce) {
  [data-anim] {
    animation: none !important;
    transform: none !important;
  }
}
/* Mixins ----------------------------- */
/* Utility Classes -------------------- */
.set-width {
  max-width: 90vw;
  margin: 0 auto;
}

.kill-width {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
}

.hug-top {
  margin-top: -5rem;
}

.hug-bottom {
  margin-bottom: -5rem;
}

/* Reset ------------------------------ */
* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}

html, body {
  overscroll-behavior: contain;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0 auto;
  padding: 0;
  background: #fefefe;
  height: 100%;
}

/* Typography ------------------------- */
h1, h2, h3, h4, h5 {
  font-family: "warbler-text", serif;
  color: #252C49;
  margin: 20px 0;
  line-height: 1.1em;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.5em;
}

h3 {
  font-size: 1.3em;
}

h4 {
  font-size: 1em;
}

h5 {
  font-size: 0.8em;
}

p {
  margin: 20px 0;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

article, aside, footer, header, nav, section {
  display: block;
}

/* Main Layout ------------------------ */
#header {
  display: block;
  position: relative;
  padding: 15px 0;
  background: #252C49;
  z-index: 10;
}
#header:before {
  content: "";
  display: block;
  position: absolute;
  top: -20px;
  height: 20px;
  background: #252C49;
}
#header #headerInner {
  max-width: 90vw;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#header #headerInner #logo {
  flex-basis: 25%;
}
#header #headerInner #logo img {
  display: block;
  width: 100%;
  max-height: 85px;
  object-fit: cover !important;
}
#header #headerInner nav {
  flex-basis: 75%;
}

#container {
  margin: 5rem 0;
}

#content {
  max-width: 90vw;
  margin: 0 auto;
  font-family: "mundial", sans-serif;
  color: #1F1718;
  font-size: 1.2em;
  line-height: 1.6em;
  hyphens: auto;
}
#content ul {
  list-style: square;
  margin: 20px 0;
  padding-left: 20px;
}

#footer {
  display: block;
  padding: 40px 0;
  background: #1F1718;
}
#footer #footerInner {
  max-width: 90vw;
  margin: 0 auto;
  font-family: "mundial", sans-serif;
  color: #fefefe;
  font-size: 1.2em;
}
#footer #footerInner .copyright {
  border-top: 1px solid rgba(254, 254, 254, 0.2);
  padding-top: 20px;
}

/* Navigation ------------------------- */
.hamburger {
  display: none;
}

nav#main div {
  text-align: right;
  margin-left: 10px;
}
nav#main div ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav#main div ul li a {
  display: inline-block;
  padding: 8px 16px;
  font-family: "mundial", sans-serif;
  font-weight: 900;
  color: #A58431;
  border: 2px solid #A58431;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}
nav#main div ul li a:hover {
  border-color: rgba(165, 132, 49, 0.3);
}

nav#mobile {
  display: none;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  margin-top: 2em;
}
.nav-links div {
  flex-basis: 45%;
}
.nav-links div:empty {
  display: none;
}
.nav-links div:only-of-type {
  flex-grow: 1 !important;
}
.nav-links div a {
  display: block;
  background: #1F1718;
  color: #fefefe;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
}

/* Breadcrumbs ------------------------ */
.breadcrumbs {
  font-size: 0.8em;
  margin-bottom: 1em;
}
.breadcrumbs a {
  color: #252C49;
  text-decoration: none;
}
.breadcrumbs .current {
  font-weight: bold;
}

/* Pagination ------------------------- */
.wp-block-query-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "mundial", sans-serif;
  margin-top: 2rem;
  gap: 1rem;
}
.wp-block-query-pagination a {
  color: #1F1718;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}
.wp-block-query-pagination a:hover {
  color: #A58431;
}
.wp-block-query-pagination .wp-block-query-pagination-previous {
  text-align: left;
  flex: 1;
}
.wp-block-query-pagination .wp-block-query-pagination-next {
  text-align: right;
  flex: 1;
}
.wp-block-query-pagination .wp-block-query-pagination-numbers {
  flex: 2;
  text-align: center;
}
.wp-block-query-pagination .wp-block-query-pagination-numbers a, .wp-block-query-pagination .wp-block-query-pagination-numbers span {
  margin: 0 0.35em;
  font-weight: 600;
}
.wp-block-query-pagination .wp-block-query-pagination-numbers .current {
  color: #A58431;
}

/* Hero Section ----------------------- */
#hero {
  height: 65vh;
  overflow: hidden;
}
#hero > div > div {
  height: 65vh;
}
#hero h1 {
  font-family: "warbler-text", serif;
  line-height: 1.4em;
}
#hero p {
  font-family: "mundial", sans-serif;
  color: #fefefe;
  font-size: 1.2em;
  line-height: 1.6em;
}
#hero .genBtnParent a {
  border: 2px solid #A58431;
}

/* Home Projects ---------------------- */
.homeProjects {
  margin: 50px 0;
}
.homeProjects ul {
  display: flex;
  justify-content: space-between;
  list-style: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
.homeProjects ul li {
  flex-basis: 30%;
  align-self: flex-start;
}
.homeProjects ul li h2 {
  text-align: center;
}
.homeProjects ul li img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
}

/* Filter Menu ------------------------ */
.filter-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 30px auto !important;
  font-family: "mundial", sans-serif;
  list-style: none !important;
  padding: 0 !important;
}
.filter-menu li {
  background: transparent;
  border: 2px solid #A58431;
  color: #A58431;
  padding: 5px 12px;
  font-weight: 900;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter-menu li:hover, .filter-menu li.active {
  background: #A58431;
  color: #fefefe;
}

/* Project Grid ----------------------- */
#projectWrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
}
#projectWrap .projectItem {
  flex: 0 1 calc(33.333% - 2rem);
  display: flex;
  flex-direction: column;
  text-align: left;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(31, 23, 24, 0.1);
  background: none !important;
  box-shadow: 0 2px 10px rgba(31, 23, 24, 0.05);
  transition: all 0.3s ease;
}
#projectWrap .projectItem:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(31, 23, 24, 0.1);
}
#projectWrap .projectItem .projectImg {
  width: 100%;
  height: 250px;
  background-size: cover !important;
  background-position: center !important;
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}
#projectWrap .projectItem .projectImg a {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 2;
}
#projectWrap .projectItem h1.entry-title {
  font-family: "mundial", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1F1718;
  margin: 1rem 1.5rem 0.5rem;
}
#projectWrap .projectItem p {
  font-family: "mundial", sans-serif;
  font-size: 1rem;
  color: #1F1718;
  line-height: 1.6;
  margin: 0 1.5rem 1rem;
}
#projectWrap .projectItem a.genBtn {
  font-weight: 700;
  color: #A58431;
  text-decoration: none;
  margin: 0 1.5rem 1.25rem;
  transition: color 0.3s ease;
}
#projectWrap .projectItem a.genBtn:hover {
  color: #A58431;
}
#projectWrap .projectItem a.projectEdit {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.8rem;
  color: #fefefe;
  background: rgba(31, 23, 24, 0.7);
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  text-decoration: none;
  z-index: 3;
}

/* Gallery ---------------------------- */
#imageContainer {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "mundial", sans-serif;
  margin-top: 50px;
  margin-bottom: 50px;
}
#imageContainer #galleryMain {
  width: 100%;
  height: 70vh;
  background: #ccc center/contain no-repeat;
  position: relative;
  transition: background-image 0.5s ease-in-out;
}
#imageContainer #galleryMain span {
  display: none;
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(31, 23, 24, 0.6);
  color: #fefefe;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.9rem;
}
#imageContainer #galleryThumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
#imageContainer #galleryThumbs img.thumb {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.3;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
#imageContainer #galleryThumbs img.thumb:hover {
  opacity: 1;
  transform: translateY(-3px);
}
#imageContainer #galleryThumbs img.thumb.active {
  opacity: 1;
}

/* Buttons ---------------------------- */
.genBtn,
.genBtnParent a {
  display: table;
  padding: 7px 14px;
  margin: 2px;
  background: #252C49;
  color: #A58431;
  font-weight: 900;
  text-decoration: none;
  text-align: center;
  border-radius: 4px;
}

.genBtnParent.center a {
  margin: 0 auto;
}

/* Float Animation -------------------- */
@keyframes floaty-bob {
  0% {
    transform: translateY(0) rotate(0);
  }
  25% {
    transform: translateY(-8px) rotate(1deg);
  }
  50% {
    transform: translateY(5px) rotate(-1deg);
  }
  75% {
    transform: translateY(-4px) rotate(0.5deg);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
.floaty-bob {
  animation: floaty-bob 9s ease-in-out infinite;
  transform-origin: center;
  display: inline-block;
}

/* Misc ------------------------------- */
.post-edit-link {
  position: fixed;
  padding: 4px 12px;
  left: 30px;
  bottom: 30px;
  background: #A58431;
  font-size: 14px;
  color: #fefefe;
  font-weight: 900;
  text-decoration: none;
  border-radius: 30px;
  opacity: 0.7;
}
.post-edit-link:hover {
  opacity: 1;
}

/* Smartphones (portrait) ----------- */
@media only screen and (max-width: 1024px) and (orientation: portrait) {
  #header {
    padding: 10px 0;
  }
  #header #headerInner {
    flex-direction: column;
    align-items: center;
  }
  #header #headerInner #logo img {
    max-height: 65px;
  }
  nav#main {
    display: none;
  }
  .hamburger {
    display: block !important;
    text-align: center;
    margin-top: 10px;
  }
  .hamburger i {
    font-size: 28px;
    color: #A58431;
  }
  nav#mobile {
    display: block;
    text-align: center;
  }
  nav#mobile ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
  }
  nav#mobile ul li a {
    display: inline-block;
    color: #A58431;
    text-decoration: none;
    font-family: "mundial", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    border: 1px solid rgba(165, 132, 49, 0.3);
    border-radius: 6px;
    padding: 8px 14px;
    transition: all 0.2s ease;
  }
  nav#mobile ul li a:hover {
    background: #A58431;
    color: #fefefe;
  }
  #content {
    font-size: 1.05em;
    padding: 0 1rem;
  }
  .homeProjects ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
  .homeProjects ul li {
    flex-basis: 100%;
  }
  .homeProjects ul li img {
    height: 220px;
  }
  .homeProjects ul li h2 {
    font-size: 1.1em;
  }
  #projectWrap {
    gap: 1.5rem;
  }
  #projectWrap .projectItem {
    flex: 0 1 calc(50% - 1rem);
  }
  #projectWrap .projectItem h1.entry-title {
    font-size: 1.1rem;
  }
  #projectWrap .projectItem p {
    font-size: 0.95rem;
  }
}
@media only screen and (max-width: 1024px) and (orientation: portrait) and (max-width: 680px) {
  #projectWrap .projectItem {
    flex: 0 1 100%;
  }
  #hero {
    height: 50vh;
  }
  #footer {
    padding: 25px 0;
  }
  .filter-menu {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }
}
@media only screen and (max-width: 1024px) and (orientation: portrait) {
  .wp-block-query-pagination {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  .wp-block-query-pagination .wp-block-query-pagination-previous,
  .wp-block-query-pagination .wp-block-query-pagination-next {
    text-align: center;
    flex: unset;
  }
}

/*# sourceMappingURL=style.css.map */
