body {
  font-family: "DM Sans", sans-serif;
  color: #f2f3e1;
  font-weight: 300;
  background-color: #1c1c1c;
}

/* Contact form wrapper */
#contact_form {
  width: 100%;
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  text-align: left;
  font-weight: 400;
}

#contact_intro {
  font-size: 1.6rem;
}

/* Stack labels and inputs cleanly */
#contact_form form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Labels */
#contact_form label {
  font-size: 1rem;
  color: #222;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: #f2f3e1;
}

/* Inputs & textarea */
#contact_form input,
#contact_form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.6rem 0.75rem;
  border: none;
  border-radius: 2px;
  background: #fff;
}

/* Textarea sizing */
#contact_form textarea {
  min-height: 140px;
  resize: vertical;
}

/* Focus states */
#contact_form input:focus,
#contact_form textarea:focus {
  outline: none;
  border-color: #000;
}

/* Submit button */
#contact_form button,
a.button {
  align-self: flex-start;
  padding: 0.6rem 1.5rem;
  font-size: 1.4rem;
  font-weight: 100;
  text-transform: capitalize;
  letter-spacing: 0.03em;
  background: #cd3912;
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
}

/* Button hover */
#contact_form button:hover {
  background: #761e06;
}

/* Wrapper fills viewport */

/* Shared video styling */

/* Default: show desktop video */

.email_icon {
  width: 50px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
}

/* Swap videos below 769px */
@media (max-width: 768px) {
  .email_icon {
    width: 40px;
    position: fixed;
    bottom: 15px;
    right: 15px;
  }

  .links-wrapper p {
    font-size: 15px;
    text-align: center;
  }
}

h1 {
  font-size: 60px;
  margin: 0;
  line-height: 1;
}

video {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 10;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-optical-sizing: auto;
  font-style: normal;
  background: url(../images/paper.jpg);
  background-repeat: repeat;
  font-family: "Roboto", sans-serif;
}

header {
  background-color: #181f23;
  font-weight: 200;
  font-size: x-large;
  color: #f1e9d4;
  padding: 15px 30px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
}

header div {
  width: 100%;
  padding: 0;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-family: "Roboto Slab", serif;
}

header div span a {
  color: inherit;
}

header:hover {
  color: #f1e9d4;
}

/*///////////////////////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////       SEPTEMBER 2026      ///////////////////////////////*/
/*///////////////////////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////////////////////////////////////////////////////////////////////*/

a {
  color: inherit;
  text-decoration: underline;
}

p, li {
  font-size: 18px;
}

img {
  max-width: 100%;
}

.stage {
  background-color: #2b1000;
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

video {
  width: 100%;
  height: auto;
  display: block;
}

#hero-video {
  position: absolute;
  margin: auto;
  left: 0px;
  right: 0;
  top: 0;
  bottom: 0;
  transform: translateX(10px);
  width: 520px;
}

/*///////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////////////////////////////////////////////////////*/
/*///////////////////////      ANIMATED HERO        /////////////////////////*/
/*///////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////////////////////////////////////////////////////*/

/* ── VIDEO CONTAINER ── highest loading & visual priority ── */
.hero_with_video .video-bg {
  position: fixed; /* or absolute if inside another container */
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2; /* lowest z-index = farthest back */
       @media (max-width: 768px) {
        position: relative;
        width: 100%;
        height: auto;
      }

}

.hero_with_video .video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover; /* magic: fills without distortion */
  background: #0a0a15; /* fallback while video loads */
   @media (max-width: 768px) {
        position: relative;
       transform: none;
       width: 100%;
       height: auto;
       min-height: auto;
       top: 0;
       left: 0;
      }
}

/* ── Overlay / tint (optional – makes text more readable) ── */
.hero_with_video .overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 0, 51, 0.35); /* subtle darkening */
  z-index: -1;
}

