/* ==========================================================
   ADNER DIGITAL — WEBSITE SOLUTIONS SHOWCASE
========================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background: #f4f0e9;
    --surface: #fbf9f5;
    --surface-dark: #1e211f;
    --text: #222321;
    --muted: #6d6a64;
    --soft-muted: #969087;
    --line: #dcd5ca;
    --accent: #b36e76;
    --accent-dark: #8d515a;
    --white: #ffffff;
    --shadow: 0 28px 70px rgba(38, 35, 30, 0.1);
    --serif: "Cormorant Garamond", serif;
    --sans: "Inter", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: var(--sans);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
}

img,
iframe {
    display: block;
}

main {
    overflow: hidden;
}

/* ==========================================================
   HEADER
========================================================== */

.site-header {
    width: 100%;
    min-height: 86px;
    padding: 0 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: rgba(244, 240, 233, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(128, 117, 102, 0.18);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--text);
    border-radius: 50%;
    font-family: var(--serif);
    font-size: 1.55rem;
    font-weight: 600;
}

.brand-name {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-nav a {
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.header-nav > a:first-child {
    color: var(--muted);
}

.header-enquire {
    padding: 13px 22px;
    border-radius: 999px;
    background: var(--text);
    color: var(--white);
}

/* ==========================================================
   INTRODUCTION
========================================================== */

.showcase-intro {
    min-height: calc(100vh - 86px);
    padding: 100px 6vw 80px;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    align-items: end;
    gap: 8vw;
    position: relative;
}

.showcase-intro::before {
    content: "";
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(179, 110, 118, 0.08);
    position: absolute;
    right: -170px;
    top: -120px;
    pointer-events: none;
}

.showcase-intro::after {
    content: "";
    width: 190px;
    height: 95px;
    border: 1px solid rgba(34, 35, 33, 0.18);
    border-bottom: none;
    border-radius: 190px 190px 0 0;
    position: absolute;
    left: 4vw;
    bottom: 0;
    pointer-events: none;
}

.intro-copy {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.eyebrow,
.section-kicker,
.showcase-category {
    color: var(--accent-dark);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.showcase-intro h1 {
    max-width: 900px;
    margin-top: 26px;
    font-family: var(--serif);
    font-size: clamp(4.4rem, 7.2vw, 7.6rem);
    font-weight: 500;
    line-height: 0.91;
    letter-spacing: -0.045em;
}

.intro-text {
    max-width: 720px;
    margin-top: 38px;
    color: var(--muted);
    font-size: 1.04rem;
}

.intro-actions {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 30px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.primary-button {
    background: var(--text);
    color: var(--white);
}

.primary-button:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
}

.text-link span {
    transition: transform 0.25s ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.intro-guide {
    max-width: 410px;
    padding: 38px 0 10px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.guide-number {
    font-family: var(--serif);
    font-size: 5.8rem;
    line-height: 0.75;
    color: var(--accent);
}

.guide-label {
    margin-bottom: 8px;
    color: var(--text);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.guide-text {
    color: var(--muted);
    font-size: 0.92rem;
}

/* ==========================================================
   EXAMPLES INTRODUCTION
========================================================== */

.examples-heading {
    padding: 130px 6vw 100px;
    text-align: center;
    background: var(--surface-dark);
    color: var(--white);
}

.examples-heading .section-kicker {
    color: #d8a6ac;
}

.examples-heading h2 {
    max-width: 1040px;
    margin: 26px auto 28px;
    font-family: var(--serif);
    font-size: clamp(3.5rem, 6vw, 6.4rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.examples-heading > p:last-child {
    max-width: 620px;
    margin: auto;
    color: rgba(255, 255, 255, 0.68);
}

/* ==========================================================
   PORTFOLIO
========================================================== */

.portfolio {
    padding: 0 4vw 130px;
    background: var(--surface-dark);
}

.website-showcase {
    max-width: 1560px;
    margin: 0 auto 110px;
    padding: 58px;
    background: var(--surface);
    border-radius: 40px;
    box-shadow: var(--shadow);
}

.website-showcase:nth-child(even) {
    background: #eee8df;
}

.showcase-details {
    margin-bottom: 36px;
    display: grid;
    grid-template-columns: 80px minmax(0, 700px);
    gap: 28px;
    align-items: start;
}

.showcase-number {
    font-family: var(--serif);
    font-size: 3.5rem;
    line-height: 1;
    color: var(--accent);
}

.showcase-details h3 {
    margin: 7px 0 14px;
    font-family: var(--serif);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 600;
    line-height: 1;
}

.showcase-details p:not(.showcase-category):not(.showcase-number) {
    max-width: 640px;
    color: var(--muted);
}

.showcase-details a {
    margin-top: 22px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-dark);
    text-decoration: none;
    font-weight: 600;
}

.showcase-details a span {
    transition: transform 0.25s ease;
}

.showcase-details a:hover span {
    transform: translate(3px, -3px);
}

/* ==========================================================
   BROWSER FRAME
========================================================== */

.browser-frame {
    border: 1px solid rgba(89, 82, 73, 0.16);
    border-radius: 25px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 22px 55px rgba(29, 28, 25, 0.12);
}

.browser-toolbar {
    min-height: 58px;
    padding: 0 22px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border-bottom: 1px solid #e7e3dd;
    background: #f1efec;
}

.browser-dots {
    display: flex;
    gap: 8px;
}

.browser-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) {
    background: #e26d66;
}

.browser-dots span:nth-child(2) {
    background: #e6b64c;
}

.browser-dots span:nth-child(3) {
    background: #65b47c;
}

.browser-toolbar p {
    padding: 8px 18px;
    border: 1px solid #ddd8d1;
    border-radius: 999px;
    background: var(--white);
    color: #8c877f;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
}

.browser-preview {
    width: 100%;
    height: min(690px, 72vh);
    background: #f7f5f1;
    overflow: hidden;
}

.browser-preview iframe {
    width: 100%;
    height: 100%;
    border: 0;
    background: var(--white);
}

/* ==========================================================
   CLOSING CTA
========================================================== */

.closing-cta {
    padding: 140px 6vw;
    text-align: center;
    position: relative;
}

.closing-cta::before {
    content: "";
    width: 230px;
    height: 115px;
    border: 1px solid rgba(179, 110, 118, 0.35);
    border-bottom: none;
    border-radius: 230px 230px 0 0;
    position: absolute;
    left: 50%;
    top: 40px;
    transform: translateX(-50%);
}

.closing-cta h2 {
    max-width: 980px;
    margin: 28px auto;
    font-family: var(--serif);
    font-size: clamp(3.2rem, 5.5vw, 6rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.closing-cta > p:not(.section-kicker) {
    max-width: 700px;
    margin: auto;
    color: var(--muted);
}

.closing-actions {
    margin-top: 42px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.secondary-button {
    border: 1px solid var(--text);
    color: var(--text);
    background: transparent;
}

.secondary-button:hover {
    background: var(--text);
    color: var(--white);
    transform: translateY(-2px);
}

/* ==========================================================
   FOOTER
========================================================== */

footer {
    padding: 34px 6vw;
    background: var(--text);
    color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
    max-width: 1560px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    font-size: 0.86rem;
}

.footer-inner a {
    color: var(--white);
    text-decoration: none;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1100px) {
    .showcase-intro {
        min-height: auto;
        grid-template-columns: 1fr;
        align-items: start;
    }

    .intro-guide {
        max-width: 620px;
    }

    .website-showcase {
        padding: 42px;
    }

    .browser-preview {
        height: 620px;
    }
}

@media (max-width: 760px) {
    .site-header {
        min-height: 74px;
        padding: 0 22px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .brand-name {
        font-size: 1.18rem;
    }

    .header-nav > a:first-child {
        display: none;
    }

    .header-enquire {
        padding: 11px 16px;
        font-size: 0.72rem !important;
    }

    .showcase-intro {
        padding: 76px 24px 95px;
        gap: 60px;
    }

    .showcase-intro h1 {
        font-size: clamp(3.7rem, 17vw, 5.3rem);
    }

    .intro-text {
        font-size: 0.96rem;
    }

    .intro-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .intro-guide {
        grid-template-columns: 65px 1fr;
        gap: 22px;
    }

    .guide-number {
        font-size: 4.4rem;
    }

    .examples-heading {
        padding: 100px 24px 80px;
    }

    .examples-heading h2 {
        font-size: clamp(3rem, 14vw, 4.5rem);
    }

    .portfolio {
        padding: 0 14px 80px;
    }

    .website-showcase {
        margin-bottom: 54px;
        padding: 26px 18px 18px;
        border-radius: 27px;
    }

    .showcase-details {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .showcase-number {
        font-size: 2.6rem;
    }

    .showcase-details h3 {
        font-size: 2.8rem;
    }

    .browser-toolbar {
        min-height: 50px;
        grid-template-columns: auto 1fr;
        gap: 16px;
    }

    .browser-toolbar p {
        justify-self: end;
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .browser-preview {
        height: 580px;
    }

    .closing-cta {
        padding: 120px 24px 100px;
    }

    .closing-cta h2 {
        font-size: clamp(3rem, 14vw, 4.5rem);
    }

    .closing-actions {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .showcase-intro::before {
        width: 320px;
        height: 320px;
    }

    .showcase-intro h1 {
        font-size: 3.65rem;
    }

    .browser-preview {
        height: 520px;
    }

    .browser-toolbar p {
        max-width: 145px;
        font-size: 0.65rem;
    }

    .showcase-details p:not(.showcase-category):not(.showcase-number) {
        font-size: 0.91rem;
    }
}