:root {
    --charcoal: #171513;
    --charcoal-soft: #26231f;
    --ulin-dark: #4a211a;
    --ulin-red: #743524;
    --ulin-warm: #9a5b35;
    --terrace: #caa15b;
    --terrace-soft: #ead5aa;
    --ash: #656760;
    --mist: #f5f1ea;
    --paper: #fffcf6;
    --line: rgba(74, 33, 26, .14);
    --shadow: 0 24px 70px rgba(43, 27, 21, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--charcoal);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 10%, rgba(202, 161, 91, .16), transparent 28rem),
        radial-gradient(circle at 85% 35%, rgba(101, 103, 96, .11), transparent 30rem),
        linear-gradient(180deg, #fffcf6 0%, #f4eee4 100%);
}

a {
    color: inherit;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(20px, 6vw, 84px);
    background: rgba(255, 252, 246, .84);
    border-bottom: 1px solid rgba(74, 33, 26, .1);
    backdrop-filter: blur(18px);
}

.brand {
    color: var(--ulin-dark);
    font-size: 1.2rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.nav nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 26px);
}

.nav nav a {
    color: rgba(23, 21, 19, .72);
    font-size: .94rem;
    font-weight: 650;
    text-decoration: none;
}

.nav nav a:hover {
    color: var(--ulin-red);
}

.hero {
    position: relative;
    min-height: calc(100vh - 74px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    align-items: end;
    gap: clamp(28px, 5vw, 72px);
    padding: clamp(72px, 8vw, 120px) clamp(20px, 6vw, 84px) clamp(36px, 5vw, 72px);
    overflow: hidden;
}

.hero-ulin {
    background:
        linear-gradient(90deg, rgba(23, 21, 19, .88) 0%, rgba(23, 21, 19, .62) 44%, rgba(23, 21, 19, .12) 100%),
        url("../images/uleen-ulin-hero.png") center/cover no-repeat;
    color: #fffaf2;
}

.hero__overlay {
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(23, 21, 19, .74));
    pointer-events: none;
}

.hero__content,
.hero__panel {
    position: relative;
    z-index: 1;
}

.hero__content {
    max-width: 790px;
}

.eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--terrace);
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
}

.hero h1 {
    max-width: 780px;
    margin: 18px 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 6.9rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: .94;
}

.hero p {
    max-width: 620px;
    margin: 0 0 30px;
    color: rgba(255, 250, 242, .84);
    font-size: 1.22rem;
}

.actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.actions.center {
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--terrace), #f0ca78);
    color: #251812;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(83, 42, 24, .22);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn.ghost {
    background: rgba(255, 252, 246, .08);
    border-color: rgba(255, 252, 246, .34);
    color: #fffaf2;
    box-shadow: none;
}

.btn.ghost.light {
    border-color: rgba(255, 250, 242, .55);
}

.hero__panel {
    align-self: end;
    padding: 26px;
    border: 1px solid rgba(255, 250, 242, .22);
    border-radius: 8px;
    background: rgba(255, 250, 242, .1);
    backdrop-filter: blur(18px);
}

.hero__panel span {
    color: var(--terrace-soft);
    font-size: .82rem;
    font-weight: 750;
    text-transform: uppercase;
}

.hero__panel strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: 1.55rem;
    line-height: 1.2;
}

.hero__panel p {
    margin: 12px 0 0;
    color: rgba(255, 250, 242, .78);
    font-size: .98rem;
}

.section {
    padding: clamp(66px, 8vw, 112px) clamp(20px, 6vw, 84px);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

.section-heading.split {
    max-width: none;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
}

.section-heading.split > div {
    max-width: 720px;
}

.section-heading h2,
.material-band h2,
.cta h2 {
    margin: 12px 0 0;
    color: var(--charcoal);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.35rem;
    font-weight: 560;
    letter-spacing: 0;
    line-height: 1.04;
}

.section-heading.split a,
.showcase-card a,
.service-list a {
    color: var(--ulin-red);
    font-weight: 800;
    text-decoration: none;
}

.intro {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    gap: clamp(28px, 6vw, 92px);
    align-items: start;
}

.intro p {
    margin: 34px 0 0;
    color: rgba(23, 21, 19, .72);
    font-size: 1.1rem;
}

.material-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: clamp(48px, 7vw, 86px) clamp(20px, 6vw, 84px);
    background:
        linear-gradient(135deg, rgba(74, 33, 26, .96), rgba(38, 35, 31, .95)),
        linear-gradient(90deg, var(--ulin-dark), var(--charcoal-soft));
}