/* ── Your foreground content ── sits ON TOP of video ── */
.hero_with_video .content {
  position: relative;
  z-index: 10; /* much higher than video */
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  color: white;
  text-align: center;
  padding: 2rem;
   @media (max-width: 768px) {
        display: none;
      }
}

.hero_with_video .reveal-wrapper {
  position: relative;
  text-align: center;
  perspective: 1000px;
  transform: translateY(-30px);
}

.hero_with_video .name {
  color: #fbf0d6;
  font-family: "big-caslon-fb", serif;
  font-size: 13vw;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 3px 3px 0px #fc0004;

  /* Starting state – collapsed & blurred in center */
  filter: blur(28px);
  transform: scale(0.02); /* very small, centered */
  transform-origin: center center;
  opacity: 0.25;

  animation: reveal-from-center 0.2s ease-in forwards;
  animation-delay: 0.5s;
}

@keyframes reveal-from-center {
  0% {
    filter: blur(28px);
    transform: scale(0.02);
    opacity: 0.25;
  }

  75% {
    filter: blur(2.5px);
    transform: scale(1.05); /* gentle overshoot */
    opacity: 1;
  }
  82% {
    filter: blur(0.6px);
    transform: scale(0.98);
  }
  100% {
    filter: blur(0px);
    transform: scale(1);
    opacity: 1;
  }
}

.hero_with_video .title {
  color: #fbf0d6;
  font-size: 2.7vw;
  font-family: "articulat-cf", sans-serif;
  font-weight: 100;
  letter-spacing: 0.7em;
  text-shadow: 1px 1px 0px #fc0004;
  user-select: none;
  white-space: pre;
}

.hero_with_video .title::before,
.hero_with_video .title::after {
  content: "— ";
  opacity: 0.7;
}

.hero_with_video .title::after {
  content: " —";
}

@media (max-width: 799px) {
  .hero_with_video .name {
    font-size: 16vw;
  }
  .hero_with_video .title {
    font-size: 5vw;
  }
}

section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18%;
  text-align: center;
}

section h2, .page-to-home {
  opacity: 0;
  transform: translateY(120px);
  transition: all 2s ease-out;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  line-height: 1.4;
  color: #ffffee;
  font-size: 48px;
  text-decoration: none;
}

section h2.revealed, .page-to-home.revealed {
  opacity: 1;
  transform: translateY(0);
}

.page-to-home:hover{
  text-decoration: none;
}

.one {
  background-color: #cd3912;
}

.two {
  background-color: #11a0bf;
}

.three {
  background-color: #de6902;
}

.projects {
  background-color: black;
  overflow: hidden;
}

.projects h3 {
  color: #de6902;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 180px;
  line-height: 0.65;
}

article {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
}

figcaption {
  color: #000000;
  font-size: 14px;
  text-align: left;
  padding: 4px 0;
  text-align: center;
}

figcaption.hidden {
  display: none;
}

.iguanas {
  width: 100%;
  padding: 40px 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0599b3;
}

.iguanas video {
  border: 10px #1c1c1c solid;
  max-width: 1200px;
}

.eats {
  background-color: #11a0bf;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

.eatsquote {
  background-color: #038eeb;
}

.eats video {
  border: 10px solid #1c1c1c;
}

.booey {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.booey video {
  max-width: 1200px;
}

h4 {
  text-transform: uppercase;
}

.brunswick_eats div {
  padding: 40px 20px;
}

.brunswick_eats div.inset {
  padding: 20px 50px 0px;
}

.image_holder {
  cursor: pointer;
  position: relative;
  transition: all 0.1s ease-out;
  transform-origin: top center;
  max-width: 2200px;
  display: flex;
}

.image_holder img {
  max-width: 100%;
  height: auto;
  max-height: 80vh;
  display: block; /* Removes any inline spacing issues */
}

.image_holder.expanded {
  width: 100%;
  position: fixed;
  border-radius: 0;
  border: none;
  height: 100vh;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  background: rgba(256, 256, 256, 0.95);
  padding: 20px; /* Optional: adds space around the image for the close button */
  box-sizing: border-box;
}

.image_holder.expanded::after {
  content: "×";
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 30px;
  color: white;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  width: 30px;
  height: 30px;
  line-height: 22px;
  text-align: center;
  border-radius: 50%;
  z-index: 1001; /* Ensures it's above the image */
}

@media (min-width: 769px) and (max-width: 1140px) {
  #hero-video {
    width: 750px;
  }
}

@media (min-width: 601px) and (max-width: 768px) {
  #hero-video {
    width: 550px;
  }
}

