:root {
    --bg: #fffaf8;
    --surface: rgba(255, 252, 250, 0.86);
    --text: #37272d;
    --muted: #725861;
    --pink: #f7d7de;
    --pink-strong: #d9849d;
    --gold: #b8883e;
    --gold-soft: #eddabc;
    --line: rgba(185, 137, 103, 0.18);
    --shadow: 0 20px 60px rgba(120, 77, 86, 0.11);
    --shadow-lg: 0 32px 80px rgba(120, 77, 86, 0.17);
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", "Kanit", sans-serif;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word;
    background:
        radial-gradient(ellipse 65% 45% at 0% 0%, rgba(247, 215, 222, 0.68) 0%, transparent 60%),
        radial-gradient(ellipse 55% 40% at 100% 6%, rgba(237, 218, 188, 0.52) 0%, transparent 60%),
        radial-gradient(ellipse 45% 30% at 50% 100%, rgba(247, 215, 222, 0.2) 0%, transparent 60%),
        linear-gradient(180deg, #fffdfb 0%, #fff6f1 50%, #fffaf8 100%);
}

body::before,
body::after {
    content: "";
    position: fixed;
    width: 28rem;
    height: 28rem;
    border-radius: 999px;
    filter: blur(54px);
    pointer-events: none;
    opacity: 0.5;
    z-index: -1;
}

body::before {
    top: 5rem;
    right: -10rem;
    background: rgba(247, 215, 222, 0.55);
}

body::after {
    bottom: 3rem;
    left: -10rem;
    background: rgba(237, 218, 188, 0.45);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.page-shell {
    position: relative;
    overflow: clip;
}

.section {
    width: min(var(--max-width), calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.glass-panel {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-top-color: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow), 0 1px 0 rgba(255, 255, 255, 0.88) inset;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 1rem 0 0;
}

.nav-bar {
    position: relative;
    width: min(var(--max-width), calc(100% - 2rem));
    margin: 0 auto;
    padding: 0.85rem 1rem 0.85rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 999px;
    background: rgba(255, 251, 249, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 50px rgba(129, 90, 95, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-logo {
    width: 2.9rem;
    height: 2.9rem;
    flex: 0 0 auto;
}

.brand-lockup {
    display: grid;
    gap: 0.1rem;
}

.brand-lockup strong {
    font-size: 0.98rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-lockup span {
    font-size: 0.78rem;
    color: var(--muted);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
    color: var(--text);
}

.nav-toggle {
    display: none;
    width: 3rem;
    height: 3rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.78);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 1.15rem;
    height: 2px;
    margin: 0.24rem auto;
    background: var(--text);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.92rem 1.5rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease), transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    background: linear-gradient(135deg, #d9849d 0%, #c79c63 100%);
    color: #fff9f6;
    box-shadow: 0 14px 36px rgba(180, 100, 120, 0.26);
}

.button-primary:hover {
    box-shadow: 0 20px 44px rgba(180, 100, 120, 0.36);
}

.button-soft,
.button-ghost {
    background: rgba(255, 255, 255, 0.62);
    border-color: var(--line);
    color: var(--text);
}

.button-soft:hover,
.button-ghost:hover {
    background: rgba(255, 255, 255, 0.88);
}

.line-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 40;
    display: inline-grid;
    gap: 0.2rem;
    padding: 0.9rem 1rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #10b981, #07a06e);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(16, 185, 129, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.line-float:hover,
.line-float:focus-visible {
    color: #ffffff;
    transform: translateY(-2px);
}

.line-float-label {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.86;
}

.line-float strong {
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: 2rem;
    align-items: center;
    padding-top: 4.4rem;
}

.hero-copy,
.story-card,
.tool-showcase,
.contact-form,
.contact-notes,
.gallery-copy,
.vendor-card,
.hero-photo-card,
.floating-note {
    border-radius: var(--radius-xl);
}

.hero-copy {
    padding: 3rem;
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: "Manrope", "Kanit", sans-serif;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Cormorant Garamond", "Kanit", serif;
    font-weight: 600;
    line-height: 1.22;
}

h1 {
    font-size: clamp(3.2rem, 7vw, 5.6rem);
    max-width: 18ch;
}

h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    max-width: 20ch;
}

h3 {
    font-size: 1.9rem;
    line-height: 1.3;
}

.lede,
.section-heading p,
.story-grid p,
.vendor-card span,
.contact-copy p,
.portrait-copy p,
.gallery-copy h3,
.tool-showcase li span,
.tool-showcase .budget-bars span,
.tool-showcase .budget-bars strong,
#form-status,
label span,
textarea,
input {
    color: var(--muted);
}

.lede {
    max-width: 40rem;
    margin: 1.4rem 0 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--muted);
}

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

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.25rem;
}

.hero-metrics article {
    padding: 1rem 1.15rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-top-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 16px rgba(120, 77, 86, 0.06);
}

.hero-metrics strong {
    display: block;
    font-size: 1.55rem;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.hero-metrics span {
    font-size: 0.83rem;
    line-height: 1.5;
    color: var(--muted);
}

.hero-visual {
    position: relative;
    min-height: 42rem;
    display: grid;
    place-items: center;
}

.hero-photo-card {
    width: min(100%, 32rem);
    min-height: 36rem;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.hero-photo-card > img {
    width: 100%;
    height: 100%;
    min-height: 34rem;
    object-fit: cover;
    border-radius: 28px;
}

.portrait-copy {
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    padding: 1.4rem;
    border-radius: 24px;
    background: rgba(255, 251, 249, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.86);
}

.portrait-copy span,
.gallery-copy span,
.vendor-card p,
.tool-kicker {
    display: inline-block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.portrait-copy h2 {
    font-size: 2.4rem;
    max-width: 14ch;
}

.portrait-copy p {
    margin: 0.9rem 0 0;
    line-height: 1.6;
}

.floating-note {
    position: absolute;
    top: 2rem;
    left: 0;
    width: 13rem;
    padding: 1.1rem 1.15rem;
}

.floating-note p,
.floating-note strong {
    margin: 0;
    display: block;
}

.floating-note p {
    color: var(--gold);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 800;
}

.floating-note strong {
    margin-top: 0.55rem;
    line-height: 1.5;
    font-size: 0.92rem;
}

.floating-chip {
    position: absolute;
    right: 0.4rem;
    bottom: 1.2rem;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: rgba(255, 247, 241, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow);
    font-size: 0.84rem;
    font-weight: 700;
}

.story-strip {
    padding-top: 0;
}

.story-card {
    padding: 2rem;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.story-grid article {
    padding: 1.4rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.88);
    border-top-color: rgba(255, 255, 255, 0.98);
    transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.story-grid article:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(120, 77, 86, 0.1);
}

.story-grid h3 {
    font-size: 1.7rem;
    margin-bottom: 0.75rem;
}

.story-grid p {
    margin: 0;
    line-height: 1.78;
    font-size: 0.97rem;
}

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

.section-heading p {
    margin: 0.9rem 0 0;
    max-width: 38rem;
    line-height: 1.8;
    font-size: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 1.1rem;
}

.gallery-card {
    position: relative;
    min-height: 26rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-card.tall {
    min-height: 34rem;
}

.gallery-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-card::after,
.hero-photo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01) 40%, rgba(56, 28, 24, 0.36) 100%);
    pointer-events: none;
}

.gallery-copy {
    position: absolute;
    inset: auto 1rem 1rem 1rem;
    padding: 1.25rem;
    z-index: 1;
}

.gallery-copy h3 {
    font-size: 1.65rem;
    max-width: 18ch;
}

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

.vendor-card {
    padding: 1.6rem;
    transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}

.vendor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.vendor-icon {
    width: 3.2rem;
    height: 3.2rem;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(247, 215, 222, 0.92), rgba(237, 218, 188, 0.92));
    color: #5a3d43;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 14px rgba(180, 100, 120, 0.14);
}

.vendor-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.3rem;
}

.vendor-card p {
    margin: 0 0 0.85rem;
}

.vendor-card span {
    display: block;
    line-height: 1.78;
    font-size: 0.95rem;
}

.tools-layout {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.tool-showcase {
    padding: 1.6rem;
}

.tool-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.3rem;
}

.tool-header h3 {
    font-size: 1.7rem;
    max-width: 16ch;
}

.tool-badge {
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid var(--line);
    color: var(--gold);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
}

.budget-bars {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.55rem 0.9rem;
    align-items: center;
}

.bar {
    grid-column: 1 / -1;
    height: 0.72rem;
    border-radius: 999px;
    background: rgba(224, 205, 182, 0.35);
    overflow: hidden;
    margin-bottom: 0.7rem;
}

.bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--pink-strong), var(--gold));
}