.material-band h2 {
    max-width: 820px;
    color: #fffaf2;
}

.swatches {
    display: grid;
    grid-template-columns: repeat(2, 76px);
    gap: 12px;
}

.swatches span {
    display: block;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 250, 242, .24);
    border-radius: 8px;
    background: var(--swatch);
    box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .04);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.showcase-grid.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.showcase-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 252, 246, .94), rgba(244, 238, 228, .82));
    box-shadow: var(--shadow);
}

.showcase-card span {
    color: var(--ash);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.showcase-card h3,
.service-list h3,
.process-grid h3 {
    margin: 14px 0 10px;
    color: var(--ulin-dark);
    font-size: 1.24rem;
    line-height: 1.28;
}

.showcase-card p,
.service-list p,
.process-grid p {
    color: rgba(23, 21, 19, .68);
}

.showcase-card a {
    margin-top: auto;
}

.services-section {
    background: linear-gradient(180deg, rgba(101, 103, 96, .08), rgba(202, 161, 91, .08));
}

.service-list {
    display: grid;
    gap: 1px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--line);
}

.service-list article {
    display: grid;
    grid-template-columns: minmax(220px, .45fr) minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 24px;
    background: rgba(255, 252, 246, .88);
}

.service-list h3,
.service-list p {
    margin: 0;
}

.process {
    background: var(--charcoal);
    color: #fffaf2;
}

.process .section-heading h2 {
    color: #fffaf2;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.process-grid div {
    padding: 28px;
    border: 1px solid rgba(255, 250, 242, .14);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 250, 242, .08), rgba(255, 250, 242, .03));
}

.process-grid b {
    color: var(--terrace);
}

.process-grid h3 {
    color: #fffaf2;
}

.process-grid p {
    color: rgba(255, 250, 242, .72);
}

.content-section {
    background: #f7f1e7;
}

.cta {
    padding: clamp(72px, 9vw, 120px) clamp(20px, 6vw, 84px);
    text-align: center;
}

.ulin-cta {
    background:
        linear-gradient(180deg, rgba(74, 33, 26, .88), rgba(23, 21, 19, .94)),
        url("../images/uleen-ulin-hero.png") center/cover no-repeat;
    color: #fffaf2;
}

.ulin-cta h2 {
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
    color: #fffaf2;
}

.ulin-cta p {
    max-width: 680px;
    margin: 18px auto 28px;
    color: rgba(255, 250, 242, .78);
}

.footer {
    padding: 44px clamp(20px, 6vw, 84px);
    background: #11100f;
    color: #fffaf2;
}

.footer p {
    color: rgba(255, 250, 242, .68);
}

.footer a {
    color: var(--terrace);
    font-weight: 750;
    text-decoration: none;
}

form {
    display: grid;
    gap: 12px;
    max-width: 720px;
}

input,
textarea,
select {
    width: 100%;
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

@media (max-width: 980px) {
    .hero,
    .intro,
    .material-band,
    .service-list article {
        grid-template-columns: 1fr;
    }

    .hero {
        align-items: end;
    }

    .hero__panel {
        max-width: 520px;
    }

    .showcase-grid,
    .showcase-grid.compact,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        max-width: 680px;
        font-size: 5rem;
    }

    .section-heading h2,
    .material-band h2,
    .cta h2 {
        font-size: 2.75rem;
    }
}

@media (max-width: 720px) {
    .nav {
        align-items: flex-start;
        flex-direction: column;
        padding-block: 14px;
    }

    .nav nav {
        width: 100%;
        flex-wrap: wrap;
        gap: 10px 16px;
    }

    .hero {
        min-height: calc(100vh - 118px);
        padding-top: 64px;
    }

    .hero h1 {
        max-width: 100%;
        font-size: 3.85rem;
        line-height: .98;
        overflow-wrap: break-word;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-heading h2,
    .material-band h2,
    .cta h2 {
        font-size: 2.25rem;
    }

    .section-heading.split {
        align-items: flex-start;
        flex-direction: column;
    }

    .swatches {
        grid-template-columns: repeat(4, minmax(48px, 1fr));
    }
}

@media (max-width: 420px) {
    .hero h1 {
        font-size: 3.2rem;
    }

    .hero__panel {
        padding: 22px;
    }
}
