/* ==========================================================================
   Josephine Vains — site styles
   Colours, fonts and spacing carried over from the original Webflow design.
   ========================================================================== */

@font-face { font-family: "Calluna"; src: url("../fonts/calluna-semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Calluna"; src: url("../fonts/calluna-semiboldit.woff") format("woff"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Calluna"; src: url("../fonts/calluna-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Calluna"; src: url("../fonts/calluna-boldit.woff") format("woff"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Calluna"; src: url("../fonts/calluna-black.woff") format("woff"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --cream: #fff8e5;
  --text: #202020e6;
  --green: #005f51;
  --pink: #ffb4aa;
  --gold: #febf55;
  --green-10-tint: #d9e7e5;
  --white: #fff;

  --serif: "Calluna", Georgia, serif;
  --sans: "Work Sans", sans-serif;
  --label: "Poppins", sans-serif;

  --nav-height: 90px;
  --max-width: 1140px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--cream);
  color: var(--text);
  letter-spacing: -.2px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 23px;
}
img { display: block; max-width: 100%; }
p { margin: 0 0 10px; }

h1, h2, h3, h4 { color: var(--green); font-family: var(--serif); }
h1 {
  text-align: center;
  letter-spacing: -2px;
  margin: 50px 0 15px;
  font-size: 70px;
  font-weight: 900;
  line-height: 70px;
}
/* Short coloured bar under every main heading */
h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 5px;
  margin: auto;
  position: relative;
  top: 18px;
  background-color: var(--pink);
}
h2 { text-align: left; letter-spacing: -.3px; margin: 10px 0; font-size: 30px; font-weight: 900; line-height: 34px; }
h3 { margin: 40px 0 10px; font-size: 24px; font-style: italic; font-weight: 600; line-height: 28px; }

a { color: #1a1b1f; text-decoration: underline; transition: opacity .2s; }
a:hover { color: #32343a; }
ul { margin: 20px 0 10px; padding-left: 20px; }
li { margin-bottom: 10px; padding-left: 10px; }

blockquote {
  border-top: 3px solid var(--pink);
  color: var(--green);
  margin: 25px 0;
  padding: 20px 0 0;
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 600;
  line-height: 36px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); border: 0;
}

/* Heading accent colours */
.page-header::after, .h1-all-green::after { background-color: var(--green); }
.project-header::after, .h1-yellow-accent::after { background-color: var(--gold); }
.event-header::after, .h1-pink-accent::after { background-color: var(--pink); }
.heading-footer::after { width: 40px; height: 4px; }

/* ---------- Layout ---------- */
.section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 100px;
  overflow: hidden;
}
.section-green { background-color: var(--green); position: relative; }
.section-pink { background-color: var(--pink); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 60px auto 0;
  position: relative;
}
.container-centred { display: flex; flex-direction: column; align-items: center; }
.hero-container { display: flex; flex-direction: column; align-items: center; padding-left: 10%; padding-right: 10%; }

.section-bg-container {
  position: absolute;
  top: 0;
  width: 100%;
  max-width: var(--max-width);
  height: 100%;
  pointer-events: none;
}
.shape { position: absolute; display: block; }
.shape svg { display: block; width: 100%; height: auto; }

/* ---------- Buttons ---------- */
.button, .button-large {
  display: inline-block;
  background-color: var(--green);
  color: var(--cream);
  border: 0;
  border-radius: 100px;
  text-transform: uppercase;
  text-decoration: none;
  font-family: var(--label);
  font-weight: 600;
  cursor: pointer;
  transition: background-color .4s, opacity .4s, color .4s;
}
.button { letter-spacing: 1px; padding: 8px 20px; font-size: 10px; line-height: 16px; }
.button-large { letter-spacing: 1.5px; padding: 10px 24px; font-size: 14px; line-height: 20px; }
.button:hover, .button-large:hover { color: var(--cream); background-color: #005f51bf; }

/* Arrow after button text (cream on green buttons, green on light buttons) */
.button::after, .button-large::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 8px;
  vertical-align: -.5px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 490.34 473.87'%3E%3Cpath d='M199.47,410.14,329.73,285.37H0V188.49H329.73L199.47,63.72,255.94,0l234.4,235v3.83l-234.4,235Z' fill='%23fff8e5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.button-large::after { width: 12px; height: 12px; margin-left: 10px; }
.button-pink::after, .button-yellow::after, .button-pink-outline::after, .button-outline::after, .button-menu-bar::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 490.34 473.87'%3E%3Cpath d='M199.47,410.14,329.73,285.37H0V188.49H329.73L199.47,63.72,255.94,0l234.4,235v3.83l-234.4,235Z' fill='%23005f51'/%3E%3C/svg%3E");
}
.button-menu-bar::after, .button-no-arrow::after { display: none; }
.button-back::after { display: none; }
.button-back::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  vertical-align: -.5px;
  transform: rotate(180deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 490.34 473.87'%3E%3Cpath d='M199.47,410.14,329.73,285.37H0V188.49H329.73L199.47,63.72,255.94,0l234.4,235v3.83l-234.4,235Z' fill='%23fff8e5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.button-pink { background-color: var(--pink); color: var(--green); }
.button-pink:hover { background-color: #ffb4aa80; color: var(--green); }
.button-yellow { background-color: var(--gold); color: var(--green); }
.button-yellow:hover { background-color: #febf5580; color: var(--green); }
.button-large.button-yellow:hover { background-color: #febf5599; }
.button-pink-outline {
  border: 2px solid var(--pink);
  background-color: transparent;
  color: var(--green);
  padding-top: 6.5px;
  padding-bottom: 6.5px;
}
.button-pink-outline:hover { background-color: #ffb4aa40; color: var(--green); }
.button-outline {
  border: 2.5px solid var(--green);
  background-color: var(--cream);
  color: var(--green);
}
.button-outline:hover { background-color: #005f5126; color: var(--green); }
.button-menu-bar { color: var(--green); background-color: #f0a8a8; padding: 6px 18px; }
.button-menu-bar:hover { color: var(--green); background-color: #ffb4b280; }

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--nav-height);
  padding: 0 20px;
  background-color: rgba(255, 248, 229, 0);
  transition: background-color .4s;
}
.navbar.is-scrolled { background-color: var(--cream); }
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}
.header-link {
  flex: 1 1 0;
  min-width: 0;
  height: 30px;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
  transition: flex-grow .5s, opacity .5s;
}
.header-brand {
  color: var(--green);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 900;
  line-height: 30px;
  letter-spacing: -.3px;
  transition: opacity .2s;
}
.header-link:hover .header-brand { opacity: .5; }
/* On the home page the name is hidden in the menu bar until you scroll past the hero */
.home .navbar:not(.is-scrolled) .header-link { flex-grow: 0; opacity: 0; }

.navigation-items {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 1 auto;
  transition: flex-grow .5s;
}
.home .navbar:not(.is-scrolled) .navigation-items { flex-grow: 1; justify-content: space-between; }
.navigation-item {
  color: var(--green);
  text-align: center;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  padding: 9px 0 4px;
  font-family: var(--label);
  font-size: 12px;
  font-weight: 600;
  line-height: 14px;
  transition: border-color .2s, color .2s;
}
.navigation-item:hover, .navigation-item[aria-current="page"] { color: var(--green); border-bottom-color: var(--green); }
.navigation-item.home-nav { display: none; }
.navigation-separator {
  color: var(--pink);
  margin: 0 16px;
  font-family: var(--label);
  font-size: 12px;
  font-weight: 600;
  user-select: none;
}
.navigation-item-button {
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: var(--label);
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
}
.menu-button {
  display: none;
  margin-left: auto;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-button img { width: 22px; }

/* ---------- Home hero ---------- */
.home-hero-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100vw;
  height: 100vh;
  max-height: 1000px;
  padding-top: 170px;
  padding-bottom: 120px;
  overflow: hidden;
}
.hero-section-inner-container { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-section-text { position: relative; z-index: 100; left: 116px; }
.h1-hero { text-indent: -15px; margin-bottom: 48px; font-size: 110px; line-height: 92px; }
.post-h1 {
  color: var(--green);
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 0;
  font-family: var(--label);
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
}
.hero-profile-image { width: 550px; }
.hero-profile-image-mobile { width: 550px; display: none; }

.home-hero-bg-shape-a { color: var(--pink); width: 800px; top: -433px; left: -16%; }
.home-hero-bg-shape-b { color: var(--gold); width: 500px; top: -151px; right: -11%; }
.home-hero-bg-shape-b_l { color: var(--gold); width: 500px; top: -430px; left: -86%; transform: rotate(-129deg); }
.home-hero-bg-shape-a_r { color: var(--green-10-tint); width: 550px; top: 448px; right: -60%; transform: rotateY(-180deg) rotateZ(106deg); }

/* ---------- Home: intro (green) ---------- */
.homepage-video-container { width: 80%; padding-bottom: 60px; padding-left: 100px; }
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 3px solid #fff8e51a;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.about-section-container { width: 50%; margin-left: auto; margin-right: 100px; }
.intro-highlight {
  color: var(--cream);
  padding-bottom: 20px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 32px;
}
.intro-highlight.hero-intro { color: var(--green); text-align: center; width: 75%; margin: 0 auto; }
.about-section-shape-c-l { color: #fff8e50d; width: 1500px; bottom: -494px; left: -88%; transform: rotateY(-180deg) rotateZ(-180deg); }

/* ---------- Home: expertise ---------- */
.expertise-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; column-gap: 64px; row-gap: 16px; }
.expertise-icon { width: 100px; }
.expertise-text { margin: 16px 0; }
.expertise-text p { margin-bottom: 10px; }

/* ---------- Event & project cards ---------- */
.collection-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin: 0 -20px;
  padding: 0;
  list-style: none;
}
.collection-list > li { margin: 0; padding: 0; }
.event-item-wrapper { height: 100%; background-color: #ffb4aa26; }
.event-item-wrapper.project-accent { background-color: #febf551a; }
.event-image {
  width: 100%;
  height: 220px;
  margin-bottom: 20px;
  object-fit: cover;
  background-color: #ffb4aa4d;
  display: flex;
  justify-content: center;
  align-items: center;
}
.event-image.project-accent { background-color: #febf5566; }
.event-image .event-icon { color: var(--pink); width: 50px; }
.event-image .project-default-icon { color: var(--gold); width: 54px; }
.event-info-container { padding: 0 24px 24px; }
.event-date {
  position: relative;
  top: -36px;
  display: inline-block;
  margin-bottom: 0;
  padding: 8px 12px;
  background-color: var(--pink);
  color: var(--green);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--label);
  font-size: 12px;
  font-weight: 600;
  line-height: 14px;
}
.event-date.project-accent { background-color: var(--gold); }
.event-title { margin-top: -18px; }
.event-item-wrapper.no-date .event-title { margin-top: 0; }
.event-location {
  color: var(--green);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--label);
  font-size: 12px;
  font-weight: 600;
  line-height: 14px;
}
.event-description { margin-bottom: 16px; }
/* Keep line breaks typed into event descriptions in js/data.js */
.event-description, #event-root .hero-intro { white-space: pre-line; }
.event-card-cta-container { display: flex; flex-wrap: wrap; gap: 8px 6px; }
.no-events { color: #202020cc; text-align: center; font-style: italic; }
.pagination-container { display: flex; justify-content: center; margin-top: 60px; }
.pagination-container .button-large::after { display: none; }

/* ---------- Inner page hero ---------- */
.page-hero-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100vw;
  padding-top: 100px;
  padding-bottom: 50px;
  overflow: hidden;
}
.green-tint-section { background-color: #005f511a; }
.pink-tint-section { background-color: #ffb4aa4d; }
.project-page-hero { background-color: #febf5526; padding-bottom: 180px; }
.page-header { margin-top: 100px; margin-bottom: 40px; font-size: 90px; line-height: 86px; }
.page-header.project-header, .page-header.event-header { margin-top: 40px; }

.about-hero-bg-shape-a-r { color: #005f510d; width: 1000px; top: -307px; left: -38%; transform: rotateX(180deg) rotateZ(-154deg); }
.about-hero-shape-b-r { color: #005f510d; width: 800px; top: -660px; right: -13%; transform: rotateX(-180deg) rotateZ(-29deg); }
.teaching-hero-shape-a-r { color: #ffb4aa33; width: 800px; top: -445px; right: -55%; transform: rotateX(-180deg) rotateZ(-63deg); }
.teaching-hero-shape-b-l { color: #ffb4aa33; width: 800px; top: -133%; left: -23%; transform: rotate(160deg); }
.event-template-shape-b-l { color: #ffb4aa33; width: 800px; top: -34%; left: -23%; transform: rotate(160deg); }
.project-hero-shape-a-l { color: #febf551f; width: 1000px; top: -307px; left: -38%; transform: rotateX(180deg) rotateZ(-154deg); }

/* ---------- Rich text pages ---------- */
.rich-text { width: 60%; margin: 0 auto; }
.rich-text p { margin-bottom: 25px; }
.rich-text a { display: inline; color: var(--green); font-weight: 600; text-decoration: none; }
.rich-text a:hover { opacity: .5; }
.rich-text h2 { margin-top: 0; }

.main-col-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  column-gap: 60px;
  width: 80%;
  margin: 60px auto 80px;
}
.about-page-profile { width: 400px; flex-shrink: 0; border: 5px solid var(--pink); }
.about-page-block-quote { border-top-width: 0; margin-top: 0; padding-top: 0; }
.quote-attr {
  display: block;
  margin-top: 8px;
  color: var(--green);
  text-align: left;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--label);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 14px;
}
.inline-rt-block-quote { width: 60%; margin: 20px auto 40px; padding: 0 10%; }
.inline-bq { margin-bottom: 15px; }

/* ---------- Event / project detail ---------- */
.event-details-container {
  display: flex;
  justify-content: center;
  width: 75%;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 16px;
  font-weight: 600;
}
.event-details-icon { color: var(--pink); width: 19px; height: 20px; margin-right: 12px; position: relative; top: 2px; flex-shrink: 0; }
.event-details-icon.location { width: 17px; top: 1px; }
.project-page .event-details-icon { color: var(--gold); }
.event-cta-container { display: flex; gap: 16px; margin-top: 24px; flex-wrap: wrap; justify-content: center; }
.project-image {
  position: relative;
  width: 75%;
  max-height: 400px;
  margin: 0 auto;
  object-fit: cover;
}
.project-image.event-image { height: auto; max-height: none; margin-top: 32px; margin-bottom: 0; background: none; display: block; }
.project-image-wrap { margin-top: -160px; position: relative; z-index: 1; }
.back-cta-container { display: flex; justify-content: center; width: 100%; margin: 64px 0; }

.single-col-heading { width: 60%; margin-left: auto; margin-right: auto; }
.proj-more-info-box {
  width: 600px;
  max-width: 100%;
  margin: 0 auto 100px;
  padding: 20px;
  text-align: center;
  background-color: #febf551a;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}
.more-information-box-heading {
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-bottom: 10px;
  font-family: var(--label);
  font-size: 14px;
  font-weight: 600;
}
.more-info-body { padding-bottom: 16px; }
.related-event-heading { text-align: center; margin-bottom: 40px; }
.related-event-card-wrapper { width: 400px; max-width: 100%; margin: 0 auto; }

.not-found { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 30px 60px; }

/* ---------- Footer / contact ---------- */
.footer-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 0;
  background-color: var(--green);
  overflow: hidden;
}
.footer-section .container { margin-top: 60px; }
.footer-shape-a-r { color: #fff8e508; width: 1000px; top: -478px; right: -54%; transform: rotate(154deg); }
.footer-shape-c-l { color: #fff8e508; width: 1500px; top: -452px; left: -86%; transform: rotate(-3deg); }
.footer-content-container { position: relative; display: flex; flex-direction: column; align-items: center; margin: 0 auto; }
.footer-image { position: absolute; left: 0; width: 240px; }
.footer-text-container { width: 400px; margin-bottom: 40px; }
.heading-footer { color: var(--cream); margin: 0 0 40px; padding-right: 10px; font-size: 56px; line-height: 56px; }
.contact-message {
  color: var(--cream);
  text-align: center;
  padding-bottom: 40px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 26px;
}
.contact-message a { color: var(--cream); }
.contact-form { display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact-form-label {
  display: block;
  margin-bottom: 10px;
  color: var(--cream);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--label);
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
}
.contact-form-field {
  display: block;
  width: 75%;
  margin: 0 auto 25px;
  padding: 8px 12px;
  color: var(--white);
  background-color: #ffffff1a;
  border: 0;
  border-bottom: 2px solid var(--pink);
  font: inherit;
  font-size: 14px;
}
.contact-form-field::placeholder { color: #fff8e599; }
.contact-form-field:focus { outline: 2px solid var(--pink); outline-offset: 2px; }
.contact-form-field.message-field { width: 400px; max-width: 100%; height: 200px; resize: vertical; }
.contact-form .button-large::after { display: none; }
.form-status { margin-top: 20px; padding: 16px; color: var(--cream); background-color: #fff8e51a; font-weight: 600; text-align: center; }
.form-status[hidden] { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media screen and (max-width: 991px) {
  blockquote { font-size: 24px; line-height: 32px; }
  .section { padding-left: 30px; padding-right: 30px; }
  .container { margin-top: 30px; }
  .rich-text { width: 80%; }

  .navbar { padding: 10px 30px; }
  .header-link, .home .navbar:not(.is-scrolled) .header-link { flex: 1 1 auto; opacity: 1; }
  .menu-button { display: block; }
  .navigation-items,
  .home .navbar:not(.is-scrolled) .navigation-items {
    display: none;
    position: absolute;
    top: calc(var(--nav-height) - 10px);
    right: 30px;
    width: 200px;
    padding: 30px 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--cream);
    border-radius: 20px;
    box-shadow: 0 10px 20px 10px #00000014;
  }
  .navbar.menu-open .navigation-items,
  .home .navbar.menu-open:not(.is-scrolled) .navigation-items { display: flex; }
  .navigation-separator { display: none; }
  .navigation-item {
    display: inline-block;
    margin-bottom: 15px;
    padding: 10px 30px;
    border-bottom: 0;
    border-radius: 100px;
    transition: background-color .2s;
  }
  .navigation-item:hover, .navigation-item[aria-current="page"] { background-color: #005f5126; }
  .navigation-item.home-nav { display: inline-block; }
  .button-menu-bar { background-color: var(--pink); margin: 6px 0; }

  .home-hero-section { padding-top: 150px; }
  .hero-section-inner-container { flex-direction: column-reverse; }
  .hero-section-text { margin-top: -20px; left: auto; }
  .h1-hero { font-size: 96px; line-height: 80px; }
  .hero-profile-image { display: none; }
  .hero-profile-image-mobile { display: block; width: 400px; }
  .home-hero-bg-shape-a { top: -55%; left: -36%; }
  .home-hero-bg-shape-b { right: -22%; }
  .home-hero-bg-shape-b_l, .home-hero-bg-shape-a_r { display: none; }

  .homepage-video-container { width: 100%; padding-left: 0; }
  .about-section-container { width: 75%; margin-right: 0; }
  .about-section-shape-c-l { left: -105%; }

  .expertise-grid { grid-template-columns: 1fr; column-gap: 48px; padding: 0 16px; }
  .expertise-block { display: flex; align-items: flex-start; width: 80%; margin: 0 auto 60px; }
  .expertise-icon { margin-right: 40px; flex-shrink: 0; }
  .expertise-text { margin-top: 0; }

  .collection-list { grid-template-columns: 1fr 1fr; }

  .page-header { font-size: 80px; line-height: 76px; }
  .about-hero-bg-shape-a-r { width: 900px; }
  .about-hero-shape-b-r { right: -110%; transform: rotateX(-180deg) rotateZ(29deg); }
  .teaching-hero-shape-a-r { display: none; }
  .project-hero-shape-a-l { width: 900px; }
  .main-col-container { column-gap: 40px; width: 100%; margin: 30px auto 50px; }
  .about-page-profile { width: 300px; }
  .single-col-heading { width: 80%; }
  .inline-rt-block-quote { width: 80%; }

  .footer-section { padding-left: 30px; padding-right: 30px; }
  .footer-image { position: relative; left: auto; margin-bottom: 60px; }
  .footer-content-container { width: 100%; }
  .footer-shape-a-r { top: -542px; right: -47%; }
  .footer-shape-c-l { left: -110%; }
}

@media screen and (max-width: 767px) {
  :root { --nav-height: 80px; }
  .section { padding-left: 30px; padding-right: 30px; }
  .rich-text { width: 100%; }
  .home-hero-section { height: 80vh; padding-top: 100px; padding-bottom: 40px; }
  .home-hero-bg-shape-a { top: -54%; left: -42%; }
  .home-hero-bg-shape-b { top: 15px; right: -24%; transform: rotate(14deg); }
  .hero-profile-image-mobile { width: 350px; }
  .page-header { font-size: 74px; line-height: 70px; }
  .collection-list { grid-template-columns: 1fr; margin: 0; }
  .expertise-block { width: 100%; }
  .expertise-icon { margin-right: 20px; }
  .about-hero-shape-b-r { display: none; }
  .main-col-container { flex-direction: column; align-items: center; row-gap: 40px; }
  .project-image { width: 90%; }
  .single-col-heading { width: 100%; }
  .inline-rt-block-quote, .about-section-container { width: 100%; }
  .event-details-container { width: 100%; }
  .footer-section { padding-left: 15px; padding-right: 15px; }
  .footer-shape-a-r { display: none; }
  .footer-text-container { margin-bottom: 0; }
}

@media screen and (max-width: 479px) {
  h1 { font-size: 60px; line-height: 60px; }
  .section { padding: 20px 16px; }
  .section-green { padding-top: 30px; padding-bottom: 30px; }
  .container { margin-bottom: 30px; }
  .navbar { padding: 10px 16px; }
  .navigation-items, .home .navbar:not(.is-scrolled) .navigation-items { right: 16px; }
  .home-hero-section { height: auto; max-height: 900px; padding-bottom: 100px; }
  .h1-hero { font-size: 70px; line-height: 62px; }
  .hero-profile-image-mobile { width: 90%; }
  .intro-highlight { font-size: 20px; line-height: 26px; }
  .intro-highlight.hero-intro { width: 80%; font-size: 22px; line-height: 26px; }
  .home-hero-bg-shape-a { top: -56%; left: -131%; }
  .home-hero-bg-shape-b { top: -207px; right: -109%; }
  .page-header { font-size: 60px; line-height: 60px; }
  .page-header.project-header, .page-header.event-header { margin-top: 20px; }
  .hero-container { padding-left: 16px; padding-right: 16px; }
  .expertise-block { flex-direction: column; }
  .expertise-grid { padding: 0; }
  .about-page-profile { width: 100%; }
  .main-col-container.rev { flex-direction: column-reverse; }
  .project-image { width: 80%; }
  .heading-footer { font-size: 48px; line-height: 48px; }
  .footer-image { width: 80%; }
  .footer-text-container { width: 100%; }
  .contact-form-field, .contact-form-field.message-field { width: 100%; }
  .inline-rt-block-quote { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
