/* Swiss / Bauhaus / Rams / Vignelli: one grotesque typeface, a strict 12-column grid,
   flush-left ragged-right text, ruled sections, black on off-white, one red. */

:root { --paper: #f4f2ee; --ink: #111; --mute: #6b6963; --red: #e30613; --gutter: 24px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.page { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); }

/* top bar */
.bar { border-top: 8px solid var(--ink); padding: 14px 0 0; font-size: 13px; font-weight: 700; letter-spacing: 0.01em; }
.bar .l { grid-column: 1 / 7; }
.bar .r { grid-column: 7 / 13; color: var(--mute); font-weight: 400; }

/* masthead */
.mast { padding: 18vh 0 14vh; align-items: end; }
.mast h1 { grid-column: 1 / 13; margin: 0; font-weight: 700; font-size: clamp(56px, 12.5vw, 168px); line-height: 0.88; letter-spacing: -0.045em; }
.mast h1 span { color: var(--red); }
.mast p { grid-column: 1 / 7; margin: 40px 0 0; font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }

/* ruled sections */
.sec { border-top: 2px solid var(--ink); padding: 14px 0 64px; }
.sec .no { grid-column: 1 / 3; font-size: 13px; font-weight: 700; }
.sec .no b { color: var(--red); font-weight: 700; }
.sec .label { grid-column: 3 / 5; font-size: 13px; color: var(--mute); }
.sec .body { grid-column: 5 / 13; }

/* app entry */
.app { display: grid; grid-template-columns: 96px 1fr auto; column-gap: var(--gutter); align-items: center; }
.app img { width: 96px; height: 96px; display: block; }
.app .name { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin: 0 0 8px; }
.app .desc { color: var(--mute); margin: 0; }
.app .go { font-size: 13px; font-weight: 700; text-align: right; white-space: nowrap; }
.app .go i { font-style: normal; color: var(--red); }
a.app:hover .name { color: var(--red); }

/* contact */
.mail { font-size: clamp(24px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.03em; border-bottom: 3px solid var(--ink); display: inline-block; padding-bottom: 2px; }
.mail:hover { color: var(--red); border-color: var(--red); }

/* foot */
.foot { border-top: 2px solid var(--ink); padding: 14px 0 40px; font-size: 13px; color: var(--mute); }
.foot .l { grid-column: 1 / 7; color: var(--ink); font-weight: 700; }
.foot .r { grid-column: 7 / 13; }

/* three forms: circle, square, triangle */
.forms { display: flex; gap: 10px; align-items: flex-end; margin-top: 40px; }
.forms i { display: block; width: 28px; height: 28px; }
.forms .c { background: var(--red); border-radius: 50%; }
.forms .s { background: var(--ink); }
.forms .t { width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-bottom: 28px solid var(--ink); background: none; }

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .mast { padding: 12vh 0 10vh; }
  .mast p { grid-column: 1 / 13; font-size: 19px; }
  .sec .no { grid-column: 1 / 4; }
  .sec .label { grid-column: 4 / 13; }
  .sec .body { grid-column: 1 / 13; margin-top: 28px; }
  .app { grid-template-columns: 72px 1fr; row-gap: 14px; }
  .app img { width: 72px; height: 72px; }
  .app .name { font-size: 30px; }
  .app .go { grid-column: 1 / 3; text-align: left; }
  .foot .l, .foot .r { grid-column: 1 / 13; }
  .foot .r { margin-top: 4px; }
}