.timeline-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.timeline-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1rem 0;
    border-top: 1px solid rgba(185, 137, 103, 0.14);
    line-height: 1.7;
}

.timeline-list li:first-child {
    border-top: 0;
    padding-top: 0;
}

.timeline-list strong {
    color: var(--text);
    min-width: 3.8rem;
}

.checklist {
    display: grid;
    gap: 0.85rem;
}

.checklist label {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.88);
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.checklist input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--pink-strong);
}

.contact-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.2rem;
    align-items: start;
    padding-bottom: 5rem;
}

.contact-copy {
    padding-top: 1rem;
}

.contact-copy h2 {
    max-width: 18ch;
}

.contact-copy p {
    line-height: 1.8;
    max-width: 34rem;
    margin: 1.1rem 0 0;
    font-size: 1.02rem;
}

.contact-notes {
    margin-top: 1.4rem;
    padding: 1.25rem;
    display: grid;
    gap: 1rem;
}

.line-contact {
    margin-top: 1.2rem;
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1rem;
    align-items: center;
}

.line-copy h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    max-width: 18ch;
}

.line-copy p + p {
    margin-top: 0.6rem;
}

.line-copy strong {
    display: block;
    margin: 0.4rem 0 1rem;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
}

.line-qr-card {
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(185, 137, 103, 0.12);
    text-align: center;
}

