/* Prevent flash of un-animated content when JS is enabled */
.js .reveal,
.js .reveal-group > * {
  opacity: 0;
  transform: translateY(0.75rem);
}



/* ---------- TYPOGRAPHY TOKENS ---------- */

html { font-size: 100%; }

:root {
  /* Body */
  --text-body: 1rem;
  --text-lead: clamp(1.125rem, 1.4vw, 1.35rem);

  /* Heading hierarchy */
  --text-h6: clamp(0.9rem, 1vw, 1rem);
  --text-h5: clamp(1.1rem, 1.3vw, 1.25rem);
  --text-h4: clamp(1.35rem, 1.7vw, 1.6rem);
  --text-h3: clamp(1.6rem, 2.2vw, 2rem);
  --text-h2: clamp(2rem, 3vw, 2.8rem);
  --text-h1: clamp(2.8rem, 4vw, 4rem);

  /* Display (hero) */
  --text-display: clamp(2.8rem, 4vw, 3.5rem);
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }
h5 { font-size: var(--text-h5); }
h6 { font-size: var(--text-h6); }

/* ---------- COLOUR TOKENS ---------- */

:root {
  --primary-green: #024227;
  --primary-gold: #D0AB72;
  --primary-gold-light: rgba(208, 171, 114, 0.1);
  --bg-cream: #F4F2E5;
  --text-dark: #101E14;
  --white: #FFFFFF;
  --primary-green-light: rgba(2, 66, 39, 0.3);
  --primary-green-lighter: rgba(2, 66, 39, 0.1);
}

/* ---------- SPACING TOKENS ---------- */

:root {
  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(0.75rem, 1.5vw, 1.25rem);
  --space-md: clamp(1.5rem, 3vw, 2.5rem);
  --space-lg: clamp(2.5rem, 5vw, 4rem);
  --space-xl: clamp(4rem, 8vw, 6rem);
}

/* ---------- GLOBAL ---------- */

body {
  margin: 0;
  font-size: var(--text-body);
  line-height: 1.5;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--bg-cream);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  color: var(--primary-green);
  margin-top: 0;
}

/* ---------- BUTTONS ---------- */

.btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-decoration: none;
  padding: 0.9em 1.4em;
  border-radius: 0.75rem;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-primary {
  background: var(--primary-green);
  color: var(--white);
}

.btn-secondary {
  background: var(--primary-gold);
  color: var(--bg-cream);
}

.btn-tertiary {
  background: var(--bg-cream);
  color: var(--primary-green);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(2, 66, 39, 0.15);
  opacity: 1;
}

/* ---------- HEADER / NAV ---------- */

.site-header {
  padding: var(--space-sm) var(--space-xl);

  position: static;
 /* top: 0; z-index: 1000;*/
}

