/*
 * Tracy Harris Floral Art holding page
 * A warm editorial layout built around one preserved botanical specimen.
 */

/* Design tokens */
:root {
    color-scheme: light;
    --colour-canvas: #fffaf3;
    --colour-surface: #fffdf8;
    --colour-coral: #d9654f;
    --colour-coral-soft: #f4b3a1;
    --colour-apricot: #efb15d;
    --colour-sage: #7d9d70;
    --colour-sage-soft: #dce7d5;
    --colour-ink: #2d382f;
    --colour-muted: #566253;
    --colour-line: rgba(75, 93, 72, 0.2);
    --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --page-gutter: clamp(1.25rem, 4.4vw, 5.5rem);
    --page-width: 100rem;
    --ease-refined: cubic-bezier(0.22, 1, 0.36, 1);
    --art-shift-x: 0px;
    --art-shift-y: 0px;
    --light-shift: 0%;
}

/* Foundations */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    background: var(--colour-canvas);
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    overflow-x: hidden;
    overflow-x: clip;
    color: var(--colour-ink);
    background:
        radial-gradient(circle at 91% 10%, rgba(239, 177, 93, 0.18), transparent 25rem),
        radial-gradient(circle at 7% 91%, rgba(217, 101, 79, 0.12), transparent 30rem),
        linear-gradient(135deg, #fffdf8 0%, var(--colour-canvas) 54%, #f9f7ec 100%);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 450;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

::selection {
    color: var(--colour-ink);
    background: rgba(239, 177, 93, 0.48);
}

a {
    color: inherit;
}

.skip-link {
    position: fixed;
    z-index: 30;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.7rem 1rem;
    border: 2px solid var(--colour-ink);
    border-radius: 0.5rem;
    background: var(--colour-surface);
    color: var(--colour-ink);
    font-weight: 750;
    text-decoration: none;
    transform: translateY(calc(-100% - 1rem));
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

/* Ambient colour and paper texture */
.ambient-field {
    position: fixed;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    isolation: isolate;
}

.ambient-field__colour,
.paper-grain {
    position: absolute;
}

.ambient-field__colour {
    border-radius: 50%;
    filter: blur(2px);
    will-change: transform;
}

.ambient-field__colour--coral {
    bottom: -29rem;
    left: -22rem;
    width: min(66rem, 78vw);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(244, 179, 161, 0.24), rgba(239, 177, 93, 0.07) 54%, transparent 72%);
    animation: ambient-drift-coral 24s ease-in-out infinite alternate;
}

.ambient-field__colour--sage {
    top: -32rem;
    right: -23rem;
    width: min(74rem, 76vw);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(125, 157, 112, 0.2), rgba(220, 231, 213, 0.08) 57%, transparent 72%);
    animation: ambient-drift-sage 29s ease-in-out infinite alternate;
}

.paper-grain {
    z-index: 2;
    inset: -10%;
    background-image:
        radial-gradient(circle, rgba(45, 56, 47, 0.12) 0 0.38px, transparent 0.58px),
        radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 0.36px, transparent 0.56px);
    background-position: 0 0, 2px 3px;
    background-size: 5px 5px, 7px 7px;
    mix-blend-mode: multiply;
    opacity: 0.075;
}

/* Page structure */
.page-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 100vh;
    min-height: 100dvh;
}

.preservation-hero {
    display: flex;
    align-items: center;
}

.preservation-hero__inner,
.site-footer {
    width: min(100%, var(--page-width));
    margin-inline: auto;
    padding-inline: var(--page-gutter);
}

.preservation-hero__inner {
    display: flex;
}

.preservation-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
    gap: clamp(2rem, 5.5vw, 6rem);
    align-items: center;
    width: 100%;
    min-height: min(56rem, calc(100vh - 4rem));
    min-height: min(56rem, calc(100dvh - 4rem));
    padding-block: clamp(2.25rem, 5vh, 4.75rem);
}

/* Editorial copy */
.hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    max-width: 44rem;
}

.site-logo {
    width: fit-content;
    max-width: 100%;
    margin-bottom: clamp(2.75rem, 6vh, 4.5rem);
}

.site-logo__image {
    display: block;
    width: clamp(14rem, 17vw, 18.5rem);
    max-width: 100%;
    height: auto;
    color: var(--colour-ink);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.3;
}

