:root {
  --whw-blue:        #0078FF;
  --whw-ink:         #030D1A;   /* near-black body text */
  --whw-ink-soft:    #3f434c;   /* subhead grey */
  --whw-white:       #ffffff;
  --whw-gutter:      6vw;       /* page side padding, used by hero + panel */
  --whw-panel-radius: 36px;
}

.whw-footer {
  position: relative;
  background: var(--whw-white);
  font-family: 'Lilex', ui-monospace, monospace;
}

/* ---------------------------------------------------------------- HERO ---- */
/* Sticky so the blue panel can scale up over the top of it. */
.whw-hero {
  position: sticky;
  top: 0;
  min-height: 100vh;
  overflow: hidden;
  background: var(--whw-white);
  color: var(--whw-ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 0;
}

.whw-hero__inner {
  flex: 1;                      /* must stay 1 — see README "Known pitfalls" */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6vw var(--whw-gutter) 2vw;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.whw-hero__title {
  margin: 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(46px, 11.5vw, 110px);
  line-height: .92;
  font-weight: 500;
  letter-spacing: -.02em;
  max-width: 16ch;
  text-wrap: pretty;
}

.whw-hero__sub {
  margin: 22px 0 0;
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--whw-ink-soft);
  max-width: 40ch;
}

.whw-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 56px;
  margin-top: 32px;
  align-items: center;
}

/* ----------------------------------------------------------------- CTA ---- */
/* Default: transparent fill, blue stroke, dark label, badge on the RIGHT.
   Hover:   blue fill, white label, right badge shrinks to 0 and a white badge
            grows in from the LEFT. Both badges are hidden on mobile. */
.whw-cta {
  display: inline-flex;
  align-items: center;
  font-family: 'Lilex', ui-monospace, monospace;
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--whw-ink);
  text-decoration: none;
  background: transparent;
  border: 2px solid var(--whw-blue);
  padding: 14px 22px;
  text-transform: uppercase;
  white-space: nowrap;              /* label always on ONE line */
  transition: background .3s ease, color .3s ease;
}
.whw-cta:hover { background: var(--whw-blue); color: var(--whw-white); }

.whw-cta__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  border-radius: 999px;
  overflow: hidden;
  flex: none;
  transition: transform .42s cubic-bezier(.65, 0, .35, 1),
              opacity   .3s  ease,
              width     .42s cubic-bezier(.65, 0, .35, 1),
              margin    .42s cubic-bezier(.65, 0, .35, 1);
}
/* default (right) badge */
.whw-cta__badge--out {
  width: 34px;
  margin-left: 14px;
  background: var(--whw-blue);
  opacity: 1;
  transform: scale(1);
}
/* hover (left) badge — starts collapsed */
.whw-cta__badge--in {
  width: 0;
  margin-right: 0;
  background: var(--whw-white);
  opacity: 0;
  transform: scale(0);
  transition-timing-function: cubic-bezier(.34, 1.4, .5, 1);
}
.whw-cta:hover .whw-cta__badge--out { width: 0;    margin-left: 0;   opacity: 0; transform: scale(0); }
.whw-cta:hover .whw-cta__badge--in  { width: 34px; margin-right: 14px; opacity: 1; transform: scale(1); }

/* -------------------------------------------------------------- BUBBLE ---- */
/* Parked below the fold; flies up + scales in when the CTA is hovered. */
.whw-bubble {
  position: absolute;
  right: var(--whw-gutter);
  top: 50%;
  width: clamp(220px, 26vw, 400px);
  opacity: 0;
  transform: translate(0, 60vh) scale(.6);
  transform-origin: center bottom;
  transition: opacity .5s ease, transform .7s cubic-bezier(.34, 1.4, .5, 1);
  pointer-events: none;
  z-index: 3;
}
.whw-bubble img {
  width: 100%;
  height: auto;
  display: block;
  animation: bubbleFloat 3s ease-in-out infinite;
}
.whw-bubble.is-on { opacity: 1; transform: translate(0, -50%) scale(1); }

/* ---------------------------------------------------------------- BAND ---- */
/* Walking crowd. Height is set inline by script.js (desktop 430px). Figures are
   absolutely positioned and pushed BELOW the bottom edge so feet are cropped. */
