/* --- Home page: hero + selected projects ---
   Loaded on top of style.css, which already supplies the palette, the ambient
   gradient background, the header/footer and the shared hero + CTA blocks.
   Everything here is scoped to this page: the split hero (.hero-home), the row
   of selected projects and the sign-off. The other pages keep the plain centred hero
   style.css gives them. */

/* --- The page's own line ---
   The hero set it and the rest of the page reads from it: the header's gutter
   to the pixel, 24px on .main-header plus 16px on .nav-container, full bleed
   up to the header's own 3000px cap. Spelled out rather than fluid, because a
   clamp only met the header at one width and a narrower cap pushed the content
   inwards on a wide monitor while the logo stayed put. Anything that should
   start on the logo's line wears this. */
.home-bleed {
    max-width: 3000px;
    margin-inline: auto;
    padding-inline: 40px;
}

/* --- Hero ---
   A full-bleed two-column block: the headline runs down the left, the copy and
   the button sit in a narrow column to its right, and both bottom-align the
   way the two halves of a poster do. The backdrop stays the page's own ambient
   gradient, so the hero adds no artwork of its own. */
/* --- The hero ---
   The first screen, scrolling away like the rest of the page. */
.hero-stack {
    position: relative;
}

.hero-section.hero-home {
    position: relative;
    padding: 0;
}

.hero-home-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    column-gap: 48px;
    padding-block: clamp(110px, 17vh, 190px) clamp(64px, 10vh, 120px);
    /* Fills what is left of the screen under the header, so the first row of
       project cards is never half in view while the hero is being read.

       The 48px is taken off for the header, which stands about 66px tall in
       the flow above this. Under-counting it on purpose: a hero a few pixels
       taller than the gap only eats into its own bottom padding, where a few
       pixels short would show the top of the next section, which is the whole
       point. Small viewport units, so a phone's toolbars cannot uncover it
       either. */
    min-height: calc(100vh - 48px);
    min-height: calc(100svh - 48px);
}

.hero-home .hero-title {
    margin: 0;
    max-width: 15ch;
    /* Pure white over the gradient rather than the page's off-white, so the
       headline keeps its edge against the brightest part of the mesh. */
    color: #ffffff;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: var(--fw-regular);
    line-height: 1.03;
    letter-spacing: -0.035em;
    text-align: left;
    /* A text box starts where the glyph's own blank margin starts, not where
       the ink does, so sharing the logo's 40px gutter still left the headline
       looking a few pixels adrift of it. Pulled back by the side bearing the
       font puts in front of the first letter, measured off the fonts
       themselves: 0.052em before Montserrat's C, 0.024em before Geologica's
       delta. In em, so it holds at every size the clamp above lands on.

       It is the first letter of the headline that fixes these two numbers. If
       the copy changes, they want measuring again. */
    margin-left: -0.052em;
}

html[data-lang="el"] .hero-home .hero-title {
    margin-left: -0.024em;
}

/* The last words of a heading, carried in the brand's own accent: once in the
   hero, once over the process. The same gradient the solid buttons are filled
   with. The flat colour is the fallback; only browsers that can clip a
   background to the text get the gradient. */
.accent-text {
    color: var(--accent-orange);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .accent-text {
        background: linear-gradient(100deg, var(--accent-orange), var(--accent-amber));
        -webkit-background-clip: text;
                background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}

/* Held over to the right, but off the gutter rather than against it.

   The width was measured off a row of two buttons the hero no longer has, and
   it stays: with one short button left it is the paragraph's measure alone,
   and the two ceilings are a sane one in each language, Greek running about
   half again as long as English. */
.hero-aside {
    justify-self: end;
    max-width: 480px;
    margin-right: clamp(24px, 4vw, 80px);
    padding-bottom: 4px;
}

html[data-lang="el"] .hero-aside {
    max-width: 560px;
}

.hero-home .hero-subtitle {
    max-width: none;
    margin: 0 0 28px;
    /* Lifted from the site-wide 0.72: the hero sits on a lighter ground than
       the sections below it, and the paragraph needs the extra contrast. Kept
       a shade off full white so the headline above it still reads as the
       brighter of the two. */
    color: rgba(255, 255, 255, 0.97);
    font-size: 1rem;
    line-height: 1.65;
    text-align: left;
}

.hero-home .hero-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 0;
}

