/* Neo Travel Group — a plain index site: graphite, hairlines, one typeface family. */
:root {
    --bg: #0b0c0d;
    --fg: #f1f0ec;
    --muted: #8d8f92;
    --line: rgba(255, 255, 255, .13);
    --hover: rgba(255, 255, 255, .045);
    --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}
@media (prefers-color-scheme: light) {
    :root { --bg: #f3f3f1; --fg: #111213; --muted: #63666a; --line: rgba(0, 0, 0, .16); --hover: rgba(0, 0, 0, .04); }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.label { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
a.label:hover, .label a:hover { color: var(--fg); }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.mark { display: inline-block; line-height: 0; }
.mark img { display: block; width: 76px; height: 76px; filter: invert(1); }   /* the logo file is black: shown white on the dark page */
@media (prefers-color-scheme: light) { .mark img { filter: none; } }

/* statement */
.statement { padding-top: clamp(64px, 12vw, 150px); padding-bottom: clamp(56px, 10vw, 120px); }
.statement h1 { margin: 22px 0 0; max-width: 15ch; font-size: clamp(40px, 7.4vw, 96px); font-weight: 300; line-height: 1.02; letter-spacing: -.035em; }

/* index of projects */
.index-head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--fg); }
.index-head h2 { margin: 0; }
.index { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 56px minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) 28px; align-items: baseline; gap: 20px; padding: 26px 12px; margin: 0 -12px; border-bottom: 1px solid var(--line); transition: background-color .18s ease; }
a.row:hover { background: var(--hover); }
.row .no { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.row .name { font-size: clamp(24px, 3vw, 34px); font-weight: 400; letter-spacing: -.02em; line-height: 1.15; }
.row .what { font-size: 16px; color: var(--muted); }
.row .domain { font-family: var(--mono); font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere; }
.row .go { justify-self: end; font-size: 20px; line-height: 1; color: var(--muted); transition: transform .18s ease, color .18s ease; }
a.row:hover .go { transform: translateX(4px); color: var(--fg); }
a.row:hover .domain { color: var(--fg); }
.row .soon { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-left: 12px; padding: 2px 7px; border: 1px solid var(--line); color: var(--muted); vertical-align: middle; white-space: nowrap; }

/* project page */
.project { padding-top: clamp(48px, 9vw, 110px); }
.project h1 { margin: 22px 0 0; font-size: clamp(44px, 8vw, 104px); font-weight: 300; line-height: 1; letter-spacing: -.04em; }
.project-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px 64px; margin-top: clamp(48px, 8vw, 96px); padding-top: 28px; border-top: 1px solid var(--fg); }
.facts { margin: 0; }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:first-child { padding-top: 0; }
.facts dt { margin: 0 0 4px; }
.facts dd { margin: 0; font-size: 18px; }
.story p { margin: 0 0 1.1em; max-width: 34em; font-size: clamp(19px, 2.1vw, 24px); font-weight: 300; line-height: 1.5; letter-spacing: -.01em; }
.visit { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 16px 22px; border: 1.5px solid var(--fg); font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; transition: background-color .18s ease, color .18s ease; }
a.visit:hover { background: var(--fg); color: var(--bg); }
.visit.is-soon { border-color: var(--line); color: var(--muted); }
.pager { display: flex; justify-content: space-between; gap: 24px; margin-top: clamp(64px, 10vw, 120px); padding-top: 22px; border-top: 1px solid var(--line); }
.pager a { display: flex; flex-direction: column; gap: 6px; max-width: 48%; }
.pager a:last-child { text-align: right; align-items: flex-end; }
.pager b { font-size: clamp(20px, 2.6vw, 28px); font-weight: 400; letter-spacing: -.02em; }
.pager a:hover b { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* footer */
footer { margin-top: auto; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 28px; padding-bottom: 36px; margin-top: clamp(64px, 10vw, 120px); border-top: 1px solid var(--line); }
.foot .contact { display: flex; flex-wrap: wrap; gap: 8px 28px; }

@media (max-width: 760px) {
    .wrap { padding: 0 20px; }
    .top { padding-top: 22px; padding-bottom: 22px; }
    .row { grid-template-columns: 34px minmax(0, 1fr) 22px; gap: 4px 12px; padding: 20px 8px; margin: 0 -8px; }
    .row .what { grid-column: 2; grid-row: 2; font-size: 15px; }
    .row .domain { grid-column: 2; grid-row: 3; margin-top: 2px; }
    .row .go { grid-column: 3; grid-row: 1; }
    .project-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .row, .row .go, .visit { transition: none; } a.row:hover .go { transform: none; } }

/* year column */
.row { grid-template-columns: 56px minmax(0, 1.3fr) minmax(0, 1fr) 60px minmax(0, 1fr) 28px; }
.row .year { font-family: var(--mono); font-size: 13.5px; color: var(--muted); }
@media (max-width: 760px) { .row { grid-template-columns: 34px minmax(0, 1fr) 22px; } .row .year { grid-column: 2; grid-row: 4; } }

/* e-mail addresses are always written in lower case */
a[href^="mailto:"] { text-transform: lowercase; }

/* language switch */
.top-right { display: flex; align-items: center; gap: 28px; }
.langs { display: flex; gap: 4px; }
.langs a { padding: 6px 8px; border: 1px solid transparent; }
.langs a[aria-current="true"] { color: var(--fg); border-color: var(--line); }
@media (max-width: 760px) { .top-right { flex-direction: column-reverse; align-items: flex-end; gap: 10px; } }