@media (max-width: 459px) {
  .clay,
  .vintage {
    margin-top: 20px;
  }
}

/*///////////////////////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////////////////////////////////////////////////////////////////////*/

.container {
  max-width: 1400px !important;
  display: flex;
  align-items: center;
  padding: 30px;
}

.grid {
  columns: 250px;
  column-gap: 20px;
  width: 100%;
}

.grid article {
  padding: 10px;
  border: 1px solid #999;
  border-radius: 5px;
  background: #fff;
  text-align: center;
  margin-bottom: 20px;
  break-inside: avoid;
}

.grid article img {
  max-width: 100%;
}

.links {
  width: 100%;
  background: #181f23;
  margin: 0;
}

.links-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  width: 100%;
  margin: auto;
}

.link-wrap {
  padding: 0;
  color: #f1e9d4;
}

.first {
  text-align: right;
}

.second {
  text-align: left;
  margin-left: 10px;
}

.image_container a img {
  width: 40px;
}

.links a,
.links img {
  width: 100%;
  color: #f1e9d4 !important;
  text-decoration: none;
}

@media (max-width: 600px) {
  .links-wrapper {
    display: block;
  }

  .link-wrap.first,
  .link-wrap.second {
    text-align: center;
  }
}

section.feature-wrap {
  padding: 0;
}

.feature-container {
  --accent: #cd3912;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  padding: 30px;
  box-sizing: border-box;

  overflow: hidden;
}

.home.feature-container{
    direction: rtl;

}

/* --------------------------------
   IMAGE
-------------------------------- */

.feature-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 450px;
  img{
    width: 65%;
     @media (max-width: 768px) {width: 100%;}
  }
  video{
    border: 4px solid #fbf0d6;
    width: 80%;
     @media (max-width: 768px) {width: 100%;}

  }
}

video.stroked{
  border: 4px solid #fbf0d6;
}

.feature-image,
.feature-video {
  position: relative;
  width: clamp(300px, 85%, 800px);

  aspect-ratio: 1;
  z-index: 2;
  opacity: 0;
  transform: translateX(-180px) rotate(-8deg) scale(0.88);
}

.feature-image img,
.feature-video video {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.feature-image img {
  border-radius: 50%;
}

/* Colored circle */

.feature-image::before,
.feature-video::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 8px;
  left: 8px;
  background: #038eeb;
  z-index: -1;
  opacity: 0;
  transform: scale(0.45) rotate(-25deg);
}

.feature-image::before {
  border-radius: 50%;
  background: var(--accent);
}

/* Small accent dot */

.feature-image::after {
  content: "";

  position: absolute;

  width: 22px;
  height: 22px;

  right: -28px;
  top: 18%;

  border-radius: 50%;

  background: var(--accent);

  opacity: 0;
  transform: scale(0);
}

/* --------------------------------
   TEXT
-------------------------------- */

section h2.revealed {
  opacity: 1;
  transform: translateY(0px);
}

section h2 {
  opacity: 0;
  transform: translateY(120px);
  font-family: Roboto, Arial, Helvetica, sans-serif;
  line-height: 1.4;
  color: rgb(255, 255, 238);
  font-size: 48px;
  transition: 2s ease-out;
}

.recent {
  background-color: #d4adcf;
  margin: 0;
  width: 100%;
  overflow: hidden;
}

