/* Theme base styles */

/* Tools
Any animations, or functions used throughout the project.
Note: _macros.css needs to be imported into each stylesheet where macros are used and not included here
*/

/* Generic
This is where reset, normalize & box-sizing styles go.
*/

*, *:before, *:after {
  box-sizing: border-box;
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct box sizing in Firefox.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Remove the inheritance of text transform in Edge and Firefox.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * Remove the padding so developers are not caught out when they zero out `fieldset` elements in all browsers.
 */

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Objects
Non-cosmetic design patterns including grid and layout classes)
*/



/* CSS variables */

:root {
  --column-gap: 2.13%;
  --column-width-multiplier: 8.333;
}

/* Mobile layout */

.row-fluid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}


  .row-fluid .span1,
  .row-fluid .span2,
  .row-fluid .span3,
  .row-fluid .span4,
  .row-fluid .span5,
  .row-fluid .span6,
  .row-fluid .span7,
  .row-fluid .span8,
  .row-fluid .span9,
  .row-fluid .span10,
  .row-fluid .span11,
  .row-fluid .span12{
  min-height: 1px;
  width: 100%;
}

/* Desktop layout */

@media (min-width: 768px) {
  .row-fluid {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  
    .row-fluid .span1 {
      width: calc(var(--column-width-multiplier) * 1% * 1 - var(--column-gap) * (11 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span2 {
      width: calc(var(--column-width-multiplier) * 1% * 2 - var(--column-gap) * (10 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span3 {
      width: calc(var(--column-width-multiplier) * 1% * 3 - var(--column-gap) * (9 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span4 {
      width: calc(var(--column-width-multiplier) * 1% * 4 - var(--column-gap) * (8 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span5 {
      width: calc(var(--column-width-multiplier) * 1% * 5 - var(--column-gap) * (7 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span6 {
      width: calc(var(--column-width-multiplier) * 1% * 6 - var(--column-gap) * (6 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span7 {
      width: calc(var(--column-width-multiplier) * 1% * 7 - var(--column-gap) * (5 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span8 {
      width: calc(var(--column-width-multiplier) * 1% * 8 - var(--column-gap) * (4 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span9 {
      width: calc(var(--column-width-multiplier) * 1% * 9 - var(--column-gap) * (3 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span10 {
      width: calc(var(--column-width-multiplier) * 1% * 10 - var(--column-gap) * (2 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span11 {
      width: calc(var(--column-width-multiplier) * 1% * 11 - var(--column-gap) * (1 * var(--column-width-multiplier) / 100));
    }
  
}
.content-wrapper {
  margin: 0 auto;
  padding: 0 1rem;
}

@media screen and (min-width: 1380px) {
  .content-wrapper {
    padding: 0;
  }
}

.dnd-section > .row-fluid {
  margin: 0 auto;
}

.dnd-section .dnd-column {
  padding: 0 1rem;
}

@media (max-width: 767px) {
  .dnd-section .dnd-column {
    padding: 0;
  }
}

/* Elements
Base HTML elements are styled in this section (<body>, <h1>, <a>, <p>, <button> etc.)
*/

/* The overflow-wrap is meant to prevent long/large words from breaking the mobile responsiveness of a page (e.g. horizontal scrolling). It is preferred to reduce font sizes on mobile to address this, with this CSS specifically helping with extreme scenarios where a reduction in font size is not possible. */

body {
  line-height: 1.4;
  overflow-wrap: break-word;
}

/* Handles word breaking for a few specific languages which handle breaks in words differently. If your content is not translated into these languages, you can safely remove this.  */

html[lang^="ja"] body,
html[lang^="zh"] body,
html[lang^="ko"] body {
  line-break: strict;
  overflow-wrap: normal;
  word-break: break-all;
}

/* Paragraphs */

p {
  font-size: 1rem;
  margin: 0 0 1.4rem;
}

/* Anchors */

a {
  cursor: pointer;
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1.4rem;
}

/* Lists */

ul,
ol {
  margin: 0 0 1.4rem;
}

ul ul,
ol ul,
ul ol,
ol ol {
  margin: 0;
}

ul.no-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Code blocks */

pre {
  overflow: auto;
}

code {
  vertical-align: bottom;
}

/* Blockquotes */

blockquote {
  border-left: 2px solid;
  margin: 0 0 1.4rem;
  padding-left: 0.7rem;
}

/* Horizontal rules */

hr {
  border: none;
  border-bottom: 1px solid #CCC;
}

/* Image alt text */

img {
  font-size: 0.583rem;
  word-break: normal;
}
button,
.button,
.hs-button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
}



/* No button */

.no-button,
.no-button:hover,
.no-button:focus,
.no-button:active {
  background: none;
  border: none;
  border-radius: 0;
  color: initial;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin-bottom: 0;
  padding: 0;
  text-align: left;
  text-decoration: none;
  transition: none;
}
/* Fields */

.hs-form-field {
  margin-bottom: 1.4rem;
}

/* Labels */

form label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

/* Form Title */
.form-title {
  margin-bottom: 0;
}

/* Help text */

form legend {
  font-size: 0.875rem;
}

/* Inputs */

form input[type=text],
form input[type=search],
form input[type=email],
form input[type=password],
form input[type=tel],
form input[type=number],
form input[type=file],
form select,
form textarea {
  display: inline-block;
  font-size: 0.875rem;
  padding: 0.7rem;
  width: 100%;
}

form textarea {
  resize: vertical;
}

form fieldset {
  max-width: 100% !important;
}

/* Inputs - checkbox/radio */

form .inputs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

form .inputs-list > li {
  display: block;
  margin: 0.7rem 0;
}

form .inputs-list input,
form .inputs-list span {
  vertical-align: middle;
}

form input[type=checkbox],
form input[type=radio] {
  cursor: pointer;
  margin-right: 0.35rem;
}

/* Inputs - date picker */

.hs-dateinput {
  position: relative;
}

.hs-dateinput:before {
  content:'\01F4C5';
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
}

.fn-date-picker .pika-table thead th {
  color: #FFF;
}

.fn-date-picker td.is-selected .pika-button {
  border-radius: 0;
  box-shadow: none;
}

.fn-date-picker td .pika-button:hover,
.fn-date-picker td .pika-button:focus {
  border-radius: 0 !important;
  color: #FFF;
}

/* Inputs - file picker */

form input[type=file] {
  background-color: transparent;
  border: initial;
  padding: initial;
}

/* Headings and text */

form .hs-richtext,
form .hs-richtext p {
  font-size: 0.875rem;
  margin: 0 0 1.4rem;
}

form .hs-richtext img {
  max-width: 100% !important;
}

/* GDPR */

.legal-consent-container .hs-form-booleancheckbox-display > span,
.legal-consent-container .hs-form-booleancheckbox-display > span p {
  margin-left: 1rem !important;
}

/* Validation */

.hs-form-required {
  color: #EF6B51;
}

.hs-input.invalid.error {
  border-color: #EF6B51;
}

.hs-error-msg {
  color: #EF6B51;
  margin-top: 0.35rem;
}

/* Submit button */

form input[type=submit],
form .hs-button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
}

/* Captcha */

.grecaptcha-badge {
  margin: 0 auto;
}


  /* Search button input field and suggestions */
  .body-container-wrapper .hs-search-field__button {
    padding: 15px;
  }

  .body-container-wrapper .hs-search-field__bar--button-inline .hs-search-field__button {
    margin-left: 6px;
    margin-bottom: 0;
  }

  .body-container-wrapper .hs-search-field__button svg {
    height: 15px;
    fill: #fff;
  }

  .body-container-wrapper .hs-search-field__bar > form > .hs-search-field__input {
    padding: 10px;
  }

  .body-container-wrapper .hs-search-field__suggestions li a {
    color: #494A52;
    padding: 0.35rem 0.7rem;
    text-decoration: none;
    transition: background-color 0.3s;
  }

/* Table */

table {
  border-collapse: collapse;
  margin-bottom: 1.4rem;
  overflow-wrap: break-word;
}

/* Table cells */

td,
th {
  vertical-align: top;
}

/* Table header */

thead th {
  vertical-align: bottom;
}

/* Components
Specific pieces of UI that are stylized. Typically used for global partial styling
*/

/* Header DND sections */

.header .dnd-section {
  padding: 0;
}

/* Header container */

.header__container {
  display: flex;
  justify-content: space-between;
}

.header__row-1 {
  padding-top: 1rem;
}

.header__row-1,
.header__row-2 {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

@media (max-width: 1150px) and (min-width: 767px) {
  .header__column {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .header__container {
    flex-direction: column;
    padding: 1rem 0 0;
  }

  .header__column {
    position: relative;
  }

  .header__row-1 {
    padding-top: 0;
  }

  .header__row-2 {
    justify-content: center;
    padding: 1.05rem;
  }
}

/* Navigation skipper */

.header__skip {
  height: 1px;
  left: -1000px;
  overflow: hidden;
  position: absolute;
  text-align: left;
  top: -1000px;
  width: 1px;
}

.header__skip:hover,
.header__skip:focus,
.header__skip:active {
  height: auto;
  left: 0;
  overflow: visible;
  top: 0;
  width: auto;
}

/* Logo */

.header__logo {
  align-items: center;
  display: flex;
  height: auto;
  margin-right: auto;
  max-width: 200px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .header__logo {
    margin: 0 auto;
    width: 100%;
  }
}

.header__logo img {
  max-width: 100%;
}

.header__logo .logo-company-name {
  font-size: 1.167rem;
  margin-top: 0.7rem;
}

.header__logo--main {
  padding-top: 1rem;
}

/* Search bar */

.header__search {
  padding: 0 1rem;
  width: auto;
}



  .hs-search-field__form {
    position: relative;
  }

  .header__search .hs-search-field__label {
    flex-basis: auto;
  }



.header__search .hs-search-field__input {
  
  height: 45px;
  padding: 0 0.7rem;
}



  .header__search .hs-search-field__button {
    padding: 0;
    fill: #000;
    background-color: transparent;
    border: none;
    padding: 10px;
    position: absolute;
    top: 0;
    right: 0;
  }

  .header__search .hs-search-field__button svg {
    height: 25px;
  }


.header__search .hs-search-field--open .hs-search-field__input {
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  max-width: 100%;
}

.header__search .hs-search-field--open .hs-search-field__suggestions {
  background-color: #FFF;
  border: 2px solid #D1D6DC;
  border-radius: 0 0 6px 6px;
  border-top-width: 1px;
  position: absolute;
  width: 100%;
  z-index: 10;
}

.header__search .hs-search-field__suggestions li {
  border-top: 1px solid #D1D6DC;
  font-size: 0.875rem;
}

.header__search .hs-search-field__suggestions li a {
  color: #494A52;
  padding: 0.35rem 0.7rem;
  text-decoration: none;
  transition: background-color 0.3s;
}

.header__search .hs-search-field__suggestions #results-for {
  display: none;
}

@media (min-width: 767px) {
  .header__search form {
    align-items: center;
    display: flex;
    flex-direction: row;
  }

  .header__search label {
    margin: 0 1rem 0 0;
  }

  .header__search .hs-search-field__input {
    width: auto;
  }
}

@media (max-width: 767px) {
  .header__search {
    border-top: 2px solid #CED4DB;
    order: 1;
    padding: 1.05rem;
  }
}

/* Language switcher */

.header__language-switcher {
  cursor: pointer;
  padding-right: 1.4rem;
}

.header__language-switcher .lang_switcher_class {
  position: static;
}

.header__language-switcher .lang_list_class {
  border: 2px solid;
  border-radius: 3px;
  box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.2);
  display: block;
  left: calc(100% - 24px);
  opacity: 0;
  min-width: 100px;
  padding-top: 0;
  text-align: left;
  top: 100%;
  transition: opacity 0.3s;
  visibility: hidden;
}

.header__language-switcher:hover .lang_list_class,
.header__language-switcher:focus .lang_list_class {
  opacity: 1;
  transition: opacity 0.3s;
  visibility: visible;
}

.header__language-switcher .lang_list_class:before {
  left: 70%;
  top: -25px;
}

.header__language-switcher .lang_list_class:after {
  left: 70%;
  top: -22px;
}

.header__language-switcher .lang_list_class.first-active::after {
  top: -22px;
  transition: 0.3s;
}

.header__language-switcher .lang_list_class li {
  border: none;
  font-size: 18px;
  padding: 0.35rem 0.7rem;
}

.header__language-switcher .lang_list_class li:first-child {
  border-radius: 6px 6px 0 0;
  border-top: none;
}

.header__language-switcher .lang_list_class li:last-child {
  border-bottom: none;
  border-radius: 0 0 6px 6px;
}

.header__language-switcher .lang_list_class li:hover {
  transition: background-color 0.3s;
}

.header__language-switcher--label {
  display: flex;
  position: relative;
}

.header__language-switcher--label-current {
  align-items: center;
  display: flex;
  font-size: 0.75rem;
  margin-bottom: 0.175rem;
  margin-left: 0.7rem;
}

.header__language-switcher--label-current:after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #494A52;
  content: "";
  display: block;
  height: 0px;
  margin-left: 0.7rem;
  margin-top: 0.175rem;
  width: 0px;
}

@media (max-width: 767px) {
  .header__language-switcher {
    border-top: 2px solid #CED4DB;
    padding-left: 1.05rem;
    padding-right: 0;
  }

  .header__language-switcher .lang_list_class {
    border: none;
    box-shadow: unset;
    display: block;
    left: 30px;
    opacity: 1;
    padding: 0 1.05rem;
    top: 0;
    visibility: visible;
  }

  .header__language-switcher .lang_list_class li {
    background-color: inherit;
    font-size: 0.917rem;
  }

  .header__language-switcher--label-current {
    display: none;
  }

  .header__language-switcher .globe_class {
    background-image: none;
  }

  .header__language-switcher .lang_list_class li:hover{
    background-color: inherit;
  }

  .header__language-switcher .lang_list_class:before,
  .header__language-switcher .lang_list_class:after {
    content: none;
  }
    /* V1 lang switcher updates to keep "in line" w/ v0 mobile styles */
    .header__language-switcher .hs-language-switcher__menu {
        display: block;
        box-shadow:none!important;
        background: transparent;
    }
    .header__language-switcher .hs-language-switcher__menu a {
        font-size: 20px!important;
    }
    .header__language-switcher .hs-language-switcher__button {
        display: none;
    }
  }

/* Navigation */

#nav-toggle {
  display: none;
}

/* Mobile toggles */

@media (max-width: 767px) {
  .header__navigation,
  .header__search,
  .header__language-switcher {
    display: none;
    width: 100%;
  }

  .header__navigation.open,
  .header__search.open,
  .header__language-switcher.open {
    background-color: #F8FAFC;
    display: block;
    left: 0;
    min-height: calc(100vh - 115px);
    position: absolute;
    right: 0;
    top: 75px;
    z-index: 2;
  }

  .header__navigation--toggle,
  .header__search--toggle,
  .header__language-switcher--toggle,
  .header__close--toggle {
    cursor: pointer;
    margin: 0 5vw;
    position: relative;
  }

  .header__navigation--toggle.hide,
  .header__search--toggle.hide,
  .header__language-switcher--toggle.hide {
    display: none;
  }

  .header__navigation--toggle.open,
  .header__search--toggle.open,
  .header__language-switcher--toggle.open {
    display: block;
    margin-left: 0;
    margin-right: auto;
  }

  .header__navigation--toggle:after,
  .header__search--toggle:after,
  .header__language-switcher--toggle:after {
    display: none;
    font-size: 1.083rem;
    font-weight: 600;
    position: absolute;
    left: 40px;
    text-transform: uppercase;
    top: -10px;
  }

  .header__navigation--toggle.open:after,
  .header__search--toggle.open:after,
  .header__language-switcher--toggle.open:after {
    display: block;
    word-break: normal;
  }

  .header__navigation--toggle {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAxOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4gICAgICAgIDx0aXRsZT5oYW1idXJnZXI8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGcgaWQ9ImhhbWJ1cmdlciIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+ICAgICAgICA8ZyBpZD0iR3JvdXAiIHN0cm9rZT0iIzQ5NEE1MiIgc3Ryb2tlLXdpZHRoPSIzIj4gICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlIiB4PSIxLjUiIHk9IjEuNSIgd2lkdGg9IjIxIiBoZWlnaHQ9IjEiIHJ4PSIwLjUiPjwvcmVjdD4gICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLUNvcHktNCIgeD0iMS41IiB5PSI5LjUiIHdpZHRoPSIyMSIgaGVpZ2h0PSIxIiByeD0iMC41Ij48L3JlY3Q+ICAgICAgICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZS1Db3B5LTUiIHg9IjEuNSIgeT0iMTcuNSIgd2lkdGg9IjIxIiBoZWlnaHQ9IjEiIHJ4PSIwLjUiPjwvcmVjdD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==);
    background-size: cover;
    height: 25px;
    width: 25px;
  }

  .header__navigation--toggle:after {
    content: "Menu";
  }

  .header__language-switcher--toggle {
    background-image: url(//static.hsappstatic.net/cos-LanguageSwitcher/static-1.1/img/globe.png);
    background-size: cover;
    height: 25px;
    width: 25px;
  }

  .header__language-switcher--toggle:after {
    content: "Language";
  }

  .header__search--toggle {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4gICAgICAgIDx0aXRsZT5TZWFyY2g8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+ICAgICAgICA8cGF0aCBkPSJNOS4xMzg2MTUzNCwxNS44OTI1Njg1IEM1LjQxMzk1NzQyLDE1Ljg5MjU2ODUgMi4zODM4ODUyNywxMi44NjM0NDc1IDIuMzgzODg1MjcsOS4xMzkwMDM3NiBDMi4zODM4ODUyNyw1LjQxNDU2MDA1IDUuNDEzOTU3NDIsMi4zODM4ODUyNyA5LjEzODYxNTM0LDIuMzgzODg1MjcgQzEyLjg2MzI3MzMsMi4zODM4ODUyNyAxNS44OTI1Njg1LDUuNDE0NTYwMDUgMTUuODkyNTY4NSw5LjEzOTAwMzc2IEMxNS44OTI1Njg1LDEyLjg2MzQ0NzUgMTIuODYzMjczMywxNS44OTI1Njg1IDkuMTM4NjE1MzQsMTUuODkyNTY4NSBNOS4xMzg3NTI0NSwyLjQzMzYwODg3ZS0xMyBDMTQuMTc3OTk1NSwyLjQzMzYwODg3ZS0xMyAxOC4yNzY0NTM3LDQuMTAwMzI0NzEgMTguMjc2NDUzNyw5LjEzOTI3Nzk2IEMxOC4yNzY0NTM3LDExLjIyOTgyMTEgMTcuNTcxMDE2OSwxMy4xNTg0NDM0IDE2LjM4NTYzMTMsMTQuNjk5NjY5NiBMMjMuNjUwODg4MSwyMS45NjUyMjY2IEMyNC4xMTYzNzA2LDIyLjQzMDcwOTIgMjQuMTE2MzcwNiwyMy4xODU0MDU1IDIzLjY1MDg4ODEsMjMuNjUwODg4MSBDMjMuMTg1NDA1NSwyNC4xMTYzNzA2IDIyLjQzMDcwOTIsMjQuMTE2MzcwNiAyMS45NjUyMjY2LDIzLjY1MDg4ODEgTDE0LjY5OTgxMzMsMTYuMzg1NDcxMyBDMTMuMTU4NDQwNSwxNy41NzA5NTA5IDExLjIyOTU3MzgsMTguMjc2NDUzNyA5LjEzODc1MjQ1LDE4LjI3NjQ1MzcgQzQuMDk5NTA5MzgsMTguMjc2NDUzNyAtMy43MzAzNDkzNmUtMTQsMTQuMTc4MjMxMiAtMy43MzAzNDkzNmUtMTQsOS4xMzkyNzc5NiBDLTMuNzMwMzQ5MzZlLTE0LDQuMTAwMzI0NzEgNC4wOTk1MDkzOCwyLjQzMzYwODg3ZS0xMyA5LjEzODc1MjQ1LDIuNDMzNjA4ODdlLTEzIFoiIGlkPSJwYXRoLTEiPjwvcGF0aD4gICAgPC9kZWZzPiAgICA8ZyBpZD0iU2VhcmNoIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxtYXNrIGlkPSJtYXNrLTIiIGZpbGw9IndoaXRlIj4gICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPiAgICAgICAgPC9tYXNrPiAgICAgICAgPHVzZSBpZD0iSWNvbnMvQWN0aW9ucy9TZWFyY2giIGZpbGw9IiM0OTRBNTIiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPiAgICA8L2c+PC9zdmc+);
    background-size: cover;
    height: 25px;
    width: 25px;
  }

  .header__search--toggle:after {
    content: "Search";
  }

  .header__close--toggle {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjE5cHgiIHZpZXdCb3g9IjAgMCAyNCAxOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4gICAgICAgIDx0aXRsZT5jbG9zZTwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZyBpZD0iY2xvc2UiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICAgICAgPGcgaWQ9Ikdyb3VwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyLjAwMDAwMCwgLTEuMDAwMDAwKSIgc3Ryb2tlPSIjNDk0QTUyIiBzdHJva2Utd2lkdGg9IjMiPiAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwLjAwMDAwMCwgMTAuNTAwMDAwKSByb3RhdGUoLTQ1LjAwMDAwMCkgdHJhbnNsYXRlKC0xMC4wMDAwMDAsIC0xMC41MDAwMDApICIgeD0iLTAuNSIgeT0iMTAuNSIgd2lkdGg9IjIxIiBoZWlnaHQ9IjEiIHJ4PSIwLjUiPjwvcmVjdD4gICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLUNvcHktNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAuMDAwMDAwLCAxMC41MDAwMDApIHJvdGF0ZSg0NS4wMDAwMDApIHRyYW5zbGF0ZSgtMTAuMDAwMDAwLCAtMTAuNTAwMDAwKSAiIHg9Ii0wLjUiIHk9IjEwLjUiIHdpZHRoPSIyMSIgaGVpZ2h0PSIxIiByeD0iMC41Ij48L3JlY3Q+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4=);
    background-repeat: no-repeat;
    background-size: 110%;
    display: none;
    height: 25px;
    margin-right: 0;
    width: 25px;
  }

  .header__close--toggle.show {
    display: block;
  }
}
/* Menu and simple menu */

.hs-menu-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Horizontal menu */

.hs-menu-wrapper.hs-menu-flow-horizontal .hs-menu-children-wrapper {
  flex-direction: column;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-horizontal ul {
    flex-direction: column;
  }
}

/* Vertical menu */

.hs-menu-wrapper.hs-menu-flow-vertical ul {
  flex-direction: column;
}

/* Flyouts */

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts ul {
  display: inline-flex;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-vertical ul {
    display: flex;
  }
}

.hs-menu-wrapper.flyouts .hs-item-has-children {
  position: relative;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper {
  left: -9999px;
  opacity: 0;
  position: absolute;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper a {
  display: block;
  white-space: nowrap;
}

.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 0;
  opacity: 1;
  top: 100%;
}

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 100%;
  opacity: 1;
  top: 0;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.flyouts .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
    left: 0;
    opacity: 1;
    position: relative;
    top: auto;
  }
}

/* CTA, logo, and rich text images */

.hs_cos_wrapper_type_cta img,
.hs_cos_wrapper_type_logo img,
.hs_cos_wrapper_type_rich_text img {
  height: auto;
  max-width: 100%;
}

/* Utilities
Helper classes with ability to override anything that comes before it
*/

/* For content that needs to be visually hidden but stay visible for screenreaders */

.show-for-sr {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

@media (max-width: 767px) {
  .show-for-sr--mobile {
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
  }
}


/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }

/* ---------- Design Tokens ---------- */
:root {
  --bg: #0a0a0a;
  --bg-alt: #111111;
  --bg-card: #131313;
  --border: #232323;
  --text: #f2f2f0;
  --text-secondary: #9a9a9a;
  --text-muted: #6b6b6b;
  --accent: #ff7a59;
  --accent-hover: #ff8f73;

  --space-xs: 12px;
  --space-sm: 20px;
  --space-md: 30px;
  --space-lg: 40px;
  --space-xl: 60px;
  --space-2xl: 80px;
  --space-3xl: 100px;

  --max-width: 1200px;

  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

body {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 122, 89, 0.06), transparent),
    radial-gradient(ellipse 60% 40% at 80% 110%, rgba(122, 108, 255, 0.05), transparent);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Page Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  transition: opacity 600ms ease, visibility 0s 600ms;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
}

/* Five small glass bubbles bouncing in alternating phases */
.loader-dots {
  display: flex;
  gap: 16px;
}

.loader-dots span {
  --c: 255, 122, 89; /* coral */
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(var(--c), 0.55);
  background: radial-gradient(
    circle at 32% 30%,
    rgba(255, 255, 255, 0.45),
    rgba(var(--c), 0.35) 55%,
    rgba(var(--c), 0.08) 78%
  );
  box-shadow: 0 0 14px rgba(var(--c), 0.35);
  animation: loader-bounce 1.1s ease-in-out infinite;
}

.loader-dots span:nth-child(2) { --c: 122, 108, 255; }  /* violet */
.loader-dots span:nth-child(3) { --c: 64, 200, 255; }   /* cyan */
.loader-dots span:nth-child(4) { --c: 91, 228, 155; }   /* mint */
.loader-dots span:nth-child(5) { --c: 255, 196, 107; }  /* amber */

/* Even bubbles run half a cycle out of phase — up while odd ones are down */
.loader-dots span:nth-child(even) {
  animation-delay: -0.55s;
}

@keyframes loader-bounce {
  0%, 100% { transform: translateY(-9px); }
  50% { transform: translateY(9px); }
}

@media (prefers-reduced-motion: reduce) {
  .loader-dots span {
    animation: none;
  }

  .loader {
    transition: none;
  }
}

/* ---------- Animated Bubble Background ---------- */
#bubble-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  pointer-events: none; /* only the button is interactive */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 104px;
}

/* Big round open/close button — liquid glass */
.menu-btn {
  pointer-events: auto;
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0.03) 55%,
    rgba(255, 255, 255, 0.09)
  );
  backdrop-filter: blur(4px) saturate(170%);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.4),
    inset 0 -2px 6px rgba(255, 255, 255, 0.07),
    0 10px 28px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  overflow: hidden;
  transition:
    transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 250ms ease,
    box-shadow 250ms ease;
}

/* Curved specular highlight, top-left — like light on a droplet */
.menu-btn::before {
  content: "";
  position: absolute;
  top: 6%;
  left: 12%;
  width: 56%;
  height: 40%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 45% 40%, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 70%);
  filter: blur(1px);
  pointer-events: none;
}

/* Soft rim light along the bottom-right inner edge */
.menu-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow:
    inset 0 -8px 14px -8px rgba(255, 255, 255, 0.3),
    inset -6px 0 12px -9px rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.menu-btn:hover {
  border-color: rgba(255, 255, 255, 0.38);
  transform: scale(1.08);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.5),
    inset 0 -2px 6px rgba(255, 255, 255, 0.09),
    0 12px 32px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(255, 122, 89, 0.18);
}

.menu-btn:active {
  transform: scale(0.92);
}

.menu-btn-line {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition:
    transform 350ms cubic-bezier(0.77, 0, 0.18, 1),
    background-color 250ms ease;
}

/* Dark variant — applied by JS when the button floats over a light surface */
.menu-btn.on-light {
  border-color: rgba(0, 0, 0, 0.35);
  background: linear-gradient(
    160deg,
    rgba(0, 0, 0, 0.12),
    rgba(0, 0, 0, 0.03) 55%,
    rgba(0, 0, 0, 0.08)
  );
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.5),
    inset 0 -2px 6px rgba(0, 0, 0, 0.06),
    0 10px 28px rgba(0, 0, 0, 0.18);
}

.menu-btn.on-light::before {
  opacity: 0.45;
}

.menu-btn.on-light .menu-btn-line {
  background: #141414;
}

.menu-btn.is-active .menu-btn-line:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}

.menu-btn.is-active .menu-btn-line:nth-child(2) {
  transform: translateY(-4.5px) rotate(-45deg);
}
.menu-btn.on-light.is-active .menu-btn-line {
  background: var(--text) !important;
}

/* ---------- Fullscreen Menu Overlay ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(18px);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 600ms cubic-bezier(0.77, 0, 0.18, 1), visibility 0s 600ms;
}

.menu-overlay.is-open {
  transform: translateY(0);
  visibility: visible;
  transition: transform 600ms cubic-bezier(0.77, 0, 0.18, 1);
}

.menu-nav {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 max(8vw, 24px);
}

.menu-nav a {
  font-size: clamp(44px, 9vw, 96px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
  width: fit-content;
  opacity: 0;
  transform: translateY(36px);
  transition: color 250ms ease, opacity 400ms ease, transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-overlay.is-open .menu-nav a {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(180ms + var(--i) * 70ms);
}

.menu-nav a:hover {
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  .menu-overlay,
  .menu-overlay.is-open,
  .menu-nav a,
  .menu-overlay.is-open .menu-nav a {
    transition: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 0 var(--space-2xl);
  position: relative;
}

.hero-zoom {
  will-change: transform;
  transform-origin: 50% 42%;
}

/* Pinned shrink effect (wide screens only — mobile hero is taller than
   one viewport, so it scrolls normally there) */
@media (min-width: 900px) {
  .hero-pin {
    height: 220vh;
  }

  .hero {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 0;
    overflow: hidden;
    padding: 90px 0 var(--space-lg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-pin {
    height: auto;
  }

  .hero {
    position: relative;
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }
}

/* Vertical side label, far left (wide screens only) */
.hero-side {
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: none;
}

.hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

/* Solid accent block offset behind the photo */
.hero-photo::before {
  content: "";
  position: absolute;
  top: -22px;
  left: -22px;
  width: 100%;
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  z-index: -1;
}

.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: clamp(16px, 1.8vw, 19px);
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

/* Small links with a leading accent line */
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text);
  transition: color 200ms ease;
}

.hero-link::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--accent);
  transition: width 250ms ease;
}

.hero-link:hover {
  color: var(--accent);
}

.hero-link:hover::before {
  width: 56px;
}

.hero-link-muted {
  color: var(--text-secondary);
}

.hero-link-muted::before {
  background: var(--text-muted);
}

/* ---------- Pinned Feature Statements ---------- */
.feature-pin {
  /* One viewport of scroll per item (set to match item count) */
  height: 400vh;
  position: relative;
}

.features {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Soften the drifting bubbles behind the text area */
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(10, 10, 10, 0.6), transparent 75%);
  backdrop-filter: blur(6px);
}

.feature-container {
  width: 100%;
}

.feature-stage {
  position: relative;
  min-height: 40vh;
}

.feature-item {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 600ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.feature-item.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.feature-item span {
  display: block;
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.feature-item p {
  font-size: clamp(32px, 6vw, 84px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.feature-count {
  position: absolute;
  right: 20px;
  bottom: 8vh;
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.feature-count #feature-index {
  color: var(--text);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .feature-pin {
    height: auto;
  }

  .features {
    position: relative;
    height: auto;
    padding: var(--space-2xl) 0;
  }

  .feature-stage {
    min-height: 0;
  }

  .feature-item {
    position: relative;
    opacity: 1;
    transform: none;
    transition: none;
    margin-bottom: var(--space-xl);
    pointer-events: auto;
  }

  .feature-count {
    display: none;
  }
}

.hero-name {
  font-size: clamp(52px, 9vw, 112px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  background: linear-gradient(120deg, #ffffff 30%, #ffb39e 50%, #ffffff 70%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 6s linear infinite;
}

@keyframes shine {
  to { background-position: 200% center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-name { animation: none; }
}

.hero-tagline {
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: var(--space-lg);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ---------- Buttons (liquid glass) ---------- */
.btn {
  position: relative;
  display: inline-block;
  padding: 15px 32px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 999px;
  overflow: hidden;
  color: var(--text);
  backdrop-filter: blur(4px) saturate(160%);
  transition:
    transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 250ms ease,
    box-shadow 250ms ease;
}

/* Specular streak along the top edge */
.btn::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 10%;
  right: 10%;
  height: 46%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-2px) scale(1.03);
}

.btn:active {
  transform: scale(0.95);
}

.btn-primary {
  border: 1px solid rgba(255, 138, 107, 0.55);
  background: linear-gradient(
    160deg,
    rgba(255, 122, 89, 0.38),
    rgba(255, 122, 89, 0.1) 55%,
    rgba(255, 122, 89, 0.24)
  );
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.35),
    inset 0 -2px 6px rgba(255, 122, 89, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  border-color: rgba(255, 160, 133, 0.8);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.45),
    inset 0 -2px 6px rgba(255, 122, 89, 0.25),
    0 10px 28px rgba(0, 0, 0, 0.4),
    0 0 28px rgba(255, 122, 89, 0.3);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.02) 55%,
    rgba(255, 255, 255, 0.07)
  );
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.3),
    0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.4),
    0 10px 28px rgba(0, 0, 0, 0.35),
    0 0 22px rgba(255, 255, 255, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover,
  .btn:active {
    transform: none;
  }
}

.dot {
  color: var(--text-muted);
  margin: 0 4px;
}

h2,
.section-heading {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.skills-heading {
  padding: var(--space-3xl) 20px var(--space-xl);
}

.skills-heading .section-heading {
  margin-bottom: 0;
}

/* Each row pins to the top; the next row slides up and overlaps it */
.skill-row {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: rgba(12, 12, 12, 0.99);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.55);
  padding: var(--space-2xl) 0;
}

.skill-row-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.skill-tag {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.skill-title {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: rgb(var(--tint));
  margin-bottom: var(--space-sm);
}

.skill-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 46ch;
}

/* Per-row glass button, tinted to match the row */
.skill-btn {
  margin-top: var(--space-md);
  padding: 13px 28px;
  font-size: 14px;
  border: 1px solid rgba(var(--tint), 0.5);
  background: linear-gradient(
    160deg,
    rgba(var(--tint), 0.3),
    rgba(var(--tint), 0.08) 55%,
    rgba(var(--tint), 0.18)
  );
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.3),
    inset 0 -2px 6px rgba(var(--tint), 0.18),
    0 8px 24px rgba(0, 0, 0, 0.35);
}

.skill-btn:hover {
  border-color: rgba(var(--tint), 0.85);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.4),
    inset 0 -2px 6px rgba(var(--tint), 0.24),
    0 10px 28px rgba(0, 0, 0, 0.4),
    0 0 26px rgba(var(--tint), 0.3);
}

.skill-media {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background:
    radial-gradient(circle at 20% 15%, rgba(var(--tint), 0.22), transparent 60%),
    linear-gradient(150deg, #161616, #0e0e0e);
  border: 1px solid rgba(var(--tint), 0.25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-media svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skill-media .wire {
  stroke: rgba(255, 255, 255, 0.35);
}

.skill-media .tint-stroke {
  stroke: rgb(var(--tint));
}

.skill-media .tint-fill {
  fill: rgb(var(--tint));
  stroke: none;
}

/* ---------- Work (slider) ---------- */
.work {
  padding: var(--space-3xl) 0;
}

.work-slider {
  position: relative;
}

.work-slides {
  display: grid;
}

.work-slide {
  grid-area: 1 / 1;
  position: relative;
  opacity: 0;
  visibility: hidden;
  transform: translateX(28px);
  transition: opacity 500ms ease, transform 550ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s 500ms;
  padding: var(--space-lg) 0;
}

.work-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition: opacity 500ms ease, transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ws-media {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.ws-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Light card overlapping the image, like the reference */
.ws-card {
  background: #f5f4f2;
  color: #161616;
  border-radius: 14px;
  padding: clamp(28px, 3.5vw, 48px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  margin: -48px 16px 0;
  position: relative;
}

.ws-card h3 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.ws-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: var(--space-md);
}

/* Solid accent button for the light card */
.ws-btn {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--accent);
  color: #0f0f0f;
  backdrop-filter: none;
  box-shadow: 0 8px 20px rgba(255, 122, 89, 0.3);
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 600;
}

.ws-btn::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
}

.ws-btn:hover {
  box-shadow: 0 10px 26px rgba(255, 122, 89, 0.45);
}

/* Round arrow controls */
.work-nav {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: var(--space-md);
}

.work-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 250ms ease, transform 250ms ease, background-color 250ms ease;
}

.work-arrow:hover {
  border-color: var(--accent);
  background: rgba(255, 122, 89, 0.08);
  transform: scale(1.08);
}

.work-arrow:active {
  transform: scale(0.92);
}

@media (min-width: 900px) {
  .work-slide {
    padding: var(--space-lg) 0 var(--space-xl);
  }

  .ws-media {
    width: 66%;
  }

  .ws-card {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    margin: 0;
  }
}

.work-cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

.work-cta a {
  font-size: 15px;
  color: var(--text-secondary);
  transition: color 200ms ease;
}

.work-cta a:hover {
  color: var(--text);
}

/* ---------- Skills Marquee ---------- */
.marquee-section {
  position: relative;
  padding: var(--space-3xl) 0;
  overflow: hidden;
}

.marquee-band {
  position: relative;
  width: 112%;
  margin-left: -6%;
  overflow: hidden;
  white-space: nowrap;
}

.band-accent {
  background: var(--accent);
  color: #0a0a0a;
  transform: rotate(-4deg);
  z-index: 2;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.band-dark {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  margin-top: -34px;
  z-index: 1;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee var(--dur, 32s) linear infinite;
}

/* The dark band drifts the opposite way */
.band-dark .marquee-track {
  animation-direction: reverse;
}

.marquee-group {
  display: flex;
  flex-shrink: 0;
  gap: clamp(40px, 5vw, 72px);
  padding: 20px clamp(20px, 2.5vw, 36px);
  align-items: center;
}

.marquee-group span {
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* ---------- Closing CTA ---------- */
.cta-block {
  padding: var(--space-2xl) 0;
  text-align: center;
}

.cta-block h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.cta-block p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  text-align: center;
}

.footer-links {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.footer-links a {
  transition: color 200ms ease;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Two-column hero ---------- */
@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 0;
  }

  .hero-photo {
    max-width: 430px;
    margin: 0;
  }

  /* Pull the text block left so the big name overlaps the photo */
  .hero-text {
/*     margin-left: max(-14vw, -170px); */
  }

  .skill-row-inner {
    grid-template-columns: 5fr 6fr;
    gap: var(--space-2xl);
  }
}

@media (min-width: 1200px) {
  .hero-side {
    display: block;
  }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 639px) {
  .header-inner {
    height: 84px;
  }

  .menu-btn {
    width: 56px;
    height: 56px;
  }
}


/* ==========================================================================
   Case Study — "Building a HubSpot CMS website from scratch"
   Page-specific styles. Relies on the tokens + shared components in style.css
   ========================================================================== */

:root {
  --coral: 255, 122, 89;
  --amber: 255, 196, 107;
  --cyan:  64, 200, 255;
  --violet: 122, 108, 255;
  --mint:  91, 228, 155;
  --pink:  244, 114, 182;
}

/* ---------- Scroll reveal ----------
   main.js adds the `reveal` class to every target before observing it, then
   `is-visible` once it scrolls into view. Gating the hidden start-state behind
   the JS-added `.reveal` class means that with no JS the content just stays
   visible — it never gets trapped at opacity 0. (Same approach as .reveal in
   portfolio.css.) */
.cs-reveal.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cs-reveal.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .cs-reveal.reveal { transition: none; }
}

/* ---------- Hero ---------- */
.cs-hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--space-3xl) + 30px) 0 var(--space-2xl);
}

.cs-hero-inner {
  max-width: 900px;
}

.cs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.cs-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
}

.cs-title {
  font-size: clamp(38px, 6.4vw, 84px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.cs-title .accent {
  background: linear-gradient(120deg, #ffffff 25%, #ffb39e 50%, #ffffff 75%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 6s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .cs-title .accent { animation: none; }
}

.cs-sub {
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 60ch;
  margin-bottom: var(--space-xl);
}

/* Hero meta chips (role / stack / focus) */
.cs-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.cs-meta-item {
  padding: 14px 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  backdrop-filter: blur(4px);
}

.cs-meta-item dt {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.cs-meta-item dd {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

/* ---------- Generic section rhythm ---------- */
.cs-section {
  padding: var(--space-2xl) 0;
}

.cs-section-narrow { max-width: 760px; }

.cs-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.cs-section .section-heading {
  text-align: left;
  margin-bottom: var(--space-lg);
}

.cs-lead {
  font-size: clamp(19px, 2.3vw, 25px);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: var(--space-lg);
  max-width: 40ch;
}

.cs-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 62ch;
  margin-bottom: var(--space-md);
}

.cs-body strong { color: var(--text); font-weight: 600; }

/* On-page index */
.cs-toc {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cs-toc a {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.cs-toc a:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
}

/* ---------- Figure (SVG line-art), shared with skill-media look ---------- */
.cs-figure {
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(var(--tint, 255,122,89), 0.2), transparent 60%),
    linear-gradient(150deg, #161616, #0e0e0e);
  border: 1px solid rgba(var(--tint, 255,122,89), 0.25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 11;
}

.cs-figure svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cs-figure .wire { stroke: rgba(255, 255, 255, 0.35); }
.cs-figure .tint-stroke { stroke: rgb(var(--tint)); }
.cs-figure .tint-fill { fill: rgb(var(--tint)); stroke: none; }
.cs-figure .label {
  fill: rgba(255,255,255,0.72);
  stroke: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
}
.cs-figure .label-tint { fill: rgb(var(--tint)); }
.cs-figure .flow { stroke-dasharray: 4 7; }

/* Wide architecture figure that spans the column */
.cs-figure-wide { aspect-ratio: 16 / 9; max-width: 900px; margin: 0 auto; }

/* ---------- Phase rows (alternating text / graphic) ---------- */
.cs-phases {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
}

.cs-phase {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.cs-phase-tag {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(var(--tint), 0.4);
  background: rgba(var(--tint), 0.08);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(var(--tint));
  margin-bottom: var(--space-sm);
}

.cs-phase-num {
  display: block;
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(var(--tint), 0.28);
  margin-bottom: 8px;
}

.cs-phase-title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.cs-phase-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 48ch;
  margin-bottom: var(--space-md);
}

/* Checklist-style feature list inside a phase */
.cs-list { display: grid; gap: 12px; }

.cs-list li {
  position: relative;
  padding-left: 32px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.cs-list li strong { color: var(--text); font-weight: 600; }

.cs-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(var(--tint), 0.6);
  background:
    radial-gradient(circle at 34% 30%,
      rgba(255,255,255,0.5), rgba(var(--tint), 0.4) 55%, rgba(var(--tint), 0.1) 80%);
}

.cs-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 6px;
  height: 3px;
  border-left: 1.6px solid #0c0c0c;
  border-bottom: 1.6px solid #0c0c0c;
  transform: rotate(-45deg);
}

/* Two-column phases on wide screens; every other one flips */
@media (min-width: 900px) {
  .cs-phase {
    grid-template-columns: 6fr 6fr;
    gap: var(--space-2xl);
  }
  .cs-phase.is-flipped .cs-phase-media { order: -1; }
}

/* ---------- Code windows ---------- */
.cs-code {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0d0d0f;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  width: 100%;
}

.cs-code-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.cs-code-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #333;
}
.cs-code-bar span:nth-child(1) { background: rgba(255, 95, 86, 0.8); }
.cs-code-bar span:nth-child(2) { background: rgba(255, 189, 46, 0.8); }
.cs-code-bar span:nth-child(3) { background: rgba(39, 201, 63, 0.75); }

.cs-code-bar em {
  margin-left: 8px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-family: "SFMono-Regular", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
}

.cs-code pre {
  margin: 0;
  padding: 20px 22px;
  overflow-x: auto;
  font-family: "SFMono-Regular", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.7;
  color: #d6d6d6;
  tab-size: 2;
}

.cs-code code { font: inherit; }

/* Lightweight token colouring */
.tok-comment { color: var(--text-muted); font-style: italic; }
.tok-tag     { color: #7ec7ff; }
.tok-attr    { color: #ffc46b; }
.tok-str     { color: #7ee0a6; }
.tok-hubl    { color: #ff9d85; }
.tok-key     { color: #b3a8ff; }
.tok-punc    { color: #8a8a8a; }

/* ---------- Anatomy of a module ---------- */
.cs-anatomy {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.cs-file {
  position: relative;
  padding: var(--space-md);
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(var(--tint), 0.05));
  overflow: hidden;
  transition: transform 350ms cubic-bezier(0.22,1,0.36,1), border-color 250ms ease, box-shadow 250ms ease;
}

.cs-file:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--tint), 0.5);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 30px rgba(var(--tint), 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .cs-file:hover { transform: none; }
}

.cs-file-name {
  display: inline-block;
  font-family: "SFMono-Regular", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  color: rgb(var(--tint));
  margin-bottom: 10px;
}

.cs-file-role { font-size: 14px; line-height: 1.6; color: var(--text-secondary); }

/* ---------- Callout / pull quote ---------- */
.cs-callout {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
}

.cs-callout::before {
  content: "\201C";
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 120px;
  line-height: 1;
  color: rgba(var(--coral), 0.28);
  font-family: Georgia, "Times New Roman", serif;
}

.cs-callout p {
  position: relative;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

/* ---------- Results stats ---------- */
.cs-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.cs-stat {
  padding: var(--space-lg);
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(var(--tint), 0.06));
  text-align: center;
}

.cs-stat-num {
  display: block;
  font-size: clamp(38px, 5vw, 52px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgb(var(--tint));
  margin-bottom: 10px;
}

.cs-stat-label { font-size: 14px; line-height: 1.5; color: var(--text-secondary); }

/* ---------- Launch checklist band ---------- */
.cs-ship {
  border-radius: 24px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 15% 0%, rgba(var(--mint), 0.1), transparent 55%),
    linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  padding: clamp(28px, 4vw, 56px);
}

.cs-ship-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md) var(--space-xl);
  margin-top: var(--space-lg);
}

.cs-ship-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.cs-ship-check {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid rgba(var(--mint), 0.55);
  background: rgba(var(--mint), 0.12);
  position: relative;
}

.cs-ship-check::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 8px;
  height: 4px;
  border-left: 2px solid rgb(var(--mint));
  border-bottom: 2px solid rgb(var(--mint));
  transform: rotate(-45deg);
}

.cs-ship-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 3px; }
.cs-ship-item p { font-size: 14px; line-height: 1.55; color: var(--text-secondary); }

/* ---------- Closing CTA ---------- */
.cs-final {
  text-align: center;
  padding: var(--space-3xl) 0 var(--space-2xl);
}

.cs-final h2 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.cs-final p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  max-width: 46ch;
  margin-inline: auto;
}

.cs-final-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}


.cs-reveal.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cs-reveal.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger the cards as they enter, based on their column position */
.csl-grid .cs-reveal:nth-child(3n + 2) { transition-delay: 80ms; }
.csl-grid .cs-reveal:nth-child(3n + 3) { transition-delay: 160ms; }

@media (prefers-reduced-motion: reduce) {
  .cs-reveal.reveal { transition: none; }
}

/* ---------- Banner ---------- */
.csl-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 56vh;
  padding: calc(var(--space-3xl) + 40px) 0 var(--space-xl);
}

.csl-hero-inner {
  max-width: 720px;
}

.csl-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.csl-title {
  font-size: clamp(44px, 8vw, 96px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.csl-title .accent {
  background: linear-gradient(120deg, #ffffff 25%, #ffb39e 50%, #ffffff 75%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 6s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .csl-title .accent { animation: none; }
}

.csl-sub {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 56ch;
  margin: 0 auto;
}

/* ---------- Listing grid ---------- */
.csl-listing {
  padding: var(--space-lg) 0 var(--space-3xl);
}

.csl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 620px) {
  .csl-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .csl-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Card ---------- */
.csl-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.01) 55%,
    rgba(var(--tint), 0.06)
  );
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  transition:
    opacity 700ms ease,
    transform 450ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 250ms ease,
    box-shadow 250ms ease;
}

/* Only live cards lift on hover — "coming soon" ones stay put */
.csl-card:not(.is-soon):hover {
  transform: translateY(-6px);
  border-color: rgba(var(--tint), 0.5);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.45),
    0 0 34px rgba(var(--tint), 0.16);
}

@media (prefers-reduced-motion: reduce) {
  .csl-card:not(.is-soon):hover { transform: none; }
}

.csl-card-media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(var(--tint), 0.22), transparent 60%),
    linear-gradient(150deg, #161616, #0e0e0e);
  border-bottom: 1px solid rgba(var(--tint), 0.2);
}

.csl-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.csl-card:not(.is-soon):hover .csl-card-media img {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .csl-card:not(.is-soon):hover .csl-card-media img { transform: none; }
}

/* Dim the covers of upcoming studies so live work reads as the focus */
.csl-card.is-soon .csl-card-media img {
  filter: grayscale(0.35) brightness(0.8);
  opacity: 0.85;
}

.csl-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  flex: 1;
}

.csl-card-title {
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* ---------- Card buttons ---------- */
.csl-btn {
  margin-top: auto;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 500;
}

/* Live "View Work" — tinted glass to match the card */
a.csl-btn {
  border: 1px solid rgba(var(--tint), 0.5);
  background: linear-gradient(
    160deg,
    rgba(var(--tint), 0.3),
    rgba(var(--tint), 0.08) 55%,
    rgba(var(--tint), 0.18)
  );
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.3),
    inset 0 -2px 6px rgba(var(--tint), 0.18),
    0 8px 24px rgba(0, 0, 0, 0.35);
}

a.csl-btn:hover {
  border-color: rgba(var(--tint), 0.85);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.4),
    inset 0 -2px 6px rgba(var(--tint), 0.24),
    0 10px 28px rgba(0, 0, 0, 0.4),
    0 0 26px rgba(var(--tint), 0.3);
}

/* Disabled "Stay Tuned" — muted, no interaction */
.csl-btn-soon {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  cursor: not-allowed;
  backdrop-filter: none;
}

.csl-btn-soon::before { display: none; }

.csl-btn-soon:hover,
.csl-btn-soon:active {
  transform: none;
}