/* ============================================
   PORTANCE brand site
   ============================================ */

:root {
    --ink: #000;
    --sub: #595959;
    --line: #e3e3e3;
    --bg: #fff;
    --latin: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--jp);
    font-size: 15px;
    line-height: 2;
    letter-spacing: 0.04em;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

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

a:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

/* ---------- header ---------- */

.site-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 28px clamp(20px, 5vw, 60px);
}

.header-logo img {
    width: 170px;
    height: auto;
}

.site-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(16px, 3vw, 36px);
    margin-top: 20px;
    font-family: var(--latin);
    font-size: 13px;
    letter-spacing: 0.08em;
}

.site-nav a {
    padding: 4px 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
    border-bottom-color: var(--ink);
}

.menu-toggle {
    display: none;
    width: 28px;
    height: 22px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--ink);
    transition: transform 0.2s, opacity 0.2s;
}

.nav-ig {
    display: inline-flex;
    align-items: center;
    border-bottom: none !important;
}

.nav-ig svg {
    width: 18px;
    height: 18px;
    display: block;
}

.nav-ig:hover,
.nav-ig:focus-visible {
    opacity: 0.55;
}

/* ---------- pages ---------- */

main {
    flex: 1;
}

.page {
    max-width: 980px;
    margin: 0 auto;
    width: 100%;
    padding: clamp(50px, 9vh, 100px) clamp(20px, 5vw, 60px) clamp(60px, 10vh, 110px);
}

.page-title {
    font-family: var(--latin);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sub);
    margin-bottom: 44px;
}

.page-body p + p {
    margin-top: 1em;
}

/* ---------- top ---------- */

.main-visual {
    max-width: 640px;
    margin: 0 auto;
}

.main-visual img {
    width: 100%;
}

.visual-caption {
    margin-top: 16px;
    text-align: center;
    font-family: var(--latin);
    font-size: 12px;
    letter-spacing: 0.18em;
    color: var(--sub);
}

.top-link {
    display: block;
    text-align: center;
    margin-top: clamp(40px, 6vh, 64px);
    font-family: var(--latin);
    font-size: 14px;
    letter-spacing: 0.2em;
}

.top-link span {
    border-bottom: 1px solid var(--ink);
    padding-bottom: 3px;
}

.top-link:hover {
    opacity: 0.55;
}

/* ---------- about ---------- */

.about-body {
    max-width: 620px;
}

.about-body p + p {
    margin-top: 1.8em;
}

.about-image {
    max-width: 760px;
    margin-top: clamp(44px, 7vh, 72px);
}

/* ---------- look ---------- */

.look-index {
    max-width: 620px;
    list-style: none;
}

.look-index li {
    border-bottom: 1px solid var(--line);
}

.look-index li:first-child {
    border-top: 1px solid var(--line);
}

.look-index a {
    display: block;
    padding: 22px 0;
    font-family: var(--latin);
    font-size: 14px;
    letter-spacing: 0.14em;
}

.look-index a:hover,
.look-index a:focus-visible {
    opacity: 0.55;
}

.look-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.look-grid img {
    width: 100%;
}

/* ---------- stockist ---------- */

.stockist-list {
    max-width: 620px;
    list-style: none;
}

.stockist-list li {
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}

.stockist-list li:first-child {
    border-top: 1px solid var(--line);
}

.stockist-name {
    font-weight: 500;
    letter-spacing: 0.08em;
}

.stockist-detail {
    color: var(--sub);
    font-size: 13px;
}

.stockist-detail a {
    border-bottom: 1px solid var(--sub);
}

.stockist-detail a:hover {
    opacity: 0.55;
}

/* ---------- contact ---------- */

.contact-mail {
    margin-top: 24px;
    font-family: var(--latin);
    font-size: clamp(18px, 3.4vw, 26px);
    letter-spacing: 0.04em;
}

.contact-mail a {
    border-bottom: 1px solid var(--ink);
    padding-bottom: 2px;
}

.contact-mail a:hover {
    opacity: 0.55;
}

/* ---------- footer ---------- */

.site-footer {
    border-top: 1px solid var(--line);
    padding: 36px clamp(20px, 5vw, 60px);
    text-align: center;
    font-family: var(--latin);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--sub);
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(14px, 3vw, 30px);
    margin-bottom: 20px;
    color: var(--ink);
}

.footer-nav a {
    border-bottom: 1px solid transparent;
}

.footer-nav a:hover {
    border-bottom-color: var(--ink);
}

/* ---------- placeholder marker ---------- */

.tbd {
    font-size: 11px;
    color: #b4231f;
    background: #fdf1f0;
    padding: 1px 6px;
    margin-left: 8px;
    border-radius: 2px;
    letter-spacing: 0;
    white-space: nowrap;
    vertical-align: middle;
}

/* ---------- responsive ---------- */

@media (max-width: 640px) {
    body.menu-open {
        overflow: hidden;
    }

    .site-header {
        position: relative;
        z-index: 40;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .header-logo {
        position: relative;
        z-index: 41;
    }

    .header-logo img {
        width: 130px;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        top: 50%;
        right: 22px;
        z-index: 42;
        width: 36px;
        height: 28px;
        flex-direction: column;
        justify-content: space-between;
        transform: translateY(-50%);
        outline: none;
    }

    .menu-toggle:focus-visible {
        opacity: 0.6;
    }

    .menu-toggle span {
        height: 2px;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(13px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-13px) rotate(-45deg);
    }

    .site-nav {
        position: fixed;
        inset: 0;
        z-index: 40;
        flex-direction: column;
        justify-content: flex-start;
        gap: 30px;
        margin-top: 0;
        padding: 130px 24px 40px;
        overflow: auto;
        background: rgba(255, 255, 255, 0.98);
        font-size: 15px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-nav a {
        border-bottom: none;
    }

    .look-grid {
        gap: 5px;
    }
}