.nav-wrapper {
  background: var(--primary-green);
  border-radius: 1.25rem;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img { height: 10rem; }

  .nav-actions {
  display: inline-grid;
  gap: var(--space-sm);
}

/* ---------- HERO ---------- */

.hero {
  padding-block: var(--space-xl);
  overflow: hidden;
}

.hero__inner {
  max-width: 85rem;
  margin-inline: auto;
  padding-inline: clamp(2rem, 6vw, 7rem);
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.hero__title {
  margin: 0 auto 10vh auto;
  color: var(--primary-green);
  line-height: 1.2;
  font-weight: 700;
  font-size: var(--text-display);
  text-align:center;
  
}

.hero__subtitle {
  margin: 0;
  color: var(--primary-green);
  font-size: var(--text-lead);
  line-height: 1.5;
  font-weight: 400;
}

.video-wrapper {
  width: 100%;
  max-width: 800px;   /* adjust this */
  aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
}

 .hero__media_hidden {
    display: none;
  }

.hero__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

/* ---------- FEATURES ---------- */

.features {
  padding-block: var(--space-xl);
  background: var(--bg-cream);
}

.features__inner {
  max-width: 85rem;
  margin-inline: auto;
  padding-inline: clamp(2rem, 6vw, 7rem);
}

.features__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.features__intro {
  max-width: 48rem;
  display: grid;
  gap: var(--space-sm);
}

.features__copy {
  margin: 0;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--primary-green);
  max-width: 60ch;
}

.features__cta {
  align-self: flex-start;
  white-space: nowrap;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.feature-card {
  background: var(--primary-green);
  color: var(--bg-cream) !important;
  border-radius: 1.25rem;
  padding: var(--space-lg);
  display: grid;
  gap: var(--space-sm);
  border: 1px solid var(--primary-green);
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, border 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  background: var(--primary-green-lighter);
  box-shadow: 0 15px 30px rgba(2, 66, 39, 0.12);
}


.feature-card__gold {
  background: var(--primary-gold);
  color: var(--white);
  border-radius: 1.25rem;
  padding: var(--space-lg);
  display: grid;
  gap: var(--space-sm);
  border: 1px solid var(--primary-gold);
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, border 0.25s ease, box-shadow 0.25s ease;
}



.feature-card__title {
  margin: 0;
  line-height: 1.1;
  font-weight: 700;
}

.feature-card__text {
  margin: 0;
  font-size: var(--text-body);
  line-height: 1.6;
  max-width: 32ch;
}

.feature-card__title{
  color:var(--bg-cream);
}

.feature-card__title_gold{
  color:var(--white);
  margin-bottom: 0;
}

.feature-card:hover .feature-card__title,
.feature-card:hover .feature-card__text {
  color: var(--primary-green);
}

.feature-card__gold:hover .feature-card__title_gold {
  color: var(--primary-green);
}

.feature-card__gold:hover {
  background: var(--primary-gold-light);
  box-shadow: 0 15px 30px rgba(2, 66, 39, 0.12);
    color: var(--primary-green);

}

.icon__features{
  width:3.5rem;
  height:3.5rem;
}


/* ---------- WORKFLOW ---------- */

.workflow {
  padding-block: var(--space-xl);
  background: var(--bg-cream);
}

.workflow__inner {
  max-width: 85rem;
  margin-inline: auto;
  padding-inline: clamp(2rem, 6vw, 7rem);
  display: grid;
  gap: var(--space-lg);
}

.workflow__top {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.workflow__panel {
  align-self: start;
  border: 1px solid var(--primary-green);
  border-radius: 1.25rem;
  padding: var(--space-lg);
  background: var(--bg-cream);
  display: grid;
  gap: var(--space-md);
}

.workflow__title { margin: 0; line-height: 1.15; }

.workflow__copy {
  margin: 0;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--primary-green);
}

.workflow__list {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 0.4em;
  color: var(--primary-green);
  font-size: var(--text-body);
  line-height: 1.6;
}

.workflow__cta { width: fit-content; }

.workflow__shot {
  border: 1px solid var(--primary-green);
  border-radius: 1.25rem;
  background: var(--white);
  overflow: hidden;
}

.workflow_shot__wrap {
 
display:inline-grid;
row-gap:5vh;
height: 100%;
}

.workflow__shot--top img {
  width: 100%;
  height: 325px;
  display: block;
   object-fit:cover;
     object-position: left;
}

.workflow__bottom {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-lg);
  align-items: start;
  max-height:50vh;
}

.workflow__shot--wide, .workflow__shot--small{
  height:100%;
  width:100%;
}

.image-full{width:100%;
      border: 1px solid var(--primary-green);
  border-radius: 1.25rem;
  background: var(--white);
  overflow: hidden;
}

.cover_image_ws{
  height:100%;
    object-fit:cover;
}

.workflow__img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- DIARY CTA ---------- */

.cta {
  padding-block: var(--space-xl);
  background: var(--bg-cream);
}

.cta__inner {
  max-width: 75rem;
  margin-inline: auto;
  padding-inline: clamp(2rem, 6vw, 7rem);
}

.cta__card {
  background: var(--primary-green);
  border-radius: 1.5rem;
  padding: var(--space-lg);
  color: var(--bg-cream);
  display: grid;
  justify-items: center;
  gap: var(--space-md);
  text-align: center;
}

.cta__media {
  width: min(60rem, 90%);
  background: var(--white);
  border-radius: 1rem;
  padding: var(--space-sm);
  overflow: hidden;
}

.cta__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

.cta__title {
  margin: 0;
  color: var(--bg-cream);
  line-height: 1.15;
}

.cta__copy {
  margin: 0;
  max-width: 70ch;
  color: var(--bg-cream);
  line-height: 1.6;
}

.cta__cta { margin-top: var(--space-sm); }

/* ---------- INBOX CLARITY ---------- */

.inbox {
  padding-block: var(--space-xl);
  background: var(--bg-cream);
}

.inbox__inner {
  max-width: 85rem;
  margin-inline: auto;
  padding-inline: clamp(2rem, 6vw, 7rem);

  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-lg);
  align-items: center;
}