.hero-copy__body {
    min-width: 0;
}

.holding-message {
    margin: 0;
    color: var(--colour-ink);
    font-family: var(--font-display);
    font-size: clamp(3.6rem, 5.7vw, 5.75rem);
    font-weight: 500;
    line-height: 0.94;
    letter-spacing: -0.052em;
    white-space: nowrap;
}

.supporting-copy {
    max-width: 37rem;
    margin: clamp(1.35rem, 2.4vw, 2rem) 0 0;
    color: var(--colour-muted);
    font-size: clamp(0.92rem, 1vw, 1.02rem);
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: 0.015em;
}

.business-description {
    max-width: 31rem;
    margin: clamp(1rem, 1.8vw, 1.5rem) 0 0;
    color: var(--colour-ink);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1.7vw, 1.7rem);
    font-weight: 500;
    line-height: 1.38;
    letter-spacing: -0.018em;
}

/* Contact action */
.contact-panel {
    display: grid;
    gap: 0.55rem;
    width: min(100%, 34rem);
    margin-top: clamp(2rem, 3.5vw, 3rem);
}

.contact-label {
    margin: 0;
    color: var(--colour-muted);
    font-size: 0.73rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.contact-link {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    justify-content: space-between;
    min-height: 3.5rem;
    padding: 0.48rem 0.52rem 0.48rem 1rem;
    border: 1px solid rgba(125, 157, 112, 0.48);
    border-radius: 0.85rem;
    background: rgba(255, 253, 248, 0.76);
    box-shadow: 0 0.7rem 2rem rgba(69, 83, 65, 0.06);
    color: var(--colour-ink);
    font-size: clamp(0.82rem, 1.05vw, 0.96rem);
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition:
        border-color 240ms ease,
        background-color 240ms ease,
        box-shadow 240ms ease;
}

.contact-link > span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.contact-link__arrow {
    display: inline-grid;
    flex: 0 0 auto;
    width: 2.45rem;
    height: 2.45rem;
    place-items: center;
    border-radius: 0.62rem;
    background: rgba(244, 179, 161, 0.32);
    color: #a74836;
    font-size: 1.05rem;
    line-height: 1;
    transition:
        color 240ms ease,
        background-color 240ms ease,
        transform 240ms var(--ease-refined);
}

.contact-link:hover {
    border-color: rgba(217, 101, 79, 0.62);
    background: rgba(255, 253, 248, 0.94);
    box-shadow: 0 0.85rem 2.2rem rgba(85, 95, 72, 0.1);
}

.contact-link:hover .contact-link__arrow {
    background: rgba(217, 101, 79, 0.18);
    color: #933b2b;
    transform: translateX(2px);
}

.contact-link:focus-visible,
.skip-link:focus-visible {
    outline: 3px solid #9b3f2f;
    outline-offset: 4px;
}

/* Preserved specimen artwork */
.specimen-stage {
    --frame-width: clamp(19rem, 30vw, 29rem);
    position: relative;
    z-index: 1;
    display: grid;
    align-items: center;
    justify-items: center;
    width: 100%;
    min-width: 0;
    padding: clamp(1.4rem, 2.5vw, 2.5rem);
    pointer-events: none;
    isolation: isolate;
    transform: translate3d(var(--art-shift-x), var(--art-shift-y), 0);
    transition: transform 900ms var(--ease-refined);
}

.specimen-stage::before {
    position: absolute;
    z-index: -2;
    top: 2%;
    left: 4%;
    width: 72%;
    height: 91%;
    border: 1px solid rgba(125, 157, 112, 0.2);
    border-radius: 1.35rem;
    background: linear-gradient(145deg, rgba(220, 231, 213, 0.22), rgba(255, 255, 255, 0.06));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    content: "";
    transform: translate(-6%, 3%) rotate(-2.3deg);
}

.specimen-stage__colour-block {
    position: absolute;
    z-index: -3;
    top: 13%;
    right: 0;
    width: 72%;
    height: 72%;
    border-radius: 1.6rem;
    background:
        radial-gradient(circle at calc(28% + var(--light-shift)) 22%, rgba(255, 237, 185, 0.72), transparent 33%),
        linear-gradient(150deg, rgba(244, 179, 161, 0.68), rgba(239, 177, 93, 0.38) 48%, rgba(125, 157, 112, 0.28));
    box-shadow: 0 1.2rem 4rem rgba(199, 120, 91, 0.12);
    transform: translate(9%, 1%) rotate(2.5deg);
}

.specimen-stage__shadow {
    position: absolute;
    z-index: -1;
    right: 3%;
    bottom: 0;
    width: 74%;
    height: 14%;
    border-radius: 50%;
    background: rgba(77, 93, 70, 0.15);
    filter: blur(2rem);
    opacity: 0.62;
    transform: translateY(18%);
}

.specimen-frame {
    position: relative;
    width: min(100%, var(--frame-width));
    padding: clamp(0.58rem, 1vw, 0.82rem);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 1.35rem;
    background: rgba(255, 253, 248, 0.7);
    box-shadow:
        0 1.6rem 4.5rem rgba(66, 81, 63, 0.18),
        inset 0 0 0 1px rgba(71, 87, 68, 0.12);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition:
        border-color 300ms ease,
        box-shadow 300ms ease,
        transform 900ms var(--ease-refined);
}

.specimen-frame::after {
    position: absolute;
    inset: clamp(0.58rem, 1vw, 0.82rem);
    border: 1px solid rgba(76, 96, 72, 0.16);
    border-radius: 0.85rem;
    content: "";
}

.specimen-frame__sheen {
    position: absolute;
    z-index: 2;
    top: -18%;
    left: calc(-74% + var(--light-shift));
    width: 52%;
    height: 138%;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.34), transparent);
    opacity: 0.54;
    transform: skewX(-11deg);
    animation: glass-light 12s ease-in-out 2.2s infinite;
}

