/* =====================================================
   Helicon Solutions — "Helicon" artsy theme (index.html only)
   Loaded after styles.css; overrides the base look.
   Hero art: Claude Lorrain, Apollo and the Muses on Mount Helicon (1680), public domain,
   stippled into a two-tone dither.
   ===================================================== */

:root {
    --ink-blue: #1e3ce6;      /* matches the stipple palette exactly */
    --ink-blue-deep: #1229b8;
    --ink-blue-night: #0b1a73;
    --paper: #f3f1ea;
    --paper-dim: #e9e6dc;
    --ink: #0d1640;
    --ink-soft: #3d4466;
    --rule: rgba(13, 22, 64, 0.16);
    --stipple-white: #eef1ff;

    --font-display: 'Instrument Serif', 'Times New Roman', serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

    /* re-point base tokens so inherited components follow the theme */
    --navy: var(--ink);
    --navy-deep: var(--ink-blue-night);
    --charcoal: var(--ink);
    --charcoal-light: var(--ink-soft);
    --off-white: var(--paper);
    --accent-blue: var(--ink-blue);
    --accent-blue-light: #b9c4ff;
    --accent-blue-dark: var(--ink-blue-deep);
    --gradient-accent: var(--ink-blue);
    --radius-sm: 999px;
    --radius-md: 4px;
    --radius-lg: 6px;
}

body.artsy {
    background: var(--paper);
    color: var(--ink);
}

.artsy ::selection { background: var(--ink-blue); color: var(--stipple-white); }

/* ---------- Type ---------- */
.artsy h1, .artsy h2, .artsy h3 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.02;
}

.artsy .section-header { text-align: center; }

.artsy .section-tag {
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.22em;
    color: var(--ink-blue);
    margin-bottom: 20px;
}
.artsy .section-tag::before { content: '— '; }
.artsy .section-tag::after { content: ' —'; }

.artsy .section-title {
    font-size: clamp(40px, 6.4vw, 76px);
    color: var(--ink);
}

/* ---------- Buttons ---------- */
.artsy .btn {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 15px 30px;
    border-radius: 999px;
    box-shadow: none;
}
.artsy .btn-primary {
    background: var(--ink-blue);
    color: var(--stipple-white);
    border: 1px solid var(--ink-blue);
}
.artsy .btn-primary:hover {
    background: var(--ink-blue-deep);
    transform: translateY(-1px);
    box-shadow: none;
}
.artsy .btn-secondary {
    background: transparent;
    color: var(--ink);
    border: 1px solid currentColor;
    backdrop-filter: none;
}
.artsy .btn-secondary:hover { background: rgba(13, 22, 64, 0.06); }

