/* ============================================
   ORCHIDERY – Base / Reset / Typography
   ============================================ */

/* ── Modern Reset ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: var(--fw-regular);
    line-height: var(--lh-normal);
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

/* ── Typography ── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    color: var(--color-text);
}

h1 {
    font-size: var(--fs-4xl);
}

h2 {
    font-size: var(--fs-3xl);
}

h3 {
    font-size: var(--fs-2xl);
}

h4 {
    font-size: var(--fs-xl);
}

h5 {
    font-size: var(--fs-lg);
}

h6 {
    font-size: var(--fs-md);
}

p {
    margin-bottom: var(--space-4);
    line-height: var(--lh-normal);
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: var(--fw-semibold);
}

small {
    font-size: var(--fs-sm);
}

/* ── Links ── */
.link {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--duration-fast) var(--ease-out);
}

.link:hover {
    color: var(--color-primary-dark);
}

/* ── Utilities ── */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--space-6);
}

.container--narrow {
    max-width: var(--max-width-narrow);
}

.container--wide {
    max-width: var(--max-width-wide);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-muted {
    color: var(--color-text-muted);
}

.text-light {
    color: var(--color-text-light);
}

.text-primary {
    color: var(--color-primary);
}

.text-white {
    color: #fff;
}

.text-sm {
    font-size: var(--fs-sm);
}

.fw-semibold {
    font-weight: var(--fw-semibold);
}

.w-full {
    width: 100%;
}

.mt-0 {
    margin-top: 0;
}

.mt-4 {
    margin-top: var(--space-4);
}

.mt-8 {
    margin-top: var(--space-8);
}

.mt-12 {
    margin-top: var(--space-12);
}

.mt-16 {
    margin-top: var(--space-16);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.mb-12 {
    margin-bottom: var(--space-12);
}

/* ── Section Spacing ── */
.section {
    padding-block: var(--space-20);
}

.section--lg {
    padding-block: var(--space-24);
}

.section--alt {
    background-color: var(--color-bg-alt);
}

.section--primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    text-align: center;
}

.section--primary h1,
.section--primary h2,
.section--primary h3 {
    color: #fff;
}

/* ── Section Titles ── */
.section__title {
    text-align: center;
    margin-bottom: var(--space-4);
}

.section__subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: var(--fs-md);
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: var(--space-12);
}

/* ── Dividers ── */
.divider {
    width: 60px;
    height: 2px;
    background: var(--color-primary);
    margin: var(--space-6) auto;
    border: none;
}

/* ── Scroll-reveal animation ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--duration-slow) var(--ease-out),
        transform var(--duration-slow) var(--ease-out);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}