/* SHIKA SKETCHBOOK.
   Warm Modernism Design System
   Version 0.1.0
*/

/* 01 / Brand colours */

:root {
    --paper: #EAE8DF;
    --charcoal: #252525;
    --orange: #D94A24;
    --stone: #B5B2A8;
    --forest: #286345;
    --deep-orange: #A6381B;
}

/* 02 / Foundation */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--charcoal);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1, h2, h3 {
    line-height: 1.1;
    letter-spacing: -0.035em;
}

a {
    color: inherit;
    text-underline-offset: 4px;
}

a:focus-visible {
    outline: 3px solid var(--deep-orange);
    outline-offset: 5px;
}

/* 03 / Architectural layout */

.site-header,
main,
.site-footer {
    width: 90%;
    max-width: 1440px;
    margin: 0 auto;
}

/* 04 / Navigation */

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 26px 0;
    border-bottom: 1px solid var(--charcoal);
}

.wordmark {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.045em;
    text-decoration: none;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

nav a {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

nav a:hover {
    color: var(--deep-orange);
}

/* 05 / Hero */

.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 64px 0;
    border-bottom: 1px solid var(--charcoal);
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 24px;
}

h1 {
    font-size: clamp(42px, 6vw, 92px);
    font-weight: 750;
    margin-bottom: 28px;
}

.hero-description {
    max-width: 460px;
    font-size: 18px;
    margin-bottom: 32px;
}

.button {
    display: inline-block;
    background: var(--deep-orange);
    color: white;
    padding: 15px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.button:hover {
    background: var(--charcoal);
}

/* 06 / Hoji-chan */

.mascot-placeholder {
    min-height: 280px;
    background: var(--stone);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    background-image:
        linear-gradient(
            rgba(234,232,223,0.4) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(234,232,223,0.4) 1px,
            transparent 1px
        );
    background-size: 24px 24px;
}

.mascot-placeholder p:first-child {
    font-weight: 800;
    letter-spacing: 0.12em;
}

.mascot-placeholder p:last-child {
    font-size: 12px;
}

/* 07 / Product collection */

.collection {
    padding: 64px 0;
    border-bottom: 1px solid var(--charcoal);
}

h2 {
    font-size: clamp(32px, 4vw, 56px);
    margin-bottom: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
}

.product-card {
    border-bottom: 1px solid var(--stone);
    padding-bottom: 24px;
}

.product-visual {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #DCD9D0;
    font-size: clamp(38px, 5vw, 72px);
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-bottom: 20px;
}

.product-card:nth-child(2) .product-visual {
    background: var(--charcoal);
    color: var(--paper);
}

.product-card:nth-child(3) .product-visual {
    background: var(--forest);
    color: var(--paper);
}

.product-card:nth-child(4) .product-visual {
    background: var(--deep-orange);
    color: white;
}

.product-status {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

.product-card:last-child .product-status {
    color: var(--forest);
}

.product-card h3 {
    font-size: 26px;
    margin-bottom: 14px;
}

.product-card p {
    margin-bottom: 12px;
}

.product-card a {
    font-size: 14px;
    font-weight: 700;
}

/* 08 / Studio philosophy */

.studio {
    padding: 64px 0;
    border-bottom: 1px solid var(--charcoal);
}

.studio > p {
    max-width: 680px;
}

.principles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 40px 0;
}

.principles p {
    border-top: 3px solid var(--orange);
    padding-top: 16px;
    font-size: 20px;
    font-weight: 700;
}

/* 09 / Footer */

.site-footer {
    padding: 36px 0;
    font-size: 13px;
}

.site-footer p {
    margin-bottom: 5px;
}

.site-footer p:first-child {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
}

/* 10 / Responsive grid */

@media (min-width: 600px) {

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (min-width: 900px) {

    .hero {
        grid-template-columns: 1.4fr 1fr;
        align-items: stretch;
        padding: 90px 0;
    }

    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }

    .principles {
        grid-template-columns: repeat(3, 1fr);
    }

}

/* 11 / Accessibility */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }

}