/* --- Let's Talk ---
   The one thing the hero asks for. A dark pill with the label set wide and a
   disc at the right end holding the arrow, and on hover the disc's colour
   floods the whole pill from that end.

   The flood is .lt-fill: a circle wider than the button is long, scaled to
   nothing and parked over the disc, grown back to full size on hover. Scaling
   a circle keeps the edge of the wash curved the whole way across, which a
   width or a background-position cannot do. It is under the label and above
   the pill's own background, so the label crosses from light to dark as the
   colour passes beneath it.

   Dark text on the orange, not white: white clears about three to one against
   the orange end and the page's near-black clears seven, the same choice the
   solid buttons on the other pages already make. */
.lets-talk {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    /* Under 768px style.css turns the row of actions into a column and gives
       every .btn in it the full width. This is not one of those: a pill that
       runs the width of the screen would be all gap between the label and the
       disc, so it keeps its own width there too. */
    align-self: flex-start;
    gap: 18px;
    padding: 9px 9px 9px 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(14px);
            backdrop-filter: blur(14px);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.45s ease, color 0.45s ease;
}

/* Square, so scale leaves it a circle; wider than the button is long, so the
   far end is covered before the near end has finished arriving. At rest it is
   scaled to nothing rather than to the size of the disc: anything left over
   shows past the disc as a second, smaller mark at the end of the pill. */