.whw-band {
  position: relative;
  z-index: 1;
  flex: none;
  width: 100%;
  overflow: hidden;
}
.whw-figure {                /* horizontal traveller — animation set in JS */
  position: absolute;
  left: 0;
  will-change: transform;
}
.whw-figure__bob {           /* vertical hop — animation set in JS */
  will-change: transform;
}
.whw-figure img {
  display: block;
  width: auto;
  user-select: none;
  pointer-events: none;
  transform-origin: bottom center;
}

/* --------------------------------------------------------------- PANEL ---- */
/* Scales 0.52 -> 1 as the user scrolls one viewport, covering the hero. */
.whw-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transform-origin: center bottom;
  overflow: hidden;
  background: var(--whw-blue);
  color: var(--whw-white);
  border-radius: var(--whw-panel-radius) var(--whw-panel-radius) 0 0;
  box-shadow: 0 -30px 60px rgba(0, 0, 0, .18);
  padding: clamp(48px, 6vw, 88px) var(--whw-gutter) clamp(20px, 3vw, 32px);
  will-change: transform;
}

.whw-panel__titlewrap { max-width: 2600px; width: 100%; margin: 0 auto; }

/* font-size is computed by script.js so the word spans the container exactly */
.whw-panel__title {
  margin: 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 400;
  letter-spacing: 3px;
  line-height: .9;
  font-size: 120px;
  white-space: nowrap;
  text-align: center;
  color: var(--whw-white);
}

/* full-bleed rule: negative side margins cancel the panel gutter */
.whw-rule {
  height: 1px;
  background: rgba(255, 255, 255, .32);
  margin: clamp(36px, 5vw, 64px) calc(-1 * var(--whw-gutter)) clamp(40px, 4vw, 56px);
}

.whw-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr 1.05fr;
  gap: 48px;
  max-width: 2600px;
  width: 100%;
  margin: 0 auto;
}

.whw-logo-link { display: inline-flex; }
.whw-logo { display: block; width: auto; height: 96px; user-select: none; transform-origin: left center; }

.whw-links { display: flex; flex-direction: column; gap: 13px; }
.whw-links--legal { margin-top: 28px; }
.whw-links a { font-size: 16px; color: var(--whw-white); text-decoration: none; }
.whw-links a:hover { text-decoration: underline; }

.whw-contact { display: flex; flex-direction: column; gap: 16px; }
.whw-contact__row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--whw-white);
  text-decoration: none;
  line-height: 1.4;
}
.whw-contact__row:first-child { align-items: flex-start; }
.whw-contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 38px;
  flex: none;
}
.whw-contact__row:first-child .whw-contact__icon { height: 24px; }

.whw-social { display: flex; gap: 14px; margin-top: 26px; }
.whw-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  color: var(--whw-white);
}

/* pinned to the bottom of the panel by margin-top:auto */
.whw-legalbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: auto calc(-1 * var(--whw-gutter)) 0;
  padding: 22px var(--whw-gutter) 0;
  border-top: 1px solid rgba(255, 255, 255, .28);
  font-size: 13px;
  color: rgba(255, 255, 255, .75);
  letter-spacing: .02em;
}

/* ---------------------------------------------------------- ANIMATIONS ---- */
/* --w = the figure's own width, set per-figure in JS, so nothing ever pops
   into existence mid-screen (a fixed vw offset is too small on phones). */
@keyframes walkRight {
  from { transform: translateX(calc(-1 * var(--w, 28vw))); }
  to   { transform: translateX(calc(100vw + var(--w, 28vw))); }
}
@keyframes walkLeft {
  from { transform: translateX(calc(100vw + var(--w, 28vw))); }
  to   { transform: translateX(calc(-1 * var(--w, 28vw))); }
}
@keyframes bob {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(calc(var(--amp, 12px) * -1)); }
  100% { transform: translateY(0); }
}
@keyframes bubbleFloat {
  0%   { transform: translateY(0)    rotate(0deg); }
  50%  { transform: translateY(-8px) rotate(-3deg); }
  100% { transform: translateY(0)    rotate(0deg); }
}
@keyframes logoBump {
  0%   { transform: scale(1); }
  38%  { transform: scale(1.22); }
  100% { transform: scale(1); }
}

