/* ----------------------------------
COLOURS

orange: #E93600
background light grey: #F6F6F6
footer darker grey: #E9E9E9
purple: #7C1D9E (old #4F1E85)
light purple: #E0BFE7
yellow: #FEC949
pink: #F2126C
-----------------------------------*/

:root {
  --color-orange: #E93600;
  --color-lightgrey: #F6F6F6;
  --color-darkgrey: #E9E9E9;
  --color-purple: #7C1D9E ;
  --color-lightpurple: #E0BFE7;
  --color-yellow: #FEC949;
  --color-pink: #E0005A;
  --page-padding-sides: 8%;
  --main-margin-top: 100px;

  --shadow-color: 0deg 0% 60%;
  --shadow-medium:
   /* 0.3px 0.5px 0.7px hsl(var(--shadow-color) / 0.36),
    0.8px 1.6px 2px -0.8px hsl(var(--shadow-color) / 0.36),
    2.1px 4.1px 5.2px -1.7px hsl(var(--shadow-color) / 0.36),
    5px 10px 12.6px -2.5px hsl(var(--shadow-color) / 0.36); */

     0.3px 0.5px 0.6px hsl(var(--shadow-color) / 0.28),
    0.6px 1.3px 1.5px -1px hsl(var(--shadow-color) / 0.25),
    1.6px 3.3px 3.8px -2.1px hsl(var(--shadow-color) / 0.23),
    4.1px 8.2px 9.5px -3.1px hsl(var(--shadow-color) / 0.2);
}

@media (max-width: 650px ){
  :root {
      --main-margin-top: 50px;
  }
}

*, :after, :before {
    box-sizing: unset!important;
}

/* ----------------------------------
fonts
-----------------------------------*/

/* headings and nav */
@font-face
{
  font-family: "Lexend";
  src: url("../fonts/Lexend/Lexend-Light.ttf");
}

@font-face
{
  font-family: "Lexend-Bold";
  src: url("../fonts/Lexend/Lexend-Bold.ttf");
  font-weight: bold;
}

@font-face
{
  font-family: "Lexend-Medium";
  src: url("../fonts/Lexend/Lexend-Medium.ttf");
}


@font-face
{
  font-family: "LexendExa";
  src: url("../fonts/Lexend/LexendExa-ExtraLight.ttf");
}

@font-face
{
  font-family: "LexendExa-Bold";
  src: url("../fonts/Lexend/LexendExa-Bold.ttf");
}

/* main body text */
@font-face
{
  font-family: "InclusiveSans";
  src: url("../fonts/InclusiveSans/InclusiveSans-Regular.ttf");
  font-weight: normal;
}

@font-face
{
  font-family: "InclusiveSans";
  src: url("../fonts/InclusiveSans/InclusiveSans-Bold.ttf");
  font-weight: bold;
  font-style: normal;
}
@font-face
{
  font-family: "InclusiveSans";
  src: url("../fonts/InclusiveSans/InclusiveSans-Italic.ttf");
  font-style: italic;
}
@font-face
{
  font-family: "InclusiveSans-Med";
  src: url("../fonts/InclusiveSans/InclusiveSans-Medium.ttf");
  font-style: normal;
}



/* ----------------------------------
main styles
-----------------------------------*/

html {
  font-size: 16px;
}
@media (max-width: 430px) {
  html {
    font-size: 14px;
  }
}
body {
  background-color: var(--color-lightgrey);
  font-family: "InclusiveSans", sans-serif;
  font-weight: normal;
  font-style: normal;
  line-height: 150%;
  color: #000; 
  text-wrap: pretty;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

main {
  padding: var(--main-margin-top) var(--page-padding-sides) 120px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 50vh;
}



strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

p a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--color-orange);
  font-weight: bold;
}
p a:hover {
  text-decoration: underline;
  color: #000;
}

.button  {
  background-color: var(--color-orange);
  color: #fff;
  text-transform: uppercase;
  font-family: 'Lexend' sans-serif;
  font-weight: bold;
  font-size: .8rem;
  letter-spacing: .1rem;
  text-decoration: none;
  margin: .5rem 0;
  padding: 5px 20px;
  width: auto;
  border-radius: 30px;
  display: inline-block;
}

.button-secondary {
  border: 1px solid #000;
  text-transform: uppercase;
  font-family: 'Lexend' sans-serif;
  font-weight: bold;
  font-size: .7rem;
  letter-spacing: .1rem;
  text-decoration: none;
  margin: .5rem 0;
  padding: 2px 20px;
  width: auto;
  border-radius: 30px;
  display: inline-block;
}