.inbox__content {
  display: grid;
  gap: var(--space-md);
  max-width: 48rem;
}

.inbox__title { margin: 0; line-height: 1.1; }

.inbox__copy {
  margin: 0;
  line-height: 1.7;
  color: var(--text-dark);
}

.inbox__cta { width: fit-content; }

.inbox__media {
  border: 1px solid var(--primary-green);
  border-radius: 1.25rem;
  padding: var(--space-sm);
  background: var(--bg-cream);
  overflow: hidden;
}


.inbox__img {
  display: block;
  width: 100%;
  height: 500px;  
  object-fit: cover;
  object-position: left;
  border-radius: 0.9rem;
}



/* Outer framed container */
.inbox-carousel {
  border: 1px solid var(--primary-green);
  border-radius: 1.25rem;
  padding: var(--space-sm);
  background: var(--bg-cream);
  overflow: hidden;

  /* controls image height */
  aspect-ratio: 16 / 10;
}

.inbox-carousel.hidden {
display:none;
}

/* Fade carousel container */
.inbox-carousel__fade {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 0.9rem;
  overflow: hidden;
}

/* Slides */
.inbox-carousel__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% center;

  opacity: 0;
  transition: opacity 0.9s ease;
}

.inbox-carousel__slide.is-active {
  opacity: 1;
}



/* Auto slide animation */
@keyframes slide {
  0%, 25% { transform: translateX(0); }
  33%, 58% { transform: translateX(-100%); }
  66%, 91% { transform: translateX(-200%); }
  100% { transform: translateX(0); }
}


/* ---------- FOOTER ---------- */

.site-footer {
  background: var(--primary-gold-light);
  font-size:smaller;
}

.site-footer__inner {
  margin-inline: auto;
  padding: 2vh 5vh;
  display: grid;
  gap: var(--space-sm);
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-lg);
}

.site-footer__logo img {
  width: 4.5rem;
  height: auto;
  display: block;
  border-radius: 0.5rem;
}

.site-footer__links {
  display: grid;
  gap: var(--space-sm);
  text-align: right;
}

.site-footer__link {
  color: var(--primary-green);
  font-weight: 700;
  text-decoration: none;
}