/* -------------------------------------------------------------- MOBILE ---- */

@media (max-width: 991px) {
    .cus-col-md-6{
        flex: 0 0 auto;
        width: 50%;
    }
    
    .whw-grid{
        display: flex;
        flex-direction: row;
        max-width: 100%;
        flex-wrap: wrap;
        gap: 0;
    }
    
    .whw_first-col{
        order: 4;
    }
    
    .whw_second-col{
        order: 1;
        margin-bottom: 35px;
    }
    
    .whw_third-col{
        order: 2;
        margin-bottom: 35px;
    }
    
    .whw_fourth-col{
        order: 5;
    }
    
    .whw-rule-inner{
        height: 1px;
        background: rgba(255, 255, 255, .32);
        margin: clamp(36px, 5vw, 64px) calc(-1 * var(--whw-gutter)) clamp(40px, 4vw, 56px);
        order: 3;
        width: 150%;
    }
}


@media (max-width: 700px) {

      .whw-logo {
        height: 90px;
        margin-top: 30px;
    }
  .whw-legalbar { justify-content: flex-start; font-size: 12px; }
  /* both CTA badges are hidden on mobile (a tap would otherwise latch hover) */
  .whw-cta__badge { display: none !important; }
  .whw-cta:hover { background: transparent; color: var(--whw-ink); }
  
    .whw-panel {
        padding: 30px 10px;
    }
    
    nav.whw-links {
        padding: 0 5px;
    }
    
    .whw_fourth-col{
        order: 4;
        width: 100%;
    }
    
    .whw_first-col{
        order: 5;
        width: 100%;
    }
    
    h2#whw-title {
        font-size: 40px !important;
        letter-spacing: 2.5px;
        text-align: center;
    }
    
    .whw-legalbar {
        margin: 50px 0 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
  .whw-figure, .whw-figure__bob, .whw-bubble img { animation: none !important; }
  .whw-panel { transform: none !important; }
}









/* Drawer CSS */


body.is-locked {
    overflow: hidden;
}

.drawer {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9997;
    background: #030D1A;
    overflow: hidden;
    transform: translateY(100%);
    pointer-events: none;
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.drawer.is-open {
    transform: translateY(0);
    pointer-events: auto;
}


/* ==========================================================================
   Drawer Grid
   ========================================================================== */

.drawer__grid {
    width: 100%;
    height: 100%;

    overflow-y: auto;
    overflow-x: hidden;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));

    align-content: stretch;
    align-items: stretch;
}


/* ==========================================================================
   Drawer Aside
   ========================================================================== */

.drawer__aside {
    min-width: 0;
    width: 100%;
    height: 100%;

    flex-shrink: 0;
    min-height: max-content;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    gap: min(clamp(28px, 2.4vw, 46px), 3.4vh);

    padding:
        min(clamp(32px, 2.6vw, 50px), 3.4vh)
        clamp(20px, 1.8vw, 34px)
        min(clamp(56px, 5.2vw, 100px), 7vh)
        clamp(24px, 3.75vw, 72px);
}

.drawer__title {
    margin: min(24px, 2vh) 0 0;

    width: 100%;
    max-width: 15ch;

    flex-shrink: 0;

    font-family: "Source Serif 4", ui-serif, Georgia, "Times New Roman", serif;
    font-weight: 400;

    font-size: min(clamp(54px, 4.9vw, 94px), 9.4vh);
    line-height: 1;
    letter-spacing: -0.03em;

    color: #FFFFFF;

    text-wrap: pretty;
}


/* ==========================================================================
   Contact Details
   ========================================================================== */

.contact-row {
    flex-shrink: 0;
    display: flex;
    gap: clamp(20px, 2vw, 38px);
    align-items: center;
    flex-wrap: wrap;
}

.contact-row__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-row__kicker {
    font-family: "Lilex", "JetBrains Mono", ui-monospace, monospace;
    font-weight: 400;

    font-size: 18px;
    line-height: 1.4;

    color: rgba(255, 255, 255, 0.7);
}