.button:hover {
  background-color: #000;
  color: #fff;
}

.button-secondary:hover {
  background-color: #000;
  color: #fff;
}

@media (prefers-reduced-motion: no-preference) {
  .button:hover {
    transition: 0.9s;
  }
  .button-secondary:hover {
    transition: 0.7s;
  }
}

.button:focus, a:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
} 

.button:focus {
  color: #fff;
}

h1 {
  font-family: "Lexend-Medium", sans-serif;
  line-height: 125%;
  margin-bottom: .6em;
  font-weight: normal;
  font-size: 3em;
}
h1 strong {
  font-family: "Lexend-Bold", sans-serif;
}

h2 {
  font-family: "Lexend-Medium", sans-serif;
  margin: 1rem 0;
  font-weight: normal;
  font-size: 2em;
}


/* ----------------------------------
header nav
-----------------------------------*/

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: var(--color-lightgrey);
  transition: background-color 0.3s ease, box-shadow 0.5s ease;
  height: 72px;
}
.site-header.scrolled {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 40px;
  padding: 3rem var(--page-padding-sides);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  .header-container {
    transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

.site-header.scrolled .header-container {
  padding-top: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: #333;
}

.logo span {
  font-family: "LexendExa", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: bold;
}
a.logo:hover {
  text-decoration: none;
}

@media (prefers-reduced-motion: no-preference) {
  .logo:hover img {
    transform: rotate(15deg);
    transition: transform 0.4s ease;
  }
}

/* Desktop Navigation */
.main-nav {
  display: flex;
  gap: 2rem;
  line-height: 1.2em;
  margin: 0;
  padding: 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-family: "LexendExa", sans-serif;
  font-weight: bold;
}

.main-nav a {
  text-decoration: none;
  color: #000;
  position: relative;
  transition: unset;
}

.main-nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 20%;
  text-underline-offset: 8px;
  font-weight: bold;
}

/* Individual link colors with icons */
.main-nav a[href="/projects/"]:hover, .main-nav a[href="/projects/"].current  {
  text-decoration-color: var(--color-purple);
}

.main-nav a[href="/about/"]:hover, .main-nav a[href="/about/"].current {
  text-decoration-color: var(--color-pink);
}

.main-nav a[href="/contact/"]:hover, .main-nav a[href="/contact/"].current {
  text-decoration-color: var(--color-yellow);
}

/* Current page styling 
.main-nav a[href="/projects/"].current {
  text-decoration: underline;
  text-decoration-color: var(--color-purple);
  text-decoration-thickness: 20%;
  text-underline-offset: 8px;
}

.main-nav a[href="/about/"].current {
  text-decoration: underline;
  text-decoration-color: var(--color-pink);
  text-decoration-thickness: 20%;
  text-underline-offset: 8px;
}

.main-nav a[href="/contact/"].current {
  text-decoration: underline;
  text-decoration-color: var(--color-yellow);
  text-decoration-thickness: 20%;
  text-underline-offset: 8px;
}*/

/* Logo icons after links */
.main-nav a::after {
  transform: translateY(1.5px);
  margin: 0 10px;
  display: inline-block;
}

.main-nav a[href="/projects/"]::after {
  content: url("../images/logo/logo-purple.svg");
}

.main-nav a[href="/about/"]::after {
  content: url("../images/logo/logo-pink.svg");
}

.main-nav a[href="/contact/"]::after {
  content: url("../images/logo/logo-yellow.svg");
}

@media (prefers-reduced-motion: no-preference) {
  .main-nav a:hover::after {
    rotate: 15deg;
  }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  position: relative;
  width: 40px;
  height: 40px;
}
.hamburger {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #333;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: background-color 0.3s;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 2px;
  background: #333;
  left: 0;
  transition: transform 0.3s;
}

@media (prefers-reduced-motion: no-preference) {
  .main-nav {
    .hamburger::before,
    .hamburger::after {
      transition: transform 0.3s;
    }
  }
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

/* Hamburger animation when menu is open */
.mobile-menu-toggle.active .hamburger {
  background: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .header-container {
    height: 40px;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -130vw;
    width: 100vw;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 100px var(--page-padding-sides);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    gap: 0;
  }

  @media (prefers-reduced-motion: no-preference) {
    .main-nav {
        transition: right 0.5s ease;
    }
  }

  .main-nav.active {
    right: 0;
  }
  
  .main-nav a {
    padding: 30px 10px;
    text-align: right;
    display: block;
  }
}



/* ----------------------------------
footer section
-----------------------------------*/


footer {
  background-color: var(--color-darkgrey);
  padding: 50px var(--page-padding-sides);

}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

/* Left section - CTA */

.footer-cta p {
  margin: 10px 0 20px;
  line-height: 1.6;
}

/* Right section - Navigation */
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
}

.footer-nav li {
  margin: 0 0 1em 0;
}

.footer-nav a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--color-orange);
}