.recent h3 {
  font-size: 180px;
  line-height: 0.55;
  margin: -10px 0 10px -10px;
  color: #b82c7d;
}

.feature {
  max-width: 600px;

  padding: 20px;

  opacity: 0;
  transform: translateY(35px);
}

.feature-eyebrow {
  display: block;

  margin-bottom: 18px;

  font-size: 1.5rem;
  font-weight: 700;

  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: var(--accent);
}

.feature h2 {
  margin: 0 0 25px;
  font-size: clamp(4rem, 4.2rem, 4.5rem);
  line-height: 0.92;
}

.feature h2 em {
  display: block;
  font-family: Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.8rem, 7vw, 2.5rem);
}

.feature p {
  margin: 0 0 30px;
  line-height: 1.65;
}

/* --------------------------------
   ANIMATIONS
-------------------------------- */

.feature-container.is-visible .feature-image,
.feature-container.is-visible .feature-video {
  animation: photo-enter 1.15s cubic-bezier(0.25, 0.1, 0.307, 1.203) both;
}

.feature-container.is-visible .feature-image::before {
  animation: graphic-circle-enter 0.7s cubic-bezier(0.25, 0.1, 0.307, 1.203)
    0.55s forwards;
}

.feature-container.is-visible .feature-video::before {
  animation: graphic-circle-enter 0.7s cubic-bezier(0.16, 1.4, 0.3, 1) 0.55s
    forwards;
}

.feature-container.is-visible .feature-image::after {
  animation: dot-enter 0.5s ease-out 1.15s forwards;
}

