/* LaserCrafts homepage — workshop editorial */

.home-page {
    --ink: #171613;
    --ink-soft: #24211d;
    --paper: #f2eddf;
    --paper-deep: #e5ddcb;
    --ember: #ff6b35;
    --ember-hot: #ff8a3d;
    --chalk: #fffaf0;
    --muted: #a9a092;
    background: var(--ink);
}

.home-page .navbar {
    background: rgba(23, 22, 19, .82);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(16px);
}

.home-page .navbar .nav-link {
    color: rgba(255, 250, 240, .72);
}

.home-page .navbar .nav-link:hover,
.home-page .navbar .nav-link:focus {
    color: var(--chalk);
}

.home-page .navbar.scrolled {
    background: rgba(23, 22, 19, .96) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
}

.lc-home {
    overflow: hidden;
    color: var(--ink);
}

.lc-home h1,
.lc-home h2,
.lc-home h3 {
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: -.035em;
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--ember);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.home-hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 9rem 0 6rem;
    color: var(--chalk);
    background:
        radial-gradient(circle at 14% 30%, rgba(255, 107, 53, .12), transparent 27rem),
        linear-gradient(115deg, #191714 0%, #211d18 58%, #11100e 100%);
}

.hero-grain {
    position: absolute;
    inset: 0;
    opacity: .18;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

.home-hero h1 {
    max-width: 700px;
    margin: 0;
    font-size: clamp(4rem, 8vw, 7.4rem);
    font-weight: 700;
    line-height: .84;
}

.home-hero h1 span {
    color: var(--ember);
    font-style: italic;
    font-weight: 400;
}

.hero-copy {
    max-width: 600px;
    margin: 2.2rem 0 0;
    color: rgba(255, 250, 240, .7);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 2rem;
}

.btn-workshop {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    border: 1px solid transparent;
    border-radius: 0;
    padding: .8rem 1.25rem;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

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

.btn-workshop-primary {
    background: var(--ember);
    color: #17120f;
}

.btn-workshop-primary:hover {
    background: var(--ember-hot);
    color: #17120f;
}

.btn-workshop-ghost {
    border-color: rgba(255, 255, 255, .22);
    color: var(--chalk);
}

.btn-workshop-ghost:hover {
    border-color: var(--chalk);
    color: var(--chalk);
}

.hero-footnote {
    margin: 2rem 0 0;
    color: rgba(255, 250, 240, .42);
    font-family: Georgia, "Times New Roman", serif;
    font-size: .9rem;
    font-style: italic;
}

.hero-gallery {
    width: min(100%, 600px);
    min-height: 610px;
    margin-left: auto;
    position: relative;
}

.hero-piece {
    position: absolute;
    display: block;
    overflow: hidden;
    border: 8px solid var(--paper);
    background: var(--paper-deep);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
    color: var(--ink);
    text-decoration: none;
    transform: rotate(var(--rotation));
    transition: transform .3s ease, z-index 0s;
}

.hero-piece:hover {
    z-index: 5;
    color: var(--ink);
    transform: rotate(0) scale(1.025);
}

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

.hero-piece span {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 2.5rem .9rem .65rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, .82));
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hero-piece-1 {
    --rotation: 2deg;
    width: 72%;
    height: 56%;
    top: 2%;
    right: 2%;
}

.hero-piece-2 {
    --rotation: -4deg;
    width: 57%;
    height: 45%;
    bottom: 2%;
    left: 1%;
}

.hero-piece-3 {
    --rotation: 5deg;
    width: 40%;
    height: 32%;
    right: 2%;
    bottom: 6%;
}

.hero-piece-fallback {
    left: auto;
}

.hero-stamp {
    width: 128px;
    height: 128px;
    position: absolute;
    bottom: 32%;
    left: 16%;
    z-index: 6;
    display: grid;
    align-content: center;
    border: 2px solid var(--ember);
    border-radius: 50%;
    color: var(--ember);
    text-align: center;
    text-transform: uppercase;
    transform: rotate(-11deg);
}

.hero-stamp strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    line-height: 1;
}

.hero-stamp span {
    margin-top: .35rem;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .11em;
    line-height: 1.3;
}

.manifesto-strip {
    padding: 1.6rem 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: var(--ink-soft);
    color: rgba(255, 250, 240, .65);
}

.manifesto-strip p {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
    text-align: center;
}

.manifesto-strip span {
    color: var(--chalk);
    font-style: italic;
}