.lt-fill {
    position: absolute;
    z-index: -1;
    top: 50%;
    right: -6px;
    width: 320px;
    height: 320px;
    margin-top: -160px;
    border-radius: 50%;
    background: linear-gradient(100deg, var(--accent-orange), var(--accent-amber));
    transform: scale(0);
    transform-origin: 100% 50%;
    transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

.lt-label {
    position: relative;
    z-index: 1;
    transition: color 0.35s ease;
}

/* At rest the disc is the only colour on the button. Under the flood it turns
   dark, the one piece that inverts, so the arrow stays readable throughout. */
.lt-disc {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(100deg, var(--accent-orange), var(--accent-amber));
    color: var(--bg-dark);
    overflow: hidden;
    transition: background 0.45s ease, color 0.45s ease;
}

/* Both arrows sit in the same cell. The first leaves up and to the right along
   its own diagonal, the second comes in from below left on the same line. */
.lt-arrow {
    grid-area: 1 / 1;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.lt-arrow-next {
    transform: translate3d(-115%, 115%, 0);
}

.lets-talk:hover,
.lets-talk:focus-visible {
    border-color: transparent;
    color: var(--bg-dark);
}

.lets-talk:hover .lt-fill,
.lets-talk:focus-visible .lt-fill {
    transform: scale(1);
}

.lets-talk:hover .lt-disc,
.lets-talk:focus-visible .lt-disc {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.lets-talk:hover .lt-arrow,
.lets-talk:focus-visible .lt-arrow {
    transform: translate3d(115%, -115%, 0);
}

.lets-talk:hover .lt-arrow-next,
.lets-talk:focus-visible .lt-arrow-next {
    transform: translate3d(0, 0, 0);
}

.lets-talk:focus-visible {
    outline: 2px solid var(--accent-orange);
    outline-offset: 4px;
}

/* The split needs room for a headline and a 480px to 560px column side by
   side. Below that the two stack, and the headline is free to run wider than
   the 15ch it holds to above. */
@media (max-width: 1280px) {
    .hero-home-inner {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 32px;
        /* Stacked, the pair sits in the middle of the screen rather than
           pressed to the floor of it. */
        align-content: center;
        padding-top: clamp(96px, 14vh, 150px);
        padding-bottom: 56px;
    }

    .hero-home .hero-title {
        max-width: 18ch;
        font-size: clamp(2.1rem, 7vw, 3.6rem);
    }

    /* Stacked, it follows the headline down the left instead, keeping the
       width its buttons need. */
    .hero-aside {
        justify-self: start;
        margin-right: 0;
    }
}

/* Narrow enough that the column is the screen; the Greek ceiling has to be
   lifted by name, having been set with more weight than a bare class. */
@media (max-width: 640px) {
    .hero-aside,
    html[data-lang="el"] .hero-aside {
        max-width: none;
    }
}

/* The header narrows its own gutter twice on the way down (to 12px + 16px,
   then 12px + 12px). The page follows it both times, for the same reason. */
@media (max-width: 768px) {
    .home-bleed { padding-inline: 28px; }

    /* On a phone the hero sits on the floor of the first screen instead of in
       the middle of it, and it is already there when the page paints: the
       fade-up would otherwise lift the headline into place after load. */
    .hero-home-inner {
        align-content: end;
        padding-top: 88px;
        padding-bottom: 56px;
    }

    .hero-home .animate-fade {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

@media (max-width: 480px) {
    .home-bleed { padding-inline: 24px; }
}


.featured-section {
    padding: 0;
    position: relative;
}

/* --- The panel ---
   Everything under the hero sits on one dark ground. It has no edge of its
   own: the moving background behind the hero fades into it over the first
   few hundred pixels, so the page darkens as it goes on instead of a card
   arriving over it. */
.featured-panel {
    position: relative;
    z-index: 1;
    padding: clamp(72px, 10vh, 120px) 0 0;
    background: linear-gradient(180deg,
        rgba(10, 10, 14, 0) 0,
        rgba(10, 10, 14, 0.82) clamp(160px, 22vh, 260px),
        #0a0a0e clamp(420px, 55vh, 640px));
    /* Clipped without becoming a scroll container, which would stop the
       projects' frame from sticking. */
    overflow: clip;
}

/* --- Selected projects ---
   The heading on the page's line, with the count beside it as on the projects
   page and one line under it, and on the right the way to all of them. Under it a
   single row of cards the reader moves along themselves; each names the
   project and the kind of work under the picture, on a hairline. */
.fp-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: clamp(32px, 5vh, 56px);
}

.fp-title {
    display: flex;
    align-items: flex-start;
    margin: 0;
    font-size: clamp(2.4rem, 4.6vw, 4.2rem);
    font-weight: var(--fw-light);
    letter-spacing: -0.045em;
    line-height: 1;
}

.fp-count {
    margin: 0.2em 0 0 0.3em;
    font-size: 0.28em;
    font-weight: var(--fw-regular);
    letter-spacing: 0;
    line-height: 1;
    color: var(--accent-orange);
    font-variant-numeric: tabular-nums;
}

/* The line under the heading says what the row holds; the way to all of
   them stands apart on the right. */
.fp-intro p {
    margin: 18px 0 0;
    max-width: 40ch;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.fp-aside { flex-shrink: 0; }

/* The same underline as the sign-off's request: a hairline that fills with the
   house orange from the left when the pointer arrives. */
.fp-all {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 6px;
    font-size: clamp(18px, 1.5vw, 24px);
    font-weight: var(--fw-light);
    letter-spacing: -0.02em;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
}

.fp-all::before,
.fp-all::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
}

.fp-all::after {
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-amber));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}

.fp-all svg { transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fp-all:hover::after,
.fp-all:focus-visible::after { transform: scaleX(1); }
.fp-all:hover svg,
.fp-all:focus-visible svg { transform: translate(3px, -3px); }

/* The row runs to both edges of the screen but starts and snaps on the
   page's line, so the first card sits under the heading. */
.fp-row {
    --fp-gutter: 40px;
    position: relative;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--fp-gutter);
    scrollbar-width: none;
}

.fp-row::-webkit-scrollbar { display: none; }

.fp-list {
    display: flex;
    align-items: flex-start;
    gap: clamp(16px, 2vw, 32px);
    width: max-content;
    margin: 0;
    padding: 0 var(--fp-gutter) 8px;
    list-style: none;
}

/* All the same size, sized so the fourth card is cut by the edge of the
   screen: the cut is what says the row goes on. */
.fp-item {
    flex: 0 0 clamp(260px, 26vw, 440px);
    scroll-snap-align: start;
}

.fp-link {
    display: block;
    color: inherit;
    text-decoration: none;
    -webkit-user-drag: none;
}

.fp-frame {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: #15151c;
}

.fp-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fp-cap {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.5s;
}

.fp-name {
    font-size: 15px;
    color: var(--text-primary);
}

.fp-kind {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.fp-link:hover .fp-frame img,
.fp-link:focus-visible .fp-frame img { transform: scale(1.04); }
.fp-link:hover .fp-cap,
.fp-link:focus-visible .fp-cap { border-top-color: var(--accent-orange); }

.fp-foot {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 24px;
    font-size: 13px;
    color: var(--text-secondary);
}

.fp-pos { flex-shrink: 0; font-variant-numeric: tabular-nums; }

/* How far along the row is, as a hairline that fills. */
.fp-line {
    position: relative;
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.fp-line i {
    position: absolute;
    inset: 0;
    background: var(--text-primary);
    transform: scaleX(0);
    transform-origin: left;
}

.fp-hint { flex-shrink: 0; }

/* The arrows: square, hairline, the arrow nudging the way it goes. Shown
   wherever there is a pointer to press them; a phone swipes instead. */
.fp-arrows {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.fp-arrow {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 4px;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s, opacity 0.3s;
}

.fp-arrow svg { transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fp-arrow:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.04); }
#fp-prev:hover svg { transform: translateX(-3px); }
#fp-next:hover svg { transform: translateX(3px); }
.fp-arrow[aria-disabled="true"] { opacity: 0.3; cursor: default; }
.fp-arrow[aria-disabled="true"]:hover { border-color: rgba(255, 255, 255, 0.16); background: transparent; }
.fp-arrow[aria-disabled="true"] svg { transform: none !important; }

@media (hover: hover) and (pointer: fine) {
    .fp-hint { display: none; }
}

@media (hover: none) {
    .fp-arrows { display: none; }
}

@media (max-width: 900px) {
    .fp-head { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 768px) {
    .fp-row { --fp-gutter: 28px; }
    .fp-item { flex-basis: 78vw; }
}

@media (max-width: 480px) {
    .fp-row { --fp-gutter: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .fp-frame img, .fp-cap, .fp-all::after, .fp-all svg { transition: none; }
}

/* --- The partnership model ---
   One paragraph. The four promises inside it are the four things an agency
   wants to know, picked out of the sentence rather than lifted into a list.
   Words start blurred and dim and sharpen as the paragraph is scrolled past;
   a promise lights up as the last of its words comes clear. */

/* The projects above end on a hard line of captions and their count, so the
   section takes a proper gap above it rather than leaning on soft edges. */
.partner-model-section {
    padding: clamp(96px, 14vh, 150px) 0 100px;
    position: relative;
    z-index: 1;
}

/* --- How we work together ---
   Two columns: on the left the heading and what the partner is promised, on
   the right how the work goes, four steps in a list on hairlines. Everything
   at once, nothing moving by itself but the paragraph's own reveal. */
.hw-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 120px);
    align-items: start;
}

.hw-title {
    margin: 0;
    font-size: clamp(2.4rem, 4.6vw, 4.2rem);
    font-weight: var(--fw-light);
    letter-spacing: -0.045em;
    line-height: 1;
}

/* In the house's orange, as the hero's last words are. The padding keeps the
   italic's lean inside the box the gradient is clipped to. */
.hw-title em {
    font-style: italic;
    font-weight: var(--fw-light);
    padding-right: 0.08em;
    color: var(--accent-orange);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .hw-title em {
        background: linear-gradient(100deg, var(--accent-orange), var(--accent-amber));
        -webkit-background-clip: text;
                background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}

.hw-steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hw-steps li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: clamp(18px, 2.4vw, 28px) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Lines only between the steps, none above the first or under the last. */
.hw-steps li:first-child { border-top: 0; padding-top: 0; }
.hw-steps li:last-child { padding-bottom: 0; }

.hw-n {
    padding-top: 0.55em;
    font-size: 12px;
    color: var(--accent-orange);
    font-variant-numeric: tabular-nums;
}

.hw-steps h3 {
    margin: 0 0 8px;
    font-size: clamp(22px, 2vw, 30px);
    font-weight: var(--fw-light);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.hw-steps p {
    margin: 0;
    max-width: 44ch;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

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


/* Runs the width of the block rather than holding to a measure inside it: it
   is a statement being read once, not a column of body copy, and it was
   sitting in the left half of the section with the right half empty. Larger
   and more open between the lines to fill what it is given. */
.pm-copy {
    font-size: clamp(19px, 1.7vw, 26px);
    font-weight: var(--fw-light);
    line-height: 1.6;
    letter-spacing: -0.3px;
    margin: clamp(28px, 4vh, 44px) 0 0;
}

/* The source is the paragraph until home.js has drawn the split version, so a
   reader without JS still gets the text rather than an empty block. */
.pm-copy.is-split .pm-src { display: none; }
.pm-copy:not(.is-split) .pm-render { display: none; }

/* One span per word. --t runs 0 to 1 as the scroll wave passes over it. */
.pm-w {
    display: inline-block;
    opacity: calc(0.13 + 0.87 * var(--t, 0));
    filter: blur(calc((1 - var(--t, 0)) * 5px));
}

.pm-w.is-clear {
    opacity: 1;
    filter: none;
}

/* Not reached yet: too faint for the blur to register, so it does not pay for
   one. See setWord in js/home.js. */
.pm-w.is-waiting {
    filter: none;
}

/* The four things an agency wants to know are set in a heavier weight against
   the light body text. No colour and no animation of their own: every attempt
   at highlighting them landed on top of the reveal and read as a second,
   competing effect. */
.pm-mark {
    background: none;
    color: inherit;
    font-weight: var(--fw-medium);
}

@media (max-width: 640px) {
    .pm-w {
        filter: none;
    }
}

@media (max-width: 860px) {
    .partner-model-section {
        padding: 56px 0 90px;
    }
}

/* Nothing should blur or crawl for someone who asked for stillness: the
   paragraph is simply there, with its promises already lit. */
@media (prefers-reduced-motion: reduce) {
    .pm-w {
        opacity: 1;
        filter: none;
    }
}

/* --- Buttons ---
   A plain frosted pane: one flat wash of white over a blur, a hairline border,
   and nothing else. No diagonal sheen, no lit top edge, no drop beneath, and
   no glow on hover. The blur is the only thing here that knows the gradient is
   moving behind it.

   box-shadow is set to none rather than left out: style.css draws an inner
   hairline on .btn-secondary and another on hover, and with nothing declared
   here those would come back through.

   These override style.css for the home page only, home.css being the only
   place they are loaded from; the price list, FAQ and calculator keep the
   square buttons they were built with. */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: blur(14px);
            backdrop-filter: blur(14px);
    box-shadow: none;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: var(--fw-medium);
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    /* Colour, and a pixel: see the lift below. */
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease,
                transform 0.3s ease, box-shadow 0.3s ease;
}

/* The button the page closes with is solid, and it is solid in the deep violet
   the panel already sits in: the mesh behind the glass is this colour, a shade
   or two darker where the card covers it. So it reads as the background come
   forward rather than as a colour brought in, and the orange is left to the
   headline and the hero's own button, which is where the page wants the eye
   first.

   White on it, and a notch heavier than its neighbour: light on dark sets
   lighter to the eye, and at the same number the two would not have looked
   alike. The violet clears white at better than twelve to one. */
.btn-primary {
    border-color: rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, #3b2f6b 0, #2a2150 100%);
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
    color: #ffffff;
    font-weight: var(--fw-semibold);
}

.btn-large {
    /* A pill, like the hero's own button: on this page the two are the same
       invitation, at the top of the screen and at the end of it. Tighter than
       it was, the shape carrying the size the padding used to. */
    padding: 15px 24px;
    border-radius: 999px;
    font-size: 16px;
}

/* Hover warms the glass towards the accent and leaves it there. A flat tint,
   the same pane, nothing lit behind it. */
.btn:hover,
.btn:focus-visible {
    border-color: rgba(255, 140, 95, 0.55);
    background: rgba(255, 107, 53, 0.18);
    box-shadow: none;
    color: var(--text-primary);
}

/* The solid one has nowhere to warm to, so it lightens instead: the same two
   violets a step up each, and the hairline with them. */
.btn-primary:hover,
.btn-primary:focus-visible {
    border-color: rgba(255, 255, 255, 0.22);
    background: linear-gradient(180deg, #483a80 0, #342a63 100%);
    box-shadow: none;
    color: #ffffff;
}

/* One pixel up under the pointer, with a soft shadow to make the pixel read,
   and straight back down when it is pressed. The same lift the buttons on the
   other pages take, so the two families move alike. */
.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
}

.btn:active {
    transform: translateY(0);
}

.btn:focus-visible {
    outline: 2px solid var(--accent-orange);
    outline-offset: 4px;
}

.btn svg {
    flex: 0 0 auto;
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(4px);
}

@media (max-width: 640px) {
    .btn {
        padding: 14px 20px;
    }

    .btn-large {
        padding: 15px 24px;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    /* The flood becomes a plain change of fill, and the arrow stays where it
       is: the second one is only there to replace a departure, so with nothing
       departing it comes out of the button altogether. */
    .lt-fill {
        transition: none;
    }

    .lt-arrow {
        transition: none;
    }

    .lt-arrow-next {
        display: none;
    }

    .lets-talk:hover .lt-arrow,
    .lets-talk:focus-visible .lt-arrow {
        transform: none;
    }

    .btn,
    .btn svg {
        transition: none;
    }

    .btn:hover svg {
        transform: none;
    }

    .btn:hover,
    .btn:focus-visible,
    .btn:active {
        transform: none;
    }
}