.feature-container.is-visible .feature {
  animation: copy-enter 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

/* Photo */

@keyframes photo-enter {
  0% {
    opacity: 0;

    transform: translateX(-180px) rotate(-8deg) scale(0.88);
  }

  55% {
    opacity: 1;

    transform: translateX(25px) rotate(2deg) scale(1.03);
  }

  72% {
    transform: translateX(-12px) rotate(-1deg) scale(0.99);
  }

  86% {
    transform: translateX(6px) rotate(0.5deg) scale(1.01);
  }

  100% {
    opacity: 1;

    transform: translateX(0) rotate(0) scale(1);
  }
}

/* Colored circle */

@keyframes graphic-circle-enter {
  0% {
    opacity: 0;

    transform: scale(0.45) rotate(-25deg);
  }

  55% {
    opacity: 1;

    transform: scale(1.08) rotate(5deg);
  }

  75% {
    transform: scale(0.96) rotate(-2deg);
  }

  100% {
    opacity: 1;

    transform: scale(1) rotate(0);
  }
}

/* Accent dot */

@keyframes dot-enter {
  0% {
    opacity: 0;
    transform: scale(0);
  }

  70% {
    opacity: 1;
    transform: scale(1.3);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Text */

@keyframes copy-enter {
  0% {
    opacity: 0;
    transform: translateY(35px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------
   MOBILE
-------------------------------- */

@media (max-width: 800px) {
  .feature-container {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }

  .feature-visual {
    min-height: auto;
    padding: 30px 0 60px;
  }

  .feature-image {
    width: 75%;
  }

  .feature {
    padding: 20px 10px;
  }

  .feature h2 {
    font-size: clamp(2.8rem, 10vw, 3.5rem);
  }
}

/* --------------------------------
   REDUCED MOTION
-------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .feature-image,
  .feature-image::before,
  .feature-image::after,
  .feature {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.back_black {
  background-color: 022B3A;
}

.container.bottom_animated h2 {
  transform: translateY(120px);
  transition: all 2s ease-out;
}

.container.bottom_animated h2.revealed {
  opacity: 1;
  transform: translateY(0);
}

.container.left_animated h2 {
  transform: translateX(-120px);
  transition: all 2s ease-out;
}

.container.left_animated h2.revealed {
  opacity: 1;
  transform: translateX(0);
}

@media (max-height: 800px) and (min-width: 600px) {
  #hero-video {
    width: 440px;
  }
}

@media (max-width: 780px) {
  #hero-video {
    width: 100%;
    transform: translateY(-40px);
  }
  section.contact {
    padding: 0 20px;
  }

  section h2, .page-to-home {
    font-size: 34px;
  }

  article {
    display: block;
    width: 100%;
  }

  .projects h3 {
    color: #de6902;
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    font-size: 70px;
    line-height: 0.65;
  }

  .iguanas,
  .ceo {
    padding: 60px 20px;
  }

  .links-wrapper {
    display: block;
  }

  .link-wrap.first,
  .link-wrap.second {
    text-align: center;
  }
}

.top40 {
  margin-top: 40px;
  display: inline-block;
}

/* --------------------------------
   //////////////////////////////////////////////////////////
   //////////////////////// PAGES ///////////////////////////
      //////////////////////////////////////////////////////////

-------------------------------- */

.page {
  background-color: #f1e9d4;
  section {
    margin: auto;
    padding: 40px;
    width: 100%;
    max-width: 1400px;
    text-align: left;
    flex-wrap: wrap;
  }
  h1 {
    letter-spacing: 0.25em;
    transform: translateX(-600px);
    opacity: 0;
    animation: titleReveal 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    color: #cd3912;
    font-size: 6rem;
    flex-basis: 100%;
  }
  h2 {
    display: block;
    font-family: Georgia, serif;
    font-weight: 400;
    font-style: italic;
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    color: #de6902;
    flex-basis: 100%;
      animation: copy-enter 2s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
      margin-left: 40px;
   @media (max-width: 768px) {
      margin-left: 20px;
  }
}

  }
  .wrapper{
    width: 100%;
    padding: 40px;
    &.ashantilly{
      background-color: #11a0bf;
      h3{
        color: #fefefe;
        font-size: 5rem;
        font-weight: 100;
        margin-left: 30px;
        color: #f2f3e1;
             @media (max-width: 768px) {font-size: 3.3rem; margin-left: 10px;}

      }
      img{
        display: block;
      }
    }
    &.digital{
      background-color: #de6902;
      h3{
        color: #fefefe;
        font-size: 5rem;
        font-weight: 100;
        margin-left: 30px;
        color: #f2f3e1;
        @media (max-width: 768px) {font-size: 3.3rem; margin-left: 10px;}
      }
      img{
        display: block;
      }
    }
  }
  .container + .container{
    padding-top: 0;
  }


hr{
  margin: -25px 30px 25px;
  animation: grow 4s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
  z-index: -10;
  border: none;
  height: 1px;
  background-color: #f2f3e1;
       @media (max-width: 768px) {margin: 0 10px; line-height: 1;}

}

.flex-container{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
   @media (max-width: 768px) {
      display: block;
  }
}

.flex-container figure {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    height: auto;
    @media (max-width: 768px) {width: 100%; flex: none;}
}

.flex-container div video{
  display: block;
       @media (max-width: 768px) {margin-bottom: 20px;}

}

figure.small{
  width: 70%;
  flex: none;
       @media (max-width: 768px) {width: 100%;}

}

@keyframes titleReveal {
  0% {
    transform: translateX(-600px);
    letter-spacing: 0.25em;
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    letter-spacing: 0;
    opacity: 1;
  }
}

@keyframes grow {
  0% {
    width: 0%;
    opacity: 0;
  }

  100% {
    width: 100%;
    opacity: 1;
  }
}


.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background-color: #181743;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  box-sizing: border-box;
  z-index: 1000;
  transition: transform 0.3s ease-in-out; 
  .logo{
    color: #435f88;
    font-family: 'Roboto' sans-serif;
    margin: auto;
    text-decoration: none;
    text-align: center;
    letter-spacing: .5vw;
  }
}

.site-header.scroll-down {
  transform: translateY(-100%); /* Slides the header completely out of view */
}

.vids{
  background-color: #2b6bc8;
}