.home-section {
    padding: clamp(5rem, 10vw, 9rem) 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.section-heading h2,
.techniques-section h2,
.about-copy h2,
.contact-intro h2 {
    margin: 0;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: .98;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    border-bottom: 1px solid currentColor;
    padding-bottom: .25rem;
    color: inherit;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-decoration: none;
    text-transform: uppercase;
}

.text-link:hover {
    color: var(--ember);
}

.featured-work {
    background: var(--paper);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2.25rem 1.5rem;
}

.work-card {
    grid-column: span 4;
}

.work-card:nth-child(1),
.work-card:nth-child(5) {
    grid-column: span 7;
}

.work-card:nth-child(2),
.work-card:nth-child(6) {
    grid-column: span 5;
}

.work-card a {
    color: var(--ink);
    text-decoration: none;
}

.work-image {
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    background: #d8cfbd;
}

.work-card:nth-child(1) .work-image,
.work-card:nth-child(5) .work-image {
    aspect-ratio: 16 / 10;
}

.work-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(.88) contrast(1.04);
    transition: transform .55s cubic-bezier(.2, .75, .25, 1), filter .3s ease;
}

.work-card:hover .work-image img {
    transform: scale(1.035);
    filter: saturate(1.08) contrast(1.02);
}

.work-number {
    position: absolute;
    top: .75rem;
    left: .75rem;
    padding: .35rem .5rem;
    background: var(--ink);
    color: var(--chalk);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.work-meta {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
}

.work-meta p {
    margin: 0 0 .25rem;
    color: #746b5e;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.work-meta h3 {
    margin: 0;
    font-size: 1.55rem;
}

.work-meta i {
    margin-top: .35rem;
    color: var(--ember);
    font-size: .8rem;
}

.techniques-section {
    position: relative;
    background: var(--ink);
    color: var(--chalk);
}

.techniques-section::before {
    content: "LAB";
    position: absolute;
    top: 0;
    right: -1rem;
    color: rgba(255, 255, 255, .018);
    font-family: Georgia, "Times New Roman", serif;
    font-size: min(30vw, 28rem);
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.section-copy {
    max-width: 560px;
    margin: 1.75rem 0;
    color: rgba(255, 250, 240, .6);
    line-height: 1.8;
}

.tech-list {
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.tech-item {
    min-height: 155px;
    display: grid;
    grid-template-columns: 44px 1fr 72px;
    align-items: center;
    gap: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    transition: padding .25s ease, background .25s ease;
}

.tech-item:hover {
    padding-right: 1rem;
    padding-left: 1rem;
    background: rgba(255, 255, 255, .035);
}

.tech-index {
    color: var(--ember);
    font-size: .7rem;
    font-weight: 800;
}

.tech-item h3 {
    margin: 0 0 .4rem;
    font-size: clamp(1.5rem, 3vw, 2.35rem);
}

.tech-item p {
    max-width: 480px;
    margin: 0;
    color: rgba(255, 250, 240, .5);
    font-size: .88rem;
}

.tech-mark {
    color: rgba(255, 255, 255, .06);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.3rem;
    font-weight: 700;
    text-align: right;
}

.about-section {
    background: #d8d0bf;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr .72fr 1.25fr;
    align-items: center;
    gap: 1.5rem;
}

.about-photo {
    margin: 0;
    background: #beb4a1;
    box-shadow: 0 24px 50px rgba(43, 36, 25, .16);
}

.about-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: sepia(.08) saturate(.82);
}

.about-photo-main {
    height: 570px;
    transform: rotate(-2deg);
}

.about-photo-detail {
    height: 380px;
    align-self: end;
    transform: translateX(-2rem) translateY(2.5rem) rotate(3deg);
}

.about-copy {
    position: relative;
    z-index: 2;
    padding-left: 1.5rem;
}

.about-copy h2 span {
    color: #6b5f50;
    font-style: italic;
    font-weight: 400;
}

.about-copy > p:not(.eyebrow) {
    color: #554d42;
    line-height: 1.75;
}

.about-copy blockquote {
    margin: 2rem 0 0;
    border-left: 3px solid var(--ember);
    padding: .3rem 0 .3rem 1.25rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
    font-style: italic;
}

.contact-section {
    background: var(--paper);
}

.contact-shell {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: clamp(3rem, 8vw, 8rem);
}

.contact-intro > p:not(.eyebrow) {
    max-width: 470px;
    margin: 1.5rem 0 2.4rem;
    color: #655d52;
    line-height: 1.8;
}

.contact-direct {
    display: flex;
    flex-direction: column;
    margin-top: 1.2rem;
}

.contact-direct span {
    color: #857b6d;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.contact-direct a {
    width: fit-content;
    margin-top: .2rem;
    border-bottom: 1px solid #b9ad9b;
    color: var(--ink);
    text-decoration: none;
}

.workshop-form {
    border-top: 4px solid var(--ink);
    padding-top: 1.6rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.3rem;
}

.field {
    display: flex;
    flex-direction: column;
}

.field-full {
    grid-column: 1 / -1;
}

.field label {
    margin-bottom: .4rem;
    color: #635b50;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #bdb2a2;
    border-radius: 0;
    outline: 0;
    padding: .75rem .1rem;
    background: transparent;
    color: var(--ink);
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.field textarea {
    border: 1px solid #bdb2a2;
    padding: .8rem;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--ember);
    box-shadow: 0 1px 0 var(--ember);
}

.field textarea:focus {
    box-shadow: inset 0 0 0 1px var(--ember);
}

.form-submit {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.form-submit button {
    border: 0;
}

.form-submit button:disabled {
    cursor: wait;
    opacity: .62;
}

.contact-feedback {
    margin: 0;
    color: #756c60;
    font-size: .86rem;
}

.contact-feedback.is-success {
    color: #427044;
}

.contact-feedback.is-error {
    color: #a43c2d;
}

/* Footer — continue the workshop palette on the homepage */
.home-page .footer {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, .09);
    background:
        radial-gradient(circle at 12% 15%, rgba(255, 107, 53, .08), transparent 24rem),
        #11100e;
    color: rgba(255, 250, 240, .58);
}

.home-page .footer::before {
    content: "LASERCRAFTS";
    position: absolute;
    right: 1.5rem;
    bottom: -.08em;
    color: rgba(255, 255, 255, .018);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4rem, 12vw, 11rem);
    font-weight: 700;
    line-height: .8;
    letter-spacing: -.06em;
    pointer-events: none;
}

.home-page .footer .container {
    position: relative;
    z-index: 1;
}

.home-page .footer h5,
.home-page .footer h6 {
    color: var(--chalk);
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: -.015em;
}

.home-page .footer h5.text-laser {
    color: var(--ember);
    font-size: 1.65rem;
}

.home-page .footer h6 {
    font-size: .78rem;
    font-family: inherit;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.home-page .footer p,
.home-page .footer em {
    color: rgba(255, 250, 240, .5);
}

.home-page .footer a {
    color: rgba(255, 250, 240, .65);
    text-decoration-color: rgba(255, 107, 53, .35);
    text-underline-offset: .2em;
}

.home-page .footer a:hover,
.home-page .footer a:focus {
    color: var(--ember);
}

.home-page .footer .fab {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .13);
    color: var(--chalk);
    transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.home-page .footer a:hover .fab {
    border-color: var(--ember);
    color: var(--ember);
    transform: translateY(-2px);
}

.home-page .footer hr {
    border-color: rgba(255, 255, 255, .12);
    opacity: 1;
}

.home-page .footer .row:last-child p {
    color: rgba(255, 250, 240, .36);
    font-size: .78rem;
}

@media (max-width: 991.98px) {
    .home-page .navbar {
        background: rgba(23, 22, 19, .98) !important;
    }

    .home-page .navbar-toggler {
        border-color: rgba(255, 255, 255, .2);
        filter: invert(1);
    }

    .home-hero {
        padding-top: 8.5rem;
    }

    .hero-gallery {
        min-height: 520px;
        margin: 1rem auto 0;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-copy {
        grid-column: 1 / -1;
        grid-row: 1;
        padding: 0 0 2rem;
    }

    .about-photo-main {
        height: 430px;
    }

    .about-photo-detail {
        height: 330px;
        transform: rotate(3deg);
    }

    .contact-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .home-hero h1 {
        font-size: clamp(3.7rem, 18vw, 5.4rem);
    }

    .hero-gallery {
        min-height: 420px;
    }

    .hero-stamp {
        width: 98px;
        height: 98px;
        left: 7%;
    }

    .section-heading {
        display: block;
    }

    .section-heading .text-link {
        margin-top: 1.25rem;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .work-card,
    .work-card:nth-child(1),
    .work-card:nth-child(2),
    .work-card:nth-child(5),
    .work-card:nth-child(6) {
        grid-column: auto;
    }

    .work-card:nth-child(1) .work-image,
    .work-card:nth-child(5) .work-image {
        aspect-ratio: 4 / 3;
    }

    .tech-item {
        grid-template-columns: 34px 1fr;
    }

    .tech-mark {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-photo-main,
    .about-photo-detail {
        height: 340px;
        transform: none;
    }

    .about-photo-detail {
        display: none;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .field-full {
        grid-column: auto;
    }

    .form-submit {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-piece,
    .work-image img,
    .btn-workshop,
    .tech-item {
        transition: none;
    }
}