.site-footer__divider {
  height: 1px;
  background: color-mix(in srgb, var(--primary-green) 55%, transparent);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.site-footer__copy,
.site-footer__credit {
  margin: 0;
  color: var(--primary-green);
  font-weight: 700;
}

.site-footer__credit a {
  color: var(--primary-green);
  text-decoration: underline;
}

.site-footer__credit a:hover {
  opacity: 0.85;
}


/*CONTACT PAGE STYLES*/
    /* Contact form card */
    .access-wrap{
      min-height: calc(100vh - 1px);
      display: grid;
      place-items: center;
      padding: 48px 18px;
 
    }

    .access-card{
      width: min(640px, 100%);
      background: var(--primary-green);           
      border-radius: 14px;
      padding: 34px 34px 30px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    }

    .access-title{
      margin: 0 0 22px;
      text-align: center;
      color: #ffffff;
      font-weight: 800;
      letter-spacing: 0.2px;
      font-size: 32px;
      line-height: 1.1;
    }

    .access-form{
      display: grid;
      gap: 16px;
    }
    
.access-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  column-gap: 20px;
  row-gap: 16px;
}

    .access-field{
      display: grid;
      gap: 8px;
    }

    .access-label{
      color: rgba(255,255,255,0.92);
      font-weight: 700;
      font-size: 13px;
    }

    .access-input,
    .access-textarea{
      width: auto;
      border: 0;
      border-radius: 6px;
      background: #ffffff;
      padding: 12px 12px;
      font-size: 14px;
      outline: none;
      box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
    }

    .access-textarea{
      min-height: 110px;
      resize: vertical;
      grid-column: 1 / -1;
    }

    .access-actions{
      display: grid;
      place-items: center;
      margin-top: 8px;
    }

    .access-btn{
      border: 0;
      background: #d2ad62;              /* gold */
      color: #ffffff;
      font-weight: 800;
      padding: 12px 26px;
      border-radius: 6px;
      cursor: pointer;
      min-width: 180px;
      transition: transform 0.15s ease, filter 0.15s ease;
    }
    .access-btn:hover{ filter: brightness(0.98); transform: translateY(-1px); }
    .access-btn:active{ transform: translateY(0); }

    .access-note{
      margin: 14px 0 0;
      text-align: center;
      color: rgba(255,255,255,0.75);
      font-size: 12px;
      line-height: 1.4;
    }

    /* Success/error banner */
    .banner{
      border-radius: 8px;
      padding: 10px 12px;
      font-weight: 700;
      margin-bottom: 14px;
      text-align: center;
      font-size: 13px;
    }
    .banner.success{ 
        background: var(--primary-green);
        border-radius: 1.25rem;
        padding: var(--space-sm) var(--space-md);
        display: flex;
        align-items: center;
    }
    
    
    
    .banner.error{ background: rgba(210,173,98,0.22); color: #fff; }
    
    .success-state{
  text-align: center;
  display: grid;
  gap: 18px;
  padding: 10px 0;
}

.success-copy{
  margin: 0 auto;
  max-width: 460px;
  color: rgba(255,255,255,0.92);
  font-size: 16px;
  line-height: 1.6;
}

.success-link{
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
    

    /* Mobile */
    @media (max-width: 560px){
      .access-card{ padding: 26px 20px 22px; }
      .access-title{ font-size: 26px; }
      .access-grid{ grid-template-columns: 1fr; }
    }

    /* Honeypot hidden field */
    .hp{
      position: absolute !important;
      left: -9999px !important;
      width: 1px !important;
      height: 1px !important;
      overflow: hidden !important;
    }

/*cookies styles*/
.cookie-banner{
  position:fixed;
  left:20px;
  bottom:20px;
  z-index:9999;
  width:min(360px,calc(100vw - 40px));
  background:#064b2f;
  color:#fff;
  border-radius:14px;
  padding:18px;
  box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

.cookie-banner__text{
  margin:0 0 14px;
  font-size:14px;
  line-height:1.5;
}

.cookie-banner__actions{
  display:flex;
  gap:10px;
}

.cookie-btn{
  border:0;
  border-radius:6px;
  padding:10px 16px;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
}

.cookie-btn--accept{
  background:#d2ad62;
  color:#fff;
}

.cookie-btn--decline{
  background:rgba(255,255,255,0.15);
  color:#fff;
}


/* ---------- RESPONSIVE ---------- */

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

  .hero__media {
    justify-self: start;
    width: 100%;
  
  }

 

  .features__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .features__grid { grid-template-columns: 1fr; }
  .feature-card__text { max-width: 60ch; }

  .workflow__top,
  .workflow__bottom { grid-template-columns: 1fr; }

  .workflow__panel { padding: var(--space-md); }

  /* stacked: image should behave normally */
  .workflow__shot--top { height: auto; }
  .workflow__shot--top img { height: auto; }

  .inbox__inner { grid-template-columns: 1fr; }
  .inbox__content { max-width: 60ch; }
  
  .workflow__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-height:auto;
}
}

/* Responsive */
@media (max-width: 768px) {
  .site-footer__top {
    flex-direction: row;
    align-items: flex-start;
  }

  .site-footer__links {
    text-align: left;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .logo img { height: 8rem; }
  
  .nav-wrapper {
  border-radius: 1.25rem;
  padding: var(--space-md) var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

  
.hero__title {
padding: clamp(2rem, 6vw, 7rem);
  color: var(--primary-green);
  line-height: 1.2;
  font-weight: 700;
  font-size: var(--text-display);
  text-align:left;
  margin:0;
  
}
  

.site-header {
  padding: var(--space-sm) var(--space-sm);
  position: static;
  z-index: 1000;
}

.features {
  padding-block: var(--space-md);
}

.hero {
  padding-block: var(--space-md);

}

div .image-full {
order:1;
    height: 400px;
    object-fit: cover;
    object-position: left;
}

.workflow__top{
    order:2;
}

.workflow {
  padding: var(--space-xl) var(--space-md) var(--space-md) var(--space-md)  ;
justify-self:center;
}

.inbox__img {
  display: block;
  width: 100%;
  height: 250px;  

}

}
@media (max-width: 600px) {
  .cta__card {
    padding: var(--space-md);
    border-radius: 1.25rem;
  }

  .cta__media { border-radius: 0.9rem; }
  
 .hero__media {
    display: none;
  }
  
  .hero__media_hidden {
    display: block;
  }
  
  .inbox-carousel.hidden {
display:block;
}
  
  .workflow__shot--top{display:none;}
  .workflow__bottom{display: none;}
  
  .inbox__media{order: -1;}
  
  .inbox-carousel{order: -1;}
}