.line-qr-card img {
    width: 100%;
    max-width: 220px;
    margin: 0 auto 0.8rem;
    border-radius: 20px;
    background: #ffffff;
}

.line-qr-card span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
}

.contact-notes article {
    display: grid;
    gap: 0.4rem;
}

.contact-notes span {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
    font-weight: 800;
}

.contact-notes strong {
    font-size: 1rem;
}

.contact-form {
    padding: 1.6rem;
}

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

.contact-form label {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.contact-form label span {
    font-size: 0.85rem;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    border: 1px solid rgba(185, 137, 103, 0.18);
    background: rgba(255, 255, 255, 0.68);
    outline: none;
    line-height: 1.65;
    transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), background-color 200ms var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(223, 159, 176, 0.82);
    box-shadow: 0 0 0 4px rgba(247, 215, 222, 0.22);
    background: rgba(255, 255, 255, 0.92);
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

#form-status {
    margin: 0;
    font-size: 0.92rem;
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    animation: fade-up 700ms ease forwards;
}

.reveal:nth-child(2) {
    animation-delay: 110ms;
}

.reveal:nth-child(3) {
    animation-delay: 220ms;
}

.reveal:nth-child(4) {
    animation-delay: 330ms;
}

@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1080px) {
    .hero,
    .contact-section,
    .gallery-grid,
    .vendor-grid,
    .tools-layout,
    .story-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-card:first-child,
    .tool-showcase:first-child,
    .contact-copy,
    .story-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .site-header {
        padding-top: 0.75rem;
    }

    .nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-radius: 28px;
        background: rgba(255, 250, 247, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.88);
        box-shadow: var(--shadow);
    }

    .nav-menu.is-open {
        display: flex;
    }

    .hero,
    .gallery-grid,
    .vendor-grid,
    .tools-layout,
    .contact-section,
    .story-grid,
    .line-contact,
    .field-row {
        grid-template-columns: 1fr;
    }

    .line-float {
        right: 1rem;
        bottom: 1rem;
        padding: 0.85rem 0.95rem;
    }

    .section-heading {
        flex-direction: column;
        align-items: start;
    }

    .hero-copy,
    .story-card,
    .tool-showcase,
    .contact-form {
        padding: 1.3rem;
    }

    .hero {
        padding-top: 3rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 34rem;
    }

    .hero-photo-card > img {
        min-height: 30rem;
    }

    .portrait-copy {
        left: 1.25rem;
        right: 1.25rem;
        bottom: 1.25rem;
    }

    .floating-note {
        left: 0;
        top: 1rem;
    }

    .floating-chip {
        right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}