.footer-nav a.current {
  font-weight: bold;
}

/* Bottom copyright section */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 0 0;
  font-size: 0.7rem;
}

/* Tablet/Mobile Responsive */
@media (max-width: 600px) {
  .footer-content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    flex-wrap: wrap;
  }
  .footer-nav {
    margin-top: 20px;
  }
  .footer-nav ul {
    text-align: left;
    align-items: flex-start;
    flex-direction: column;
    flex-wrap: wrap;
  }
  .footer-bottom {
    padding: 0;
  }
}

/* ----------------------------------
home page
-----------------------------------*/

.home-top-container {
  min-height: 70vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: space-between; 
}

.home-intro-text {
  max-width: 650px;
  font-size: 1.1em;
  line-height: 150%;
  text-wrap: balance;
}

.home-intro-text h1 {
  font-family: "Lexend", sans-serif;
  font-weight: normal;
  font-size: 2.6rem;
  margin-bottom: 30px;
}

.home-button {
  margin-top: 20px;
  text-decoration: none!important;
}

.home-disclaimer {
  font-size: 0.7em;
  margin-top: 60px;
}


.fox-visual {
  height: 70vh;
  max-width: 400px;
}

/* ----------------------------------
about page - page-id-21
-----------------------------------*/

.about-page main {
  margin-top: 40px;
  padding-bottom: 0;
}
/* About Intro Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
  margin: 0 0 50px;
  min-height: 200px;
}

.about-image {
  display: block;
  margin: 15px auto;
  width: 100%;
  min-height: 300px;
  max-height: 400px;
  max-width: 400px;
  height: auto;
  aspect-ratio: 1/1;
  background-color: var(--color-darkgrey);
  background-image: url("../images/bio-photo3.png");
  background-size: cover;
  background-repeat:no-repeat;
  background-position:top right;
  border-radius: 500px;
}

.about-text strong {
  color: var(--color-pink);
}

.about-text h1 {
  margin-top: 0;
}

/* Three Column Cards */
.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 0 auto;
  position: relative;
  z-index: 100;
  background-color: #fff;
  padding: 30px;
  border-radius: 16px;
}

.about-cards .card h2, .about-fox h2 {
  line-height: 125%;;
}

/* Fox Section */
.about-fox {
  position: relative;
  padding: 150px 0 70px;
  margin-top: -70px;
  margin-bottom: 0;
  margin-left: calc(50% - 50vw); /* Break out to left edge */
  margin-right: calc(50% - 50vw); /* Break out to right edge */
  z-index: -1;
  background-color: var(--color-lightpurple);
}


.about-fox strong {
  color: #000;
}

.about-fox-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  gap: 50px;
  padding: 0 var(--page-padding-sides) 20px;
}

.about-fox-logos {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 0 13px;
}

.fox-logo {
  display: inline-block;
  width: 50px;
  height: 50px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.logo-purple {
  background-image: url("../images/logo/logo-purple.svg");
}
.logo-pink {
  background-image: url("../images/logo/logo-pink.svg");
}
.logo-white {
  background-image: url("../images/logo/logo-white.svg");
}

/* Core Values */
.core-values {
  border-top: 1px solid white;
  margin: 20px auto 0;
  padding: 40px 0 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: baseline;
  gap: 20px;
  font-size: 0.9em;
  max-width: 1000px;
}

.core-values h3 {
  text-transform: uppercase;
  font-size: 0.8em;
  margin: 0;
  line-height: 200%;
}

.core-values p {
  margin: 0;
  line-height: 200%;
}

.values {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
  margin: 0 0 2px 0;
}

.authenticity {
  background-image: url("../images/values/authenticity.png");
}
.compassion {
  background-image: url("../images/values/compassion.png");
}
.creativity {
  background-image: url("../images/values/creativity.png");
}
.balance {
  background-image: url("../images/values/balance.png");
}
.purpose {
  background-image: url("../images/values/purpose.png");
}

/* Tablet */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1.5fr;
  }
  
  .about-fox-logos {
    justify-content: flex-start;
    gap: 20px;
  }
}

/* Mobile */
@media (max-width: 850px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-cards {
    grid-template-columns: 1fr;
  }
  
  .about-fox {
    padding: 100px 8% 50px;
  }
}