.contact-row__link {
    align-self: flex-start;
    font-family: "Lilex", "JetBrains Mono", ui-monospace, monospace;
    font-weight: 500;
    font-size: clamp(18px, 1.35vw, 26px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0078FF;
    border-bottom: 1.5px solid #0078FF;
    text-decoration: none;
}

.contact-row__link:hover {
    color: #FFFFFF;
    border-bottom-color: #FFFFFF;
}

.contact-row__divider {
    width: 1px;
    min-height: 56px;
    align-self: stretch;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.3);
}


/* ==========================================================================
   Social Icons
   ========================================================================== */

.socials {
    display: flex;
    gap: 14px;
    align-items: center;
}

.social {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow:
        inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social:hover {
    background: #0078FF;

    box-shadow:
        inset 0 0 0 1.5px #0078FF;
}

.social svg {
    width: 24px;
    height: 24px;
}


/* ==========================================================================
   Offices
   ========================================================================== */

.offices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: clamp(20px, 2vw, 38px);

    padding-top: clamp(16px, 1.6vw, 30px);

    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.office {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.office__name {
    font-family: "Lilex", "JetBrains Mono", ui-monospace, monospace;
    font-weight: 500;

    font-size: 18px;
    line-height: 1;

    letter-spacing: -0.02em;
    text-transform: uppercase;

    color: #FFFFFF;
}

.office__body {
    font-family: "Lilex", "JetBrains Mono", ui-monospace, monospace;
    font-weight: 400;

    font-size: 16px;
    line-height: 1.5;

    color: rgba(255, 255, 255, 0.7);
}


/* ==========================================================================
   Form
   ========================================================================== */

.form {
    min-width: 0;
    width: 100%;

    flex-shrink: 0;

    align-self: stretch;

    min-height: max-content;
    height: auto;

    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.4);

    display: flex;
    flex-direction: column;
    align-items: stretch;
}


/* ==========================================================================
   Form Header
   ========================================================================== */

.form__head {
    flex-shrink: 0;

    min-height: min(268px, 22vh);

    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.4);

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    gap: 16px;

    padding:
        min(56px, 5vh)
        23px
        min(24px, 2.5vh);
}

.form__title {
    margin: 0;

    max-width: 22ch;

    font-family: "Source Serif 4", ui-serif, Georgia, "Times New Roman", serif;
    font-weight: 400;

    font-size: min(clamp(34px, 3.02vw, 58px), 6.2vh);
    line-height: 1.1;
    letter-spacing: -0.03em;

    color: #FFFFFF;

    text-wrap: pretty;
}


/* ==========================================================================
   Form Rows
   ========================================================================== */

.form__row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    align-items: stretch;
}


/* ==========================================================================
   Fields
   ========================================================================== */

.field {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.4);

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: min(16px, 1.6vh);

    padding:
        min(16px, 1.8vh)
        23px;
}

.field--half {
    flex: 1 1 260px;

    min-width: 0;

    min-height: min(98px, 10.5vh);
}

.field--grow {
    flex: 1 1 auto;

    min-height: min(140px, 11vh);

    overflow: hidden;
}

.field__label {
    font-family: "Lilex", "JetBrains Mono", ui-monospace, monospace;
    font-weight: 400;

    font-size: 16px;
    line-height: 1.4;

    letter-spacing: -0.03em;
    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.45);

    transition: color 180ms ease-out;
}

.field:focus-within .field__label,
.field.is-filled .field__label {
    color: #FFFFFF;
}

.field__input {
    width: 100%;

    background: transparent;

    border: 0;
    padding: 0;
    outline: none;

    font-family: "Lilex", "JetBrains Mono", ui-monospace, monospace;
    font-weight: 400;

    font-size: 20px;
    line-height: 1.4;

    letter-spacing: -0.03em;

    color: #FFFFFF;
}

.field__input::placeholder {
    color: rgba(255, 255, 255, 0.45);
    opacity: 1;
}

textarea.field__input {
    resize: none;

    min-height: 0;
    height: 100%;

    flex: 1 1 auto;
}


/* ==========================================================================
   Swap Button Animation
   Used by the form submit button
   ========================================================================== */

.swap {
    --lw: 0px;
    --lm: 0px;
    --lt: -16px;
    --ls: 0.2;
    --lo: 0;

    --rw: 43px;
    --rm: 18px;
    --rt: 0px;
    --rs: 1;
    --ro: 1;

    display: flex;
    flex-direction: row;

    gap: 0;

    align-items: center;
    justify-content: center;

    border: 0;

    cursor: pointer;

    font: inherit;
}