.specimen-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    border-radius: 0.85rem;
    object-fit: cover;
}

.contact-active .specimen-frame {
    border-color: rgba(239, 177, 93, 0.72);
    box-shadow:
        0 1.7rem 4.8rem rgba(66, 81, 63, 0.19),
        inset 0 0 0 1px rgba(217, 101, 79, 0.16);
}

/* Footer */
.site-footer {
    position: relative;
    z-index: 3;
    padding-top: 0.5rem;
    padding-bottom: clamp(1.25rem, 2.5vh, 2.2rem);
}

.site-footer p {
    margin: 0;
    color: var(--colour-muted);
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.035em;
}

/* Progressive enhancement */
.js-enabled .reveal-item {
    opacity: 0;
    transform: translateY(0.8rem);
}

.js-enabled .specimen-stage.reveal-item {
    transform: translate3d(var(--art-shift-x), calc(var(--art-shift-y) + 0.8rem), 0);
}

.js-enabled.page-ready .reveal-item {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 800ms var(--ease-refined),
        transform 900ms var(--ease-refined);
}

.js-enabled.page-ready .specimen-stage.reveal-item {
    transform: translate3d(var(--art-shift-x), var(--art-shift-y), 0);
}

.js-enabled.page-ready .reveal-delay-1 {
    transition-delay: 80ms;
}

.js-enabled.page-ready .reveal-delay-2 {
    transition-delay: 150ms;
}

.js-enabled.page-ready .reveal-delay-3 {
    transition-delay: 220ms;
}

.js-enabled.page-ready .reveal-delay-4 {
    transition-delay: 290ms;
}

.js-enabled.page-ready .reveal-delay-5 {
    transition-delay: 360ms;
}

.js-enabled.page-ready .reveal-delay-6 {
    transition-delay: 430ms;
}

/* Motion */
@keyframes ambient-drift-coral {
    to {
        transform: translate3d(2.5rem, -1rem, 0) scale(1.04);
    }
}

@keyframes ambient-drift-sage {
    to {
        transform: translate3d(-2rem, 1.25rem, 0) scale(1.035);
    }
}

@keyframes glass-light {
    0%,
    42% {
        transform: translateX(0) skewX(-11deg);
    }

    72%,
    100% {
        transform: translateX(330%) skewX(-11deg);
    }
}

/* Responsive composition */
@media (max-width: 74.99rem) {
    .preservation-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.78fr);
        gap: clamp(1.75rem, 4vw, 3.5rem);
    }

    .specimen-stage {
        --frame-width: clamp(18rem, 31vw, 24rem);
    }
}