@media (max-width: 600px) {
  .core-values {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0;
  }
}

@media (max-width: 500px) {
  .about-fox-inner {
    flex-direction: column;
    gap: 0px;
  }
  
  .about-fox-logos {
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
  }
  
}



/* ----------------------------------
projects page - page-id-22
-----------------------------------*/

/*turn these off once links are ready*/
.projects-grid a { 
  pointer-events: none;
  cursor: default; 
} 

.projects-intro {
  text-align: center;
}

/* Projects Grid */
.projects-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 20px;
}

.project-item {
  position: relative;
}

/* Project Image */
.project-image {
  overflow: hidden;
  min-height: 100px;
  max-height: 250px;
  margin-bottom: 10px;
  border-radius: 10px;
  box-shadow: var(--shadow-medium);
}

.project-image a {
  display: block;
  height: 100%;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 11px;
  display: block;
}

.project-item:hover img {
  transform: scale(1.03);
  opacity: 0.85;
}

@media (prefers-reduced-motion: no-preference) {
  .project-image img {
    transition: transform 0.5s ease-out, opacity 0.5s;
  }
}

/* Project Title */
.project-item h2 {
  font-size: 1em;
  font-family: 'InclusiveSans-Med', sans-serif;
  font-weight: normal;
  line-height: 1.3;
  margin: 0 0 3px;
  padding: 0;
  
}

.project-item h2 a {
  color: #000;
  text-decoration: none;
}

.project-item h2 a:hover {
  color: var(--color-orange);
  font-weight: normal;
}

/* Categories and Tags */
.project-categories,
.project-tags {
  font-size: 0.6em;
  text-transform: uppercase;
  display: block;
  line-height: 1rem;
}

.project-categories a {
  color: var(--color-purple);
  font-weight: bold;
  text-decoration: none;
}

.project-tags a {
  color: #545454;
  text-decoration: none;
  font-weight: normal;
}

.project-tags a:hover,
.project-categories a:hover {
  color: #000;
}

/* Responsive */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
}

/* ----------------------------------
Individual project pages
-----------------------------------*/

.project-post {
  display: flex;
  flex-direction: row;
  gap: 5%;
}

/* content in left column */

.project-left {
 /* top: 170px;
  align-self: start;*/
  width: 40%;
}

.project-meta {
  display: flex;
  margin: 0 0 10px 3px;
}

.project-post h1 {
  font-size: 2.3rem;
  margin: 0 0 20px;
}

.project-left p {
  font-size: 0.9rem;
  line-height: 150%;
}

.project-left .button-secondary {
  margin-top: 20px;
}


/* content in right column */

.project-gallery {
  width: 60%;
}

img.project-page-image {
  max-width: 100%;  
  margin-top: 20px;
  border-radius: 10px;
  /*box-shadow: var(--shadow-medium);*/
}

figcaption {
  margin: 0 20px 0;
  font-size: 0.7rem;
  line-height: 150%;
  text-align: center;
  text-wrap: balance;
}



@media (max-width: 1500px) {
  .project-post {
    flex-direction: column;
  }
  .project-left {
    position: unset;
    width: 100%;
    top: unset;
  }
  .project-gallery {
  width: 100%;
  margin-bottom: 0%;
  }
}


/* ----------------------------------
contact page - page-id-23
-----------------------------------*/

.contact-intro {
  width: 70%;
  margin: 20px auto 0;
  text-wrap: balance;
  text-align: center;
}

#contact_form {
  max-width: 500px;
  margin: 40px auto 0;
  text-align: center;
}

.contact_form input, textarea  {
  border: none;
  border-bottom: 1px solid #000;
  color: #000;
  font-family: InclusiveSans;
  font-size: 1rem;
  padding: 16px;
  max-width: 500px;
  width: 80%;
  margin: 0 auto 20px;
  box-sizing: border-box;
}

.contact_form input:focus, textarea:focus {
  border-bottom: 4px solid var(--color-yellow);
  outline: none;
}

.contact_form input::placeholder,
textarea::placeholder {
  color: #999;
  font-family: InclusiveSans;
  font-size: 0.8em;
}

.contact_form textarea {
  min-height: 150px;
}

.contact_form input[type="submit"] {
  border: none;
  color: #fff;
  border-radius: 30px;
  width: fit-content;
  margin: 0 auto;
  padding: 12px 28px;
  cursor: pointer;
  font-size: 0.8em;
}

.contact_form input[type="submit"]:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
  }

@media (max-width: 768px) {
  .contact-intro {
    width: 90%;
  }
}