/* jeromefosterii.com — rebuilt from the Webflow site, trimmed to the rules the pages use */

/* ---------- base (normalize + Webflow defaults) ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; font-family: sans-serif; height: 100%; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100%; background-color: #fff; }
a { background-color: transparent; }
a:active, a:hover { outline: 0; }
b, strong { font-weight: bold; }
sub, sup { vertical-align: baseline; font-size: 75%; line-height: 0; position: relative; }
sub { bottom: -.25em; }
img { border: 0; vertical-align: middle; max-width: 100%; display: inline-block; }
button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0; }
button, select { text-transform: none; }
input { line-height: normal; }
textarea { overflow: auto; }
h1, h2, h3, h4, h5, h6 { margin-bottom: 10px; font-weight: bold; }
label { margin-bottom: 5px; font-weight: bold; display: block; }

.w-inline-block { max-width: 100%; display: inline-block; }
.w-button { color: #fff; line-height: inherit; cursor: pointer; background-color: #3898ec; border: 0; border-radius: 0; padding: 9px 15px; text-decoration: none; display: inline-block; }
input.w-button { -webkit-appearance: button; appearance: button; }

.w-form { margin: 0 0 15px; }
.w-form-done { text-align: center; background-color: #ddd; padding: 20px; display: none; }
.w-form-fail { background-color: #ffdede; margin-top: 10px; padding: 10px; display: none; }
.w-input, .w-select { color: #333; vertical-align: middle; background-color: #fff; border: 1px solid #ccc; width: 100%; height: 38px; margin-bottom: 10px; padding: 8px 12px; font-size: 14px; line-height: 1.42857; display: block; }
.w-input::placeholder, .w-select::placeholder { color: #999; }
.w-input:focus, .w-select:focus { border-color: #3898ec; outline: 0; }
textarea.w-input, textarea.w-select { height: auto; }
.w-select { background-color: #f3f3f3; }

.w-container { max-width: 940px; margin-left: auto; margin-right: auto; }
.w-container::before, .w-container::after, .w-row::before, .w-row::after, .w-tabs::before, .w-tabs::after { content: " "; grid-area: 1 / 1 / 2 / 2; display: table; }
.w-container::after, .w-row::after, .w-tabs::after { clear: both; }
.w-container .w-row { margin-left: -10px; margin-right: -10px; }
.w-col { float: left; width: 100%; min-height: 1px; padding-left: 10px; padding-right: 10px; position: relative; }
.w-col-6 { width: 50%; }

.w-tabs { position: relative; }
.w-tab-menu { position: relative; }
.w-tab-link { vertical-align: top; text-align: left; cursor: pointer; color: #222; background-color: #ddd; padding: 9px 30px; text-decoration: none; display: inline-block; position: relative; }
.w-tab-link.w--current { background-color: #c8c8c8; }
.w-tab-link:focus { outline: 0; }
.w-tab-content { display: block; position: relative; overflow: hidden; }

@media screen and (max-width: 991px) { .w-container { max-width: 728px; } }
@media screen and (max-width: 767px) {
  .w-row, .w-container .w-row { margin-left: 0; margin-right: 0; }
  .w-col { width: 100%; left: auto; right: auto; }
}
@media screen and (max-width: 479px) {
  .w-container { max-width: none; }
  .w-col { width: 100%; }
  .w-tab-link { display: block; }
}

/* ---------- fonts (self hosted) ---------- */
@font-face { font-family: Roboto; src: url("/fonts/roboto-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Roboto; src: url("/fonts/roboto-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: Roboto; src: url("/fonts/roboto-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Roboto; src: url("/fonts/roboto-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: Lato; src: url("/fonts/lato-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Lato; src: url("/fonts/lato-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- site ---------- */
:root {
  --primary-dark: #1c1e1f;
  --paragraph-grey: #8d8e8f;
  --primary: #d62222;
  --dark-gray: #afafaf;
  --white: white;
  --light-gray: #f9f9fa;
  --gray: #e9e9e9;
  --black: black;
  --primary-blue: #00b4dd;
  --primary-green: #00c382;
  --dark-gray-50: #afafaf80;
  --secondary: #ff6d00;
  --white-50: #ffffff80;
}

body { color: var(--primary-dark); font-family: Lato, sans-serif; font-size: 16px; line-height: 20px; }
h1 { color: var(--primary-dark); margin-top: 10px; margin-bottom: 10px; font-family: Roboto, sans-serif; font-size: 56px; font-weight: 700; line-height: 1.2em; }
h2 { color: var(--primary-dark); text-transform: capitalize; margin-top: 10px; margin-bottom: 10px; font-family: Roboto, sans-serif; font-size: 48px; font-weight: 700; line-height: 1.2em; }
h3 { color: var(--primary-dark); margin-top: 10px; margin-bottom: 10px; font-family: Roboto, sans-serif; font-size: 36px; font-weight: 700; line-height: 1.2em; }
h4 { color: var(--primary-dark); margin-top: 10px; margin-bottom: 10px; font-family: Roboto, sans-serif; font-size: 28px; font-weight: 700; line-height: 1.2em; }
h5 { color: var(--primary-dark); margin-top: 10px; margin-bottom: 10px; font-family: Roboto, sans-serif; font-size: 24px; font-weight: 700; line-height: 1.2em; }
p { color: var(--paragraph-grey); margin-top: 10px; margin-bottom: 10px; font-family: Roboto, sans-serif; font-size: 15px; font-weight: 400; line-height: 1.5em; }
a { color: var(--primary); align-items: center; font-family: Roboto, sans-serif; font-size: 15px; line-height: 1.2em; text-decoration: none; transition: all .3s; }
label { margin-bottom: 10px; font-family: Lato, sans-serif; font-weight: 700; display: block; }

.section { padding-top: 50px; padding-bottom: 50px; position: relative; }
.section.homepage-main { background-color: #0f1414; background-image: linear-gradient(#1c1f1f4d, #1c1f1f4d), url("/assets/bg-image.jpg"); background-position: 0 0, 50%; background-repeat: repeat, no-repeat; background-size: auto, cover; flex-direction: row; align-items: center; width: 100%; height: 100vh; transition: opacity .2s; display: flex; }
.base-container { flex-direction: column; align-items: center; max-width: 1200px; padding-left: 15px; padding-right: 15px; display: flex; }
.base-container.main-home { padding-left: 0; padding-right: 0; position: relative; }

.primary-button { border: 1px solid var(--primary-blue); background-color: var(--primary-blue); color: var(--white); text-align: center; letter-spacing: 1px; text-transform: uppercase; border-radius: 0; margin-top: 0; padding: 10px 20px; font-family: Roboto, sans-serif; font-size: 10px; font-weight: 700; line-height: 1; transition: all .3s; display: inline-block; }
.primary-button:hover, .primary-button:active { background-color: var(--primary-dark); opacity: 1; color: var(--primary-blue); }
.text-white { color: var(--white); margin-top: 0; }

.home-main-block { height: 84vh; position: relative; overflow: hidden; }
.home-tabs { flex-direction: row; align-items: center; width: 100%; height: 100%; display: flex; }
.home-tab-nav { z-index: 990; background-color: var(--primary-dark); flex-direction: column; flex: none; justify-content: center; width: 80px; height: 100%; padding-top: 50px; padding-bottom: 50px; display: flex; }
.home-tab-page { background-color: var(--primary-dark); width: 600px; height: 100%; margin-left: 250px; overflow: auto; }
.home-tab-link { filter: grayscale(); color: var(--paragraph-grey); background-color: transparent; flex-direction: column; flex: none; align-items: center; padding: 14px 30px; font-size: 20px; display: flex; }
.home-tab-link:hover { filter: none; color: var(--primary); }
.home-tab-link.w--current { filter: grayscale(0%); color: var(--primary); background-color: transparent; padding-left: 26px; padding-right: 26px; font-size: 24px; }
.main-person-image-block { z-index: 999; background-color: var(--primary-dark); width: 250px; height: 90vh; position: absolute; inset: -3vh auto auto 80px; box-shadow: 0 0 30px #00000080; }
.download-button { z-index: 999; background-color: transparent; flex-direction: column; align-items: center; margin-bottom: 30px; padding-left: 20px; padding-right: 20px; display: flex; position: absolute; inset: auto auto 0% 0%; }
.logo-nav { z-index: 999; width: 36px; color: var(--primary); margin-top: 30px; margin-left: 22px; font-family: Roboto, sans-serif; font-size: 29px; font-weight: 700; line-height: 1em; position: absolute; inset: 0% auto auto 0%; }
.logo-nav.home-blue, .logo-nav.home-blue.w--current { color: var(--primary-blue); }
.tab-pane { border: 1px solid transparent; height: 100%; padding-left: 30px; padding-right: 30px; }
.scrollbar { z-index: 999; background-color: var(--primary-dark); width: 30px; position: absolute; inset: 0% 0 0% auto; }
.main-person-image { object-fit: cover; width: 100%; height: 100%; }
.photo-overlay { background-image: linear-gradient(0deg, #1c1e1fe6, #0000 56%), linear-gradient(#1c1e1f1a, #1c1e1f1a); position: absolute; inset: 0%; }
.person-info { z-index: 999; text-align: center; flex-direction: column; align-items: center; padding-bottom: 50px; display: flex; position: absolute; inset: auto 0% 0%; }
.person-position { color: var(--primary); margin-bottom: 20px; font-family: Roboto, sans-serif; font-size: 18px; font-weight: 400; }
.person-position.home-blue { color: var(--primary-blue); }
.socials-wrapper { grid-column-gap: 30px; grid-row-gap: 20px; align-items: center; display: flex; }
.fa-brands { font-family: "Font Awesome 6 Brands", Arial, sans-serif; font-weight: 400; font-style: normal; line-height: 1; }
.social-icon-main-home { color: var(--gray); font-size: 18px; }
.social-icon-main-home:hover { color: var(--primary); }
.social-icon-main-home.home-blue:hover { color: var(--primary-blue); }
.tab-bottom-overlay { background-image: linear-gradient(0deg, var(--primary-dark) 25%, #1c1e1f00); height: 70px; position: absolute; inset: auto 0% 0% 80px; pointer-events: none; }
.tab-top-overlay { background-image: linear-gradient(180deg, var(--primary-dark) 10%, #1c1e1f00); height: 60px; position: absolute; inset: 0% 0% auto 80px; pointer-events: none; }
.tab-content-wrapper { border: 1px solid transparent; padding-top: 50px; padding-bottom: 70px; }
.tab-content-wrapper.notablity-titile { margin-bottom: -29px; padding-left: 0; }

.basic-information { color: var(--primary); font-family: Roboto, sans-serif; font-size: 18px; font-style: italic; display: inline; }
.basic-information.home-blue { color: var(--primary-blue); }
.basic-information-divider { color: var(--paragraph-grey); margin-left: 10px; margin-right: 10px; font-size: 20px; display: inline; }
.basic-information-wrapper { grid-row-gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 5px; margin-bottom: 10px; display: flex; }
.home-divider { background-color: var(--dark-gray-50); width: 100%; height: 1px; margin-top: 50px; margin-bottom: 39px; }
.home-services { grid-column-gap: 30px; grid-row-gap: 30px; grid-template-rows: auto auto; grid-template-columns: 1fr 1fr; grid-auto-columns: 1fr; display: grid; }
.image { width: 50px; height: 50px; margin-bottom: 10px; }
.home-section-title { color: var(--white); margin-top: 5px; margin-bottom: 10px; margin-left: -5px; padding-left: 0; }
.home-section-title.awards { font-size: 36px; }
.home-section-title.my-work { margin-top: 50px; }
.home-facts { grid-column-gap: 20px; grid-row-gap: 30px; grid-template-rows: auto; grid-template-columns: 1fr 1fr 1fr; grid-auto-columns: 1fr; margin-top: 10px; padding-bottom: 0; display: grid; }
.home-facts-card { grid-row-gap: 10px; text-align: center; flex-direction: column; align-items: center; display: flex; }
.home-facts-counter { color: var(--primary); font-family: Roboto, sans-serif; font-size: 26px; font-weight: 700; line-height: 1em; }
.home-facts-counter.home-blue { color: var(--primary-blue); }
.home-facts-subtitle { color: var(--paragraph-grey); font-family: Roboto, sans-serif; font-size: 13px; font-weight: 700; line-height: 1em; }
.home-clients { grid-column-gap: 30px; grid-row-gap: 30px; grid-template-rows: auto auto; grid-template-columns: 1fr 1fr 1fr 1fr; grid-auto-columns: 1fr; display: grid; }
.home-clients-logo-wrapper { opacity: .6; flex-direction: column; align-items: center; transition: all .2s; display: flex; }
.home-clients-logo-wrapper:hover { opacity: 1; }
.client-logo { filter: grayscale() invert(); }

.page-title { color: var(--white); border: 1px solid transparent; margin-bottom: 0; font-family: Roboto, sans-serif; font-size: 56px; font-weight: 700; line-height: 1.2em; }
.page-title.highlights-title { margin-bottom: 20px; }
.page-title.notability-title { margin-bottom: -30px; }
.page-title.contact-title { margin-bottom: 15px; }
.home-main-info { margin-top: 30px; }

/* contact */
.home-contact-form { grid-row-gap: 40px; border-radius: 0; flex-direction: column; align-items: flex-start; display: flex; }
.home-contact-text-field { border-style: solid; border-width: 1px; border-color: transparent transparent var(--paragraph-grey); color: var(--paragraph-grey); background-color: transparent; margin-bottom: 0; padding: 1px 2px 7px; font-family: Roboto, sans-serif; font-size: 18px; line-height: 1.6em; }
.home-contact-text-field:focus { border-color: transparent transparent var(--primary); }
.home-contact-text-field.home-blue { background-color: var(--primary-dark); border-width: .01px; border-color: #fff; border-radius: 5px; padding: 11px 45px 11px 11px; }
.home-contact-text-field.home-blue:focus { border-bottom-color: var(--primary-blue); }
.home-contact-message-field { border-style: solid; border-width: 1px; border-color: transparent transparent var(--paragraph-grey); min-height: 100px; color: var(--paragraph-grey); background-color: transparent; margin-bottom: 0; padding: 1px 2px 7px; font-family: Roboto, sans-serif; font-size: 18px; line-height: 1.6em; }
.home-contact-message-field:focus { border-color: transparent transparent var(--primary); }
.home-contact-message-field.home-blue { color: var(--white); border-width: .1px; border-color: #fff; border-radius: 5px; margin-top: -25px; padding: 4px 4px 4px 7px; }
.home-contact-message-field.home-blue:focus { border-bottom-color: var(--primary-blue); }
.success-message { background-color: var(--primary-blue); color: var(--white); font-family: Roboto, sans-serif; }
.error-message { background-color: var(--secondary); padding-top: 5px; padding-bottom: 5px; font-family: Roboto, sans-serif; }
.select-field { background-color: var(--primary-dark); color: var(--white); font-family: Roboto, sans-serif; font-weight: 400; }
.paragraph-2 { color: var(--paragraph-grey); margin-top: -24px; margin-bottom: 0; }
.columns { margin-left: 0; padding-left: 0; }
.field-label-2 { color: var(--white); font-family: Roboto, sans-serif; font-weight: 400; }
.field-label-2.subject-spacing { margin-bottom: -32px; font-weight: 500; }
.field-label-2.subject-spacing.email-spacing { margin-top: -19px; }
.field-label-2.subject-spacing.message-contact { margin-top: -26px; margin-bottom: -11px; }

/* highlights */
.main-home-collection-list { grid-column-gap: 40px; grid-row-gap: 40px; grid-template: "." "." / 1fr 1fr; grid-auto-columns: 1fr; display: grid; }
.home-blog-title { color: var(--white); font-family: Roboto, sans-serif; font-size: 18px; font-weight: 700; line-height: 1.3em; transition: all .2s; }
.home-blog-title:hover { color: var(--primary); }
.home-blog-title.home-blue:hover { color: var(--primary-blue); }
.home-blog-date { grid-column-gap: 5px; background-color: var(--primary-blue); color: var(--white); letter-spacing: 2px; text-transform: uppercase; padding: 5px 7px; font-family: Roboto, sans-serif; font-size: 11px; font-weight: 500; line-height: 1em; display: flex; }
.home-blog-card { grid-row-gap: 20px; flex-direction: column; align-items: flex-start; display: flex; }
.home-blog-card-content { grid-row-gap: 10px; flex-direction: column; align-items: flex-start; padding-right: 5px; display: flex; }
.main-home-blog-image { object-fit: cover; width: 100%; height: 150px; }

/* photos */
.tab-link-portfolio { color: var(--paragraph-grey); background-color: transparent; padding-left: 0; }
.tab-link-portfolio.w--current { color: var(--primary); background-color: transparent; }
.tab-link-portfolio.home-blue.w--current { color: var(--primary-blue); }
.home-portfolio-collection-list { column-count: 2; column-gap: 30px; margin-top: 10px; }
.home-portfolio-item { margin-bottom: 30px; display: inline-block; position: relative; }
.home-portfolio-item-hover-overlay { opacity: 0; text-align: center; background-color: #ffffffb3; flex-direction: column; justify-content: center; align-items: center; padding: 10px; transition: opacity .2s; display: flex; position: absolute; inset: 10px; }
.home-portfolio-item-hover-overlay:hover { opacity: 1; }
.home-portfolio-name { color: var(--primary-dark); font-size: 18px; font-weight: 700; }
.home-portfolio-name:hover { color: var(--primary); }
.home-portfolio-name.home-blue:hover { color: var(--primary-blue); }
.home-portfolio-category { color: var(--paragraph-grey); font-size: 13px; line-height: 1.6em; }
.home-portfolio-image { width: 100%; }
.home-project-tabs { margin-top: 20px; }

/* notability */
.hi { grid-column-gap: 10px; align-items: flex-start; display: flex; }
.hi.key-moments-title { margin-top: -21px; margin-bottom: -27px; }
.hi.key-moments-title.home-work-title-wrapper { margin-top: -17px; margin-bottom: -47px; }
.home-skills-title-icon { width: 32px; height: 32px; }
.home-work-wrapper { grid-column-gap: 40px; grid-row-gap: 40px; flex-direction: row; align-items: flex-start; display: flex; }
.home-work-block { grid-row-gap: 30px; flex-direction: column; width: 100%; height: 100%; display: flex; }
.home-work-title-wrapper { grid-column-gap: 15px; align-items: center; display: flex; }
.home-work-title-wrapper.awards-title-spacing---mobile { margin-top: -38px; margin-bottom: -20px; }
.home-work-title-icon { width: 26px; height: 26px; }
.home-work-subtitle { color: var(--primary); letter-spacing: 1px; text-transform: uppercase; font-family: Roboto, sans-serif; font-size: 12px; font-weight: 700; }
.home-work-subtitle.home-blue { color: var(--primary-blue); }
.home-work-subtitle.home-blue.award-year, .home-work-subtitle.home-blue.key-moments-year { margin-bottom: -8px; }
.home-work-content { grid-row-gap: 10px; flex-direction: column; display: flex; }
.home-work-content.award-section { margin-bottom: 15px; }
.home-work-content.key-moments-spacing { margin-bottom: -25px; }
.home-work-heading { color: var(--white); margin-top: 0; margin-bottom: 0; font-size: 20px; }
.home-work-subtitle-gray { color: var(--paragraph-grey); font-family: Roboto, sans-serif; font-size: 12px; }
.home-work-subtitle-gray.award-subtitle { margin-top: -11px; }
.key-moments-description { margin-top: -5px; }

/* home: Full Bio accordion */
.image-3 { display: none; }
.main-text { z-index: 1; line-height: 1.1; text-decoration: none; position: relative; }
.main-text.text-size-regular { color: #fff; margin-top: 5px; font-size: 21px; font-weight: 400; }
.wrapper-faq.padding-horizontal.padding-xlarge { padding-bottom: 1.5rem; padding-left: 2.8rem; }
.main-paragraph.text-size-regular { padding-top: 20px; padding-bottom: 20px; font-family: Arial, Helvetica Neue, Helvetica, sans-serif; line-height: 1.2; }
.admin-wrap { color: #1a1e27; background-color: transparent; border-radius: 3px; justify-content: flex-start; align-items: center; height: 50px; padding-left: 15px; padding-right: 15px; font-size: 20px; font-weight: 600; line-height: 1.3; text-decoration: none; display: flex; cursor: pointer; }
.admin-wrap.hover { padding-top: 15px; padding-bottom: 15px; line-height: 0; }
.my-skill-wrap { border-bottom: 1px solid #e6e6e6; opacity: 0; transition: opacity .6s ease; }
.my-skill-wrap.is-visible { opacity: 1; }
.my-skill-wrap.border-top { border-bottom-color: var(--paragraph-grey); align-self: stretch; margin-bottom: 0; }
.delete-button { border-radius: 50%; justify-content: center; align-items: center; width: 18px; height: 35px; margin-right: 12px; display: flex; position: relative; flex: none; }
.line-pricing.first { background-color: var(--paragraph-grey); width: 18px; height: 2px; }
.line-pricing.second { background-color: var(--paragraph-grey); width: 2px; height: 18px; position: absolute; top: 50%; left: 50%; margin: -9px 0 0 -1px; transition: transform .4s ease; }
.my-skill-wrap.is-open .line-pricing.second { transform: rotate(90deg); }
.faq-content { overflow: hidden; height: 0; transition: height .5s ease; }

/* ---------- breakpoints ---------- */
@media screen and (min-width: 1280px) {
  h1 { font-size: 70px; }
  h2 { font-size: 54px; }
  .home-tab-page { width: 600px; margin-left: 460px; }
  .main-person-image-block { width: 460px; }
  .page-title { font-size: 70px; }
  .div-block { flex-direction: column; justify-content: flex-start; align-items: flex-start; display: flex; }
}
@media screen and (min-width: 1920px) {
  .main-text.text-size-regular { font-size: 1.5vw; }
  .main-paragraph.text-size-regular { font-size: 1vw; }
}
@media screen and (max-width: 991px) {
  h1 { font-size: 56px; }
  .section { padding-top: 40px; padding-bottom: 40px; }
  .home-main-block { width: 90vw; }
  .home-tab-page { width: 100%; margin-left: 250px; }
  .main-person-image-block { width: 250px; }
  .home-services { grid-template-columns: 1fr; }
  .home-facts, .home-clients { grid-template-columns: 1fr 1fr; }
  .main-home-collection-list { grid-template-columns: 1fr; }
  .home-portfolio-collection-list { column-count: 1; }
  .home-portfolio-item-hover-overlay { opacity: 1; }
  .home-work-wrapper { flex-direction: column-reverse; }
  .main-text.text-size-regular { font-size: 16px; }
}
@media screen and (max-width: 767px) {
  h1 { font-size: 48px; }
  h2 { font-size: 42px; }
  h3 { font-size: 32px; }
  .primary-button { display: block; }
  .home-main-block { width: 100vw; height: 100vh; }
  .home-tab-nav { width: 76px; }
  .home-tab-page { margin-left: 0; }
  .home-tab-link { padding: 10px 26px; }
  .home-tab-link.w--current { padding-left: 24px; padding-right: 24px; }
  .main-person-image-block { display: none; }
  .download-button { width: 76px; }
  .logo-nav { margin-left: 20px; }
  .tab-pane { padding-left: 0; padding-right: 20px; }
  .scrollbar { width: 20px; }
  .tab-bottom-overlay, .tab-top-overlay { left: 76px; }
  .tab-content-wrapper { padding-top: 40px; }
  .basic-information-wrapper { justify-content: center; }
  .home-section-title { text-align: center; }
  .home-services-card { text-align: center; flex-direction: column; align-items: center; display: flex; }
  .page-title { text-align: center; font-size: 48px; }
  .home-main-info { text-align: center; }
  .home-contact-form { grid-row-gap: 30px; align-items: stretch; }
  .main-paragraph.text-size-regular { margin-bottom: 1rem; }
  .admin-wrap { padding-left: 2rem; padding-right: 2em; }
}
@media screen and (max-width: 479px) {
  .primary-button { float: none; text-align: center; flex-direction: row-reverse; justify-content: center; align-items: center; width: 100%; height: 1%; margin-left: 0; display: flex; position: static; }
  .home-tab-nav { justify-content: flex-start; padding-top: 100px; }
  .download-button { inset: 400px 0% auto; }
  .tab-content-wrapper { padding-bottom: 100px; }
  .basic-information.home-blue { font-size: 15px; }
  .home-section-title { margin-top: -27px; margin-bottom: -25px; font-size: 25px; }
  .home-section-title.my-work { margin-bottom: 31px; }
  .home-section-title.statistics { margin-bottom: 21px; }
  .home-facts, .home-clients { grid-template-columns: 1fr; }
  .client-logo.guardian { margin-top: 41px; }
  .page-title { font-size: 31px; }
  .home-contact-form { grid-row-gap: 20px; }
  .home-contact-text-field.home-blue { margin-top: 49px; }
  .home-contact-text-field.home-blue.bottom-last-name { margin-top: 18px; margin-left: -9px; }
  .home-contact-text-field.home-blue.first-name { margin-top: 55px; margin-left: -9px; margin-right: 15px; }
  .home-contact-message-field.home-blue { margin-top: -2px; }
  .home-portfolio-item-hover-overlay, .home-portfolio-item-hover-overlay:hover { display: none; }
  .home-portfolio-item-hover-overlay:active { display: flex; }
  .hi.key-moments-title.home-work-title-wrapper { margin-bottom: -16px; }
  .home-work-title-wrapper.awards-title-spacing---mobile { margin-top: -29px; margin-bottom: -18px; }
  .select-field { margin-top: 48px; margin-bottom: -1px; }
  .paragraph-2 { margin-top: 0; }
  .field-label-2.subject-spacing { margin-bottom: -66px; }
  .field-label-2.subject-spacing.email-spacing { margin-top: -1px; }
  .field-label-2.subject-spacing.message-contact { margin-top: 0; }
  .columns-2 { margin-left: -10px; padding-left: 0; }
  .image-3 { display: block; }
  .main-text { font-size: 16px; }
  .main-text.text-size-regular { margin-bottom: 0; font-weight: 700; }
  .wrapper-faq.padding-horizontal.padding-xlarge { padding-left: 1rem; padding-right: 1rem; }
  .main-paragraph.text-size-regular { margin-bottom: 2rem; padding-right: 20px; font-size: 12px; }
  .admin-wrap { height: 74px; padding: 15px 1rem; }
  .admin-wrap.hover { height: 80px; padding-top: 10px; padding-bottom: 10px; }
  .my-skill-wrap.border-top { margin-bottom: 10px; }
}

/* ---------- phones and tablets (iPhone Safari etc.) ---------- */
@supports (height: 100dvh) {
  .section.homepage-main { height: 100dvh; }
  .home-main-block { height: 84dvh; }
  .main-person-image-block { height: 90dvh; }
}
.home-tab-page { -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
@media screen and (max-width: 767px) {
  .section.homepage-main { padding-top: 0; padding-bottom: 0; }
  @supports (height: 100dvh) { .home-main-block { height: 100dvh; } }
  .home-tab-nav { padding-bottom: env(safe-area-inset-bottom); }
  .tab-content-wrapper { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  /* 16px+ stops iPhone zooming in when a form field is tapped */
  .w-input, .w-select, .select-field { font-size: 16px; }
}

/* ---------- contact form: clean, even layout on every screen ---------- */
.home-contact-form { display: flex; flex-direction: column; align-items: stretch; row-gap: 0 !important; }
.home-contact-form .field-label-2,
.home-contact-form .field-label-2.subject-spacing,
.home-contact-form .field-label-2.subject-spacing.email-spacing,
.home-contact-form .field-label-2.subject-spacing.message-contact { margin: 22px 0 8px !important; font-weight: 500; }
.home-contact-form > .field-label-2:first-of-type { margin-top: 0 !important; }
.home-contact-form .columns.w-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 !important; padding: 0; }
.home-contact-form .columns.w-row::before, .home-contact-form .columns.w-row::after { display: none; }
.home-contact-form .columns .w-col { float: none; width: auto; padding: 0; }
.home-contact-form .home-contact-text-field.home-blue,
.home-contact-form .home-contact-message-field.home-blue,
.home-contact-form .select-field {
  width: 100%; margin: 0 !important; height: 50px; padding: 11px 14px;
  background-color: var(--primary-dark); color: var(--white);
  border: 1px solid #ffffff99; border-radius: 6px;
  font-family: Roboto, sans-serif; font-size: 17px; line-height: 1.5;
}
.home-contact-form .home-contact-message-field.home-blue { height: auto; min-height: 150px; resize: vertical; }
.home-contact-form .select-field {
  -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='white' stroke-width='1.6'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
}
.home-contact-form .w-input:focus, .home-contact-form .select-field:focus { border-color: var(--primary-blue) !important; outline: none; box-shadow: 0 0 0 1px var(--primary-blue); }
.home-contact-form .w-input::placeholder { color: #8d8e8f; }
.home-contact-form [type=submit] { margin-top: 28px; padding: 16px 20px; font-size: 12px; width: 100%; }
.home-contact-form .paragraph-2 { margin-top: 16px !important; }
.home-contact-form .paragraph-2 a { font-size: inherit; color: var(--primary-blue); }
.w-form-done.success-message, .w-form-fail.error-message { border-radius: 6px; padding: 20px; margin-top: 10px; }
@media screen and (max-width: 479px) {
  .home-contact-form .columns.w-row { grid-template-columns: 1fr; }
}

/* ---------- portrait on phones and small tablets ---------- */
.mobile-hero { display: none; }
.image-3 { display: none !important; }
@media screen and (max-width: 767px) {
  .mobile-hero { display: block; position: relative; height: min(62vh, 560px); margin: 0 0 10px; overflow: hidden; box-shadow: 0 0 30px #00000080; }
  .mobile-hero-image { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
  .mobile-hero-info { position: absolute; inset: auto 0 0; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; padding: 0 16px 28px; }
  .mobile-hero-name { color: #fff; font-family: Roboto, sans-serif; font-weight: 700; font-size: 34px; line-height: 1.15; margin-bottom: 8px; }
  .mobile-hero .person-position { margin-bottom: 14px; font-size: 16px; }
  .tab-pane > .tab-content-wrapper { padding-top: 20px; }
  .tab-pane { padding-top: 0; }
}
@media screen and (max-width: 767px) {
  .mobile-hero:not(.is-home) { height: min(36vh, 300px); }
  .mobile-hero:not(.is-home) .mobile-hero-name { font-size: 26px; }
}

.social-svg { height: 18px; width: auto; display: block; }
.mobile-hero .social-svg { height: 20px; }

/* ---------- highlights: images keep a photo shape at every width ---------- */
.main-home-blog-image { height: auto; aspect-ratio: 16 / 10; object-position: 50% 30%; }
@media screen and (max-width: 767px) and (min-width: 600px) {
  .main-home-collection-list { grid-template-columns: 1fr 1fr; grid-column-gap: 24px; }
}


/* ---------- photo captions: only on hover (or tap on touch screens) ---------- */
.home-portfolio-item { outline: none; }
.home-portfolio-item .home-portfolio-item-hover-overlay,
.home-portfolio-item .home-portfolio-item-hover-overlay:hover { opacity: 0 !important; display: flex !important; pointer-events: none; }
@media (hover: hover) {
  .home-portfolio-item:hover .home-portfolio-item-hover-overlay { opacity: 1 !important; }
}
.home-portfolio-item:focus .home-portfolio-item-hover-overlay,
.home-portfolio-item:focus-visible .home-portfolio-item-hover-overlay { opacity: 1 !important; }

/* ---------- photos: two columns filled left, right, left, right ---------- */
.home-portfolio-collection-list { column-count: initial; display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; align-items: start; }
.pf-col { display: flex; flex-direction: column; }
.home-portfolio-item { display: block; width: 100%; }
@media screen and (max-width: 991px) {
  .home-portfolio-collection-list { grid-template-columns: 1fr; }
  .pf-col { display: contents; }
}

/* ---------- sidebar: labels on hover ---------- */
.home-tab-nav { z-index: 1000; }
.home-tab-link { position: relative; }
@media (hover: hover) {
  .home-tab-link::after {
    content: attr(data-label); position: absolute; left: calc(100% - 6px); top: 50%;
    transform: translate(-4px, -50%); opacity: 0; pointer-events: none; white-space: nowrap;
    background: #111314; color: #fff; font: 500 13px/1 Roboto, sans-serif; letter-spacing: .5px;
    padding: 8px 10px; border-radius: 4px; box-shadow: 0 4px 14px #00000066; transition: opacity .15s, transform .15s;
  }
  .home-tab-link:hover::after, .home-tab-link:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
}

/* ---------- sidebar icons: one size for all ---------- */
.home-tab-link img { width: 26px; height: 26px; display: block; }
.home-tab-link, .home-tab-link.w--current { padding: 14px 27px; font-size: 20px; }
@media screen and (max-width: 767px) { .home-tab-link, .home-tab-link.w--current { padding: 11px 25px; } }

/* ---------- "As Featured In" logos: keep them small on phones ---------- */
.client-logo { width: 100%; max-width: 150px; height: auto; }
@media screen and (max-width: 767px) {
  .home-clients { grid-template-columns: repeat(4, 1fr); grid-column-gap: 18px; grid-row-gap: 18px; }
  .client-logo { max-width: 92px; }
}
@media screen and (max-width: 479px) {
  .home-facts { grid-template-columns: 1fr; }
  .home-clients { grid-template-columns: repeat(3, 1fr); grid-column-gap: 14px; grid-row-gap: 14px; margin-top: 8px; }
  .client-logo { max-width: 86px; }
  .client-logo.guardian { margin-top: 0; }
}
@media screen and (max-width: 479px) {
  .home-section-title { margin-bottom: 18px; }
  .home-section-title.statistics { margin-bottom: 18px; }
  .home-clients { margin-top: 0; grid-column-gap: 20px; grid-row-gap: 18px; padding: 0 6px; }
  .client-logo { max-width: 74px; }
}
/* centre an unfinished last row of logos */
@media screen and (max-width: 479px) {
  .home-clients { display: flex; flex-wrap: wrap; justify-content: center; }
  .home-clients-logo-wrapper { flex: 0 0 calc((100% - 40px) / 3); }
}

/* ---------- Notability: keep "Awards" / "Key Moments" headings clear of the divider on phones ---------- */
@media screen and (max-width: 767px) {
  .home-work-title-wrapper.awards-title-spacing---mobile,
  .hi.key-moments-title.home-work-title-wrapper { margin: 0 0 22px; justify-content: center; align-items: center; }
  .home-work-title-wrapper.awards-title-spacing---mobile .home-section-title,
  .hi.key-moments-title.home-work-title-wrapper .home-section-title { margin: 0; line-height: 1.1; }
}
@media screen and (min-width: 768px) {
  .home-work-title-wrapper.awards-title-spacing---mobile { margin-top: -20px; }
}