@media (max-width: 56.24rem) {
    .preservation-hero__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: clamp(3.75rem, 9vw, 5.5rem);
        min-height: auto;
        padding-top: clamp(2rem, 6vw, 3.5rem);
        padding-bottom: clamp(3rem, 8vw, 5rem);
    }

    .hero-copy {
        max-width: 40rem;
    }

    .site-logo {
        margin-bottom: clamp(2.5rem, 7vw, 3.75rem);
    }

    .holding-message {
        font-size: clamp(3.5rem, 10vw, 5.3rem);
    }

    .business-description {
        max-width: 34rem;
    }

    .specimen-stage {
        --frame-width: min(27rem, calc(100vw - (2 * var(--page-gutter)) - 2rem));
        justify-self: center;
        width: min(100%, 34rem);
        padding-block: 1.4rem 2rem;
    }

    .specimen-stage__colour-block {
        right: 2%;
        width: 70%;
    }

    .specimen-stage::before {
        left: 3%;
    }
}

@media (max-width: 35.99rem) {
    .preservation-hero__grid {
        gap: 3.5rem;
        padding-top: 1.5rem;
        padding-bottom: 3.5rem;
    }

    .site-logo {
        margin-bottom: 2.35rem;
    }

    .site-logo__image {
        width: clamp(12.75rem, 64vw, 16rem);
    }

    .holding-message {
        font-size: clamp(2.95rem, 13vw, 4rem);
        letter-spacing: -0.055em;
    }

    .supporting-copy {
        margin-top: 1.15rem;
        font-size: 0.9rem;
    }

    .business-description {
        margin-top: 0.9rem;
        font-size: clamp(1.25rem, 5.8vw, 1.5rem);
    }

    .contact-panel {
        margin-top: 1.8rem;
    }

    .contact-link {
        gap: 0.55rem;
        min-height: 3.25rem;
        padding: 0.38rem 0.4rem 0.38rem 0.78rem;
        border-radius: 0.75rem;
        font-size: clamp(0.76rem, 3.45vw, 0.86rem);
    }

    .contact-link__arrow {
        width: 2.3rem;
        height: 2.3rem;
        border-radius: 0.55rem;
    }

    .specimen-stage {
        --frame-width: min(20.5rem, calc(100vw - 3rem));
        padding: 1.25rem;
    }

    .specimen-stage__colour-block {
        top: 15%;
        right: 1%;
        width: 73%;
        height: 68%;
    }

    .specimen-stage::before {
        top: 3%;
        left: 2%;
        width: 74%;
        height: 88%;
    }

    .site-footer p {
        font-size: 0.69rem;
    }
}

@media (max-width: 22.49rem) {
    .contact-link {
        padding-left: 0.65rem;
        font-size: 0.76rem;
    }

    .specimen-stage {
        --frame-width: calc(100vw - 3rem);
    }
}

@media (max-height: 37.5rem) and (min-width: 37.5rem) {
    .preservation-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.58fr);
        gap: 2rem;
        min-height: auto;
        padding-block: 1rem;
    }

    .site-logo {
        margin-bottom: 1.1rem;
    }

    .site-logo__image {
        width: 10.5rem;
    }

    .holding-message {
        font-size: clamp(3.05rem, 7vw, 4.35rem);
    }

    .supporting-copy {
        margin-top: 0.85rem;
        font-size: 0.82rem;
    }

    .business-description {
        max-width: 29rem;
        margin-top: 0.65rem;
        font-size: clamp(1.05rem, 2.5vw, 1.28rem);
        line-height: 1.3;
    }

    .contact-panel {
        gap: 0.38rem;
        margin-top: 1rem;
    }

    .contact-link {
        min-height: 3rem;
    }

    .specimen-stage {
        --frame-width: min(13rem, 29vw);
        padding: 0.8rem;
    }

    .site-footer {
        padding-bottom: 0.65rem;
    }
}

/* Reduced motion keeps all content visible and the page completely still. */
@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }

    .js-enabled .reveal-item,
    .js-enabled.page-ready .reveal-item,
    .js-enabled .specimen-stage.reveal-item,
    .js-enabled.page-ready .specimen-stage.reveal-item {
        opacity: 1;
        transform: none;
    }
}

@media print {
    .ambient-field {
        display: none;
    }

    .page-shell {
        min-height: auto;
    }

    .specimen-frame,
    .contact-link {
        box-shadow: none;
    }
}