.swap:hover:not(:disabled) {
    --lw: 43px;
    --lm: 18px;
    --lt: 0px;
    --ls: 1;
    --lo: 1;

    --rw: 0px;
    --rm: 0px;
    --rt: 16px;
    --rs: 0.2;
    --ro: 0;
}

.swap__slot--left {
    width: var(--lw);
    margin-right: var(--lm);
}

.swap__slot--right {
    width: var(--rw);
    margin-left: var(--rm);
}

.swap__slot {
    height: 43px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        width 460ms cubic-bezier(0.34, 1.4, 0.64, 1),
        margin 460ms cubic-bezier(0.34, 1.4, 0.64, 1);
}

.swap__circle {
    width: 43px;
    height: 43px;

    flex-shrink: 0;

    border-radius: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        transform 460ms cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 300ms ease-out;
}

.swap__slot--left .swap__circle {
    opacity: var(--lo);

    transform:
        translateX(var(--lt))
        scale(var(--ls));
}

.swap__slot--right .swap__circle {
    opacity: var(--ro);

    transform:
        translateX(var(--rt))
        scale(var(--rs));
}

.swap__circle svg {
    width: 16px;
    height: 16px;
}


/* ==========================================================================
   Submit Button
   ========================================================================== */

.form__submit {
    --bc: #FFFFFF;

    min-height: min(80px, 9vh);

    padding: 14px 24px;

    background: transparent;

    box-shadow:
        0 0 0 1.5px rgba(255, 255, 255, 0.4);

    opacity: 0.4;

    pointer-events: none;

    transition:
        background 260ms ease-out,
        opacity 200ms ease-out;
}

.form__submit.is-ready {
    background: #0078FF;

    box-shadow:
        0 0 0 1.5px #0078FF;

    opacity: 1;

    pointer-events: auto;
}

.form__submit.is-ready:hover {
    background: #FFFFFF;

    --bc: #0078FF;
}

.form__submit-label {
    font-family: "Lilex", "JetBrains Mono", ui-monospace, monospace;
    font-weight: 500;

    font-size: clamp(16px, 1.15vw, 22px);
    line-height: 1;

    letter-spacing: -0.03em;
    text-transform: uppercase;

    color: var(--bc);
}

.form__submit .swap__slot--left .swap__circle {
    background: #0078FF;
}

.form__submit .swap__slot--left .swap__circle svg {
    stroke: #FFFFFF;
}

.form__submit .swap__slot--right .swap__circle {
    box-shadow:
        inset 0 0 0 1.5px var(--bc);
}

.form__submit .swap__slot--right .swap__circle svg {
    stroke: var(--bc);
}


/* ==========================================================================
   Consent
   ========================================================================== */

.form__consent {
    margin: 0;

    flex-shrink: 0;

    border-top:
        1px solid rgba(255, 255, 255, 0.4);

    padding:
        min(26px, 2.6vh)
        23px
        min(34px, 3.6vh);

    font-family: "Lilex", "JetBrains Mono", ui-monospace, monospace;
    font-weight: 400;

    font-size: 18px;
    line-height: 1.4;

    letter-spacing: -0.48px;

    color: rgba(255, 255, 255, 0.5);

    text-wrap: pretty;
}


/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 860px) {

    .drawer {
        top: 108px;
    }

    .drawer__grid {
        display: flex;
        flex-direction: column;

        align-content: start;
        align-items: stretch;
    }

    .drawer__aside {
        height: auto;

        gap: 28px;

        padding:
            32px
            clamp(20px, 1.8vw, 34px)
            44px
            24px;
    }

    .form {
        min-height: max-content;
    }

    .form__head {
        min-height: auto;
    }

    .field--half {
        min-height: auto;

        flex: 1 1 260px;
    }

    .field--grow {
        min-height: 150px;
    }

    .field {
        gap: 12px;

        padding: 18px 23px;
    }

    .field__label {
        font-size: 18px;
    }

    .office__body {
        font-size: 18px;
    }

    .form__submit {
        min-height: 72px;
    }
}