/* ---------- Navigation ---------- */
.artsy .nav { padding: 28px 0; }
.artsy .nav.scrolled {
    background: rgba(30, 60, 230, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: none;
    border-bottom: 1px solid rgba(238, 241, 255, 0.18);
    padding: 14px 0;
}
.artsy .nav-logo {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 26px;
    letter-spacing: 0;
    color: var(--stipple-white);
}
.artsy .logo-icon { color: var(--stipple-white); width: 32px; height: 32px; }
.artsy .nav-links { gap: 44px; }
.artsy .nav-links a {
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(238, 241, 255, 0.85);
}
.artsy .nav-links a:hover { color: #fff; }
.artsy .nav-cta {
    background: var(--ink-blue-deep);
    border: 1px solid rgba(238, 241, 255, 0.35);
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 500 !important;
}
.artsy .nav-cta:hover { background: var(--ink-blue-night); box-shadow: none; }
.artsy .mobile-menu { background: var(--ink-blue); top: 76px; }
.artsy .mobile-menu a {
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-bottom-color: rgba(238, 241, 255, 0.18);
}

/* ---------- Hero ---------- */
.artsy .hero {
    min-height: clamp(680px, 100vh, 1080px);
    min-height: clamp(680px, 100svh, 1080px);
    justify-content: flex-start;
    background: var(--ink-blue);
    color: var(--stipple-white);
}
.artsy .hero-bg { background: var(--ink-blue); }
.artsy .hero-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% 40%;
    animation: heroArt 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes heroArt {
    from { opacity: 0; transform: scale(1.04); }
    to { opacity: 1; transform: scale(1); }
}
/* a soft beam of light, like the reference — keeps the stipple legible under text */
.artsy .hero-light {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(30, 60, 230, 0.75) 0%, rgba(30, 60, 230, 0.3) 9%, transparent 18%),
        linear-gradient(90deg, rgba(30, 60, 230, 0.55) 0%, rgba(30, 60, 230, 0.25) 38%, transparent 62%),
        linear-gradient(0deg, rgba(30, 60, 230, 0.5) 0%, transparent 22%);
}

.artsy .hero-content {
    text-align: left;
    max-width: var(--container-max);
    width: 100%;
    padding: 140px var(--container-padding) 120px;
}
.artsy .hero-content > * { max-width: 680px; }

.artsy .hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(238, 241, 255, 0.8);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.artsy .hero-eyebrow::before {
    content: '';
    width: 36px;
    height: 1px;
    background: currentColor;
}

.artsy .hero-title {
    font-size: clamp(52px, 8.2vw, 112px);
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 30px;
}
.artsy .hero-title em { font-style: italic; }

.artsy .hero-subtitle {
    font-size: clamp(17px, 1.6vw, 21px);
    color: rgba(238, 241, 255, 0.86);
    margin: 0 0 44px;
    max-width: 520px;
}

.artsy .hero-ctas { justify-content: flex-start; }
.artsy .hero .btn-primary {
    background: var(--stipple-white);
    color: var(--ink-blue);
    border-color: var(--stipple-white);
}
.artsy .hero .btn-primary:hover { background: #fff; }
.artsy .hero .btn-secondary { color: var(--stipple-white); }
.artsy .hero .btn-secondary:hover { background: rgba(238, 241, 255, 0.12); }

.artsy .hero-pills {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}
.artsy .hero-pills li {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: 1px solid rgba(238, 241, 255, 0.55);
    border-radius: 999px;
    padding: 7px 16px;
    color: rgba(238, 241, 255, 0.9);
}

.artsy .hero-scroll {
    bottom: 32px;
    gap: 10px;
    color: rgba(238, 241, 255, 0.85);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.24em;
    transition: transform var(--transition-base), color var(--transition-fast);
}
.artsy .hero-scroll:hover { color: #fff; transform: translateX(-50%) translateY(3px); }

.artsy .hero-credit {
    position: absolute;
    right: var(--container-padding);
    bottom: 30px;
    max-width: 260px;
    text-align: right;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-transform: uppercase;
    color: rgba(238, 241, 255, 0.6);
}
.artsy .hero-credit i { font-style: normal; color: rgba(238, 241, 255, 0.85); }

.artsy .animate-in { animation-duration: 1s; }
.artsy .animate-in:nth-child(5) { animation-delay: 0.5s; }

/* ---------- About ---------- */
.artsy .about { background: var(--paper); }
.artsy .about-grid { gap: 80px; }
.artsy .about-intro {
    display: grid;
    grid-template-columns: minmax(240px, 380px) 1fr;
    gap: clamp(40px, 7vw, 96px);
    align-items: center;
    text-align: left;
}
.artsy .about-figure img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 999px 999px 0 0;   /* arched, like a temple niche */
}
.artsy .about-figure figcaption {
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.artsy .large-text {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.18;
    color: var(--ink);
    margin: 0;
    max-width: 22ch;
}

.artsy .value-cards {
    counter-reset: virtue;
    gap: 0;
    border-top: 1px solid var(--ink);
}
.artsy .value-card {
    counter-increment: virtue;
    background: transparent;
    border: none;
    border-right: 1px solid var(--rule);
    border-radius: 0;
    padding: 32px 28px 8px;
}
.artsy .value-card:last-child { border-right: none; }
.artsy .value-card:hover { transform: none; box-shadow: none; }
.artsy .value-card::before {
    content: counter(virtue, upper-roman) '.';
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--ink-blue);
    margin-bottom: 18px;
}
.artsy .value-icon { display: none; }
.artsy .value-card h3 { font-size: 30px; margin-bottom: 12px; }
.artsy .value-card p { color: var(--ink-soft); }

/* ---------- Services ---------- */
.artsy .services { background: var(--paper-dim); }
.artsy .services-grid { gap: 0; border-top: 1px solid var(--ink); }
.artsy .service-card {
    background: transparent;
    border: none;
    border-right: 1px solid var(--rule);
    border-radius: 0;
    padding: 40px 36px 24px;
}
.artsy .service-card:last-child { border-right: none; }
.artsy .service-card::before { display: none; }
.artsy .service-card:hover { transform: none; box-shadow: none; }
.artsy .service-number {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: 64px;
    line-height: 1;
    color: var(--ink-blue);
    opacity: 1;
    margin-bottom: 28px;
}
.artsy .service-card h3 { font-size: 34px; }
.artsy .service-card p { color: var(--ink-soft); }
.artsy .service-features li {
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid var(--ink);
    color: var(--ink);
    padding: 6px 12px;
}

/* ---------- Portfolio (blue, like the hero) ---------- */
.artsy .portfolio {
    background: var(--ink-blue);
    color: var(--stipple-white);
    position: relative;
}
.artsy .portfolio .section-tag { color: rgba(238, 241, 255, 0.75); }
.artsy .portfolio .section-title { color: #fff; }
.artsy .portfolio-card {
    background: transparent;
    border: 1px solid rgba(238, 241, 255, 0.28);
    border-radius: 6px;
}
.artsy .portfolio-card:hover {
    background: rgba(238, 241, 255, 0.06);
    border-color: rgba(238, 241, 255, 0.7);
    transform: translateY(-4px);
}
.artsy .portfolio-image {
    position: relative;
    background: var(--ink-blue-deep);
    border-bottom: 1px solid rgba(238, 241, 255, 0.28);
}
/* screenshots render as blue monotone prints; colour returns on hover */
.artsy .portfolio-image img {
    filter: grayscale(1) contrast(1.1);
    mix-blend-mode: screen;
    opacity: 0.9;
    transition: filter 0.5s ease, opacity 0.5s ease, transform 0.5s ease, mix-blend-mode 0s 0.25s;
}
.artsy .portfolio-card:hover .portfolio-image img {
    filter: none;
    opacity: 1;
    mix-blend-mode: normal;
    transform: scale(1.03);
}
.artsy .portfolio-content h3 { font-size: 30px; }
.artsy .portfolio-content p { color: rgba(238, 241, 255, 0.78); }
.artsy .portfolio-favicon { border-radius: 50%; }
.artsy .tech-tags span {
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--stipple-white);
    background: transparent;
    border: 1px solid rgba(238, 241, 255, 0.5);
}
.artsy .portfolio-note {
    font-family: var(--font-display);
    font-size: 22px;
    color: rgba(238, 241, 255, 0.75);
    max-width: none;
}

/* ---------- Approach ---------- */
.artsy .approach { background: var(--paper); }
.artsy .principle-group h3 { font-size: 34px; color: var(--ink); }
.artsy .principle-group h3::before { display: none; }
.artsy .principle-group ul { gap: 0; border-top: 1px solid var(--ink); }
.artsy .principle-group li {
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
    font-size: 16px;
}
.artsy .principle-group li svg { color: var(--ink-blue); }
.artsy .tech-stack {
    align-self: start;
    background: var(--ink-blue);
    color: var(--stipple-white);
    border: none;
    border-radius: 6px;
}
.artsy .tech-stack h3 { font-size: 34px; color: #fff; }
.artsy .tech-item {
    background: transparent;
    border: 1px solid rgba(238, 241, 255, 0.4);
    border-radius: 999px;
    padding: 14px 12px;
}
.artsy .tech-item:hover { background: rgba(238, 241, 255, 0.1); transform: none; }
.artsy .tech-name {
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--stipple-white);
}

/* ---------- Trust ---------- */
.artsy .trust {
    background: var(--paper-dim);
    border-color: var(--rule);
}
.artsy .trust-badges { gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.artsy .trust-badge {
    background: transparent;
    border-radius: 0;
    border-right: 1px solid var(--rule);
    flex: 1 1 200px;
    padding: 36px 24px;
}
.artsy .trust-badge:last-child { border-right: none; }
.artsy .trust-badge:hover { transform: none; box-shadow: none; }
.artsy .trust-badge svg { color: var(--ink-blue); }
.artsy .trust-badge span { font-family: var(--font-display); font-weight: 400; font-size: 28px; }
.artsy .trust-badge small {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-top: -4px;
}

/* ---------- Contact ---------- */
.artsy .contact { background: var(--paper); }
.artsy .contact-info .section-tag::before,
.artsy .contact-info .section-tag::after { content: ''; }
.artsy .contact-info .section-title { font-size: clamp(44px, 5.6vw, 72px); }
.artsy .contact-item { font-family: var(--font-mono); font-size: 14px; }
.artsy .contact-form {
    background: #fff;
    border: 1px solid var(--ink);
    border-radius: 6px;
    box-shadow: 10px 10px 0 var(--ink-blue);
}
.artsy .form-progress { border-bottom-color: var(--rule); }
.artsy .step-number {
    font-family: var(--font-mono);
    font-weight: 400;
    background: transparent;
    border: 1px solid var(--rule);
}
.artsy .progress-step.active .step-number {
    background: var(--ink-blue);
    border-color: var(--ink-blue);
    box-shadow: none;
}
.artsy .step-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.artsy .form-step-title { font-family: var(--font-display); font-weight: 400; font-size: 36px; }
.artsy .form-group label { font-weight: 500; }
.artsy .form-group input,
.artsy .form-group textarea,
.artsy .form-group select {
    background: var(--paper);
    border: 1px solid transparent;
    border-radius: 4px;
}
.artsy .form-group input:focus,
.artsy .form-group textarea:focus,
.artsy .form-group select:focus { border-color: var(--ink-blue); background: #fff; }
.artsy .form-navigation { border-top-color: var(--rule); }
.artsy .form-navigation .btn-secondary { color: var(--ink); }

/* ---------- Footer ---------- */
.artsy .footer { background: var(--ink-blue-night); }
.artsy .footer-brand .nav-logo { font-size: 28px; }
.artsy .footer-column h4 {
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(238, 241, 255, 0.55);
}
.artsy .footer-bottom { border-top-color: rgba(238, 241, 255, 0.14); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .artsy .value-card { border-right: none; border-bottom: 1px solid var(--rule); }
    .artsy .service-card { border-right: none; border-bottom: 1px solid var(--rule); }
}

@media (max-width: 768px) {
    .artsy .hero-art { object-position: 78% 50%; }
    .artsy .hero-light {
        background:
            linear-gradient(0deg, rgba(30, 60, 230, 0.85) 0%, rgba(30, 60, 230, 0.55) 55%, rgba(30, 60, 230, 0.65) 100%);
    }
    .artsy .hero-content { padding: 120px var(--container-padding) 100px; }
    .artsy .hero-title { font-size: clamp(44px, 12vw, 64px); }
    .artsy .hero-credit {
        left: var(--container-padding);
        right: var(--container-padding);
        max-width: none;
        text-align: left;
        bottom: 24px;
    }
    .artsy .about-intro { grid-template-columns: 1fr; }
    .artsy .about-figure { max-width: 320px; }
    .artsy .trust-badge { border-right: none; border-bottom: 1px solid var(--rule); }
    .artsy .trust-badge:last-child { border-bottom: none; }
    .artsy .contact-form { box-shadow: 6px 6px 0 var(--ink-blue); }
}

@media (prefers-reduced-motion: reduce) {
    .artsy .hero-art, .artsy .animate-in { animation: none; opacity: 1; transform: none; }
}

/* =====================================================
   Portfolio — editorial grid with two wide feature cards
   ===================================================== */
.artsy .portfolio-favicon { border-radius: 6px; background: #fff; }

@media (min-width: 1025px) {
    .artsy .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
    .artsy .portfolio-card--wide {
        grid-column: span 2;
        position: relative;
        min-height: 440px;
    }
    .artsy .portfolio-card--wide .portfolio-image {
        position: absolute;
        inset: 0;
        aspect-ratio: auto;
        border-bottom: none;
    }
    .artsy .portfolio-card--wide .portfolio-content {
        position: absolute;
        left: 0;
        bottom: 0;
        width: min(420px, 58%);
        padding: 28px 30px;
        background: var(--ink-blue);
        border-top: 1px solid rgba(238, 241, 255, 0.5);
        border-right: 1px solid rgba(238, 241, 255, 0.5);
        border-top-right-radius: 6px;
    }
    .artsy .portfolio-card--wide .portfolio-content p { margin-bottom: 16px; }
    .artsy .portfolio-card--wide .portfolio-content h3 { font-size: 36px; }
}
.artsy .portfolio-image img { object-position: top center; }

/* =====================================================
   Swiss page (schweiz.html) additions
   ===================================================== */
.artsy .section--tint { background: var(--paper-dim); }

.artsy .hero-content--personal { align-items: center; }
.artsy .hero-content--personal > div:first-child { max-width: 680px; }
.artsy .hero-portrait {
    max-width: none;
    width: min(380px, 80vw);
    border-radius: 999px 999px 6px 6px;
    border: 1px solid rgba(238, 241, 255, 0.55);
    box-shadow: 14px 14px 0 var(--ink-blue-night);
    background: var(--stipple-white);
}
.artsy .hero-availability {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(238, 241, 255, 0.85);
}
.artsy .badge-dot { background: #7dffb0; }

.artsy .faq-list { gap: 0; border-top: 1px solid var(--ink); }
.artsy .faq-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--rule);
    border-radius: 0;
}
.artsy .faq-item[open] { box-shadow: none; }
.artsy .faq-item summary {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 26px;
    color: var(--ink);
    padding: 22px 4px;
}
.artsy .faq-item summary::after { font-family: var(--font-mono); font-size: 22px; color: var(--ink-blue); }
.artsy .faq-item .faq-answer { padding: 0 4px 24px; }

@media (max-width: 860px) {
    .artsy .hero-content--personal { text-align: left; }
    .artsy .hero-content--personal .hero-title,
    .artsy .hero-content--personal .hero-subtitle { text-align: left; }
    .artsy .hero-content--personal .hero-ctas,
    .artsy .hero-content--personal .hero-availability { justify-content: flex-start; }
    .artsy .hero-portrait { order: 0; width: min(260px, 70vw); justify-self: start; box-shadow: 8px 8px 0 var(--ink-blue-night); }
}
