/* one-page start page below the typographic title (structure after andreapieroni.eu, features of awkwArt:
   tilted sheets, green headings with one white letter, free words in the margins, courier for sprechbohrer) */

.has-op { --op-w: 1240px; --op-pad: clamp(16px, 3vw, 40px); --sheet: rgba(186, 186, 186, 0.92); }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }

/* fixed navigation, visible once the title has scrolled away */
.op-nav {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0;
  display: flex; align-items: baseline; gap: 24px; justify-content: space-between;
  padding: 14px var(--op-pad); background: rgba(0, 0, 0, 0.92); border-bottom: 1px solid #222;
  font-size: 17px; line-height: 1.2; transform: translateY(-110%); transition: transform .25s ease;
}
.op-nav.on { transform: none; }
.op-brand { font-weight: 500; white-space: nowrap; }
.op-brand span { color: var(--accent); font-weight: 400; }
.op-nav nav { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; }
.op-nav nav::-webkit-scrollbar { display: none; }
.op-nav nav a { white-space: nowrap; }
.op-nav nav a.here { color: var(--accent); }

/* sections */
.op { position: relative; }
.op-sec { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 5vw, 70px); border-top: 1px solid #262626; }
.op-in { position: relative; z-index: 1; max-width: var(--op-w); margin: 0 auto; padding: 0 var(--op-pad); }
.op-h { margin: 0 0 0.35em; font-size: clamp(56px, 10vw, 140px); line-height: 0.9; font-weight: 500; letter-spacing: -0.035em; color: var(--accent); }
.op-h .wl, .wf-gh .wl { color: var(--fg); }
.op-intro { font-size: 18px; line-height: 1.4; opacity: 0.75; margin: -0.6em 0 28px; }
.op-sec { font-size: 19px; line-height: 1.45; }

/* free words: faint, behind the content */
.op-free { position: absolute; z-index: 0; white-space: nowrap; pointer-events: none; color: var(--fg); opacity: 0.27; line-height: 1; transform-origin: left top; }
.op-free.g { color: var(--accent); opacity: 0.33; }

/* pill links */
.op-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.op-pills a { padding: 7px 14px; border-radius: 999px; background: var(--accent); color: #000; font-size: 16px; line-height: 1.2; font-weight: 400; }
.op-pills a:hover { background: var(--fg); color: #000; }
.op-pills.big a { font-size: 22px; padding: 10px 20px; }
.op-btn { padding: 9px 18px; border: 1px solid var(--fg); border-radius: 999px; background: none; color: var(--fg); font: 400 17px/1.2 var(--font); cursor: pointer; }
.op-btn:hover { background: var(--accent); color: #000; border-color: var(--accent); }
.op-more { margin-top: 30px; text-align: center; }

/* about */
.op-about-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.op-ident { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; font-weight: 500; margin: 0 0 22px; }
.op-lead { font-size: 21px; line-height: 1.45; margin: 0 0 28px; }
.op-roles { list-style: none; margin: 0; padding: 0; border-top: 1px solid #555; }
.op-roles li { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 18px; padding: 10px 0; border-bottom: 1px solid #333; font-size: 17px; line-height: 1.35; }
.op-roles li span:last-child { opacity: 0.8; }
.op-roles a:hover { color: var(--accent); }
.op-icons { display: flex; gap: 22px; margin-top: 26px; }
.op-icons svg { width: 26px; height: 26px; fill: currentColor; }
.op-portrait { margin: 0; transform: rotate(2.5deg); box-shadow: 10px 10px 0 var(--accent); }
.op-portrait img { width: 100%; }

/* statement */
.op-quote { padding-top: 60px; padding-bottom: 60px; }
.op-quote-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.op-quote blockquote { margin: 0; font-size: clamp(23px, 2.7vw, 38px); line-height: 1.12; font-weight: 400; letter-spacing: -0.01em; }
.op-quote-side { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; opacity: 0.85; border-top: 1px solid var(--accent); padding-top: 12px; }
.op-quote-side a { color: var(--accent); }

/* news: grey sheets, tilted like the sheet on the title */
.nc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 34px 30px; padding: 10px 6px; }
.nc { display: flex; flex-direction: column; background: var(--sheet); color: #000; box-shadow: 7px 7px 0 var(--accent); transition: transform .2s ease; will-change: transform; }
.nc.t0 { transform: rotate(-1.6deg); }
.nc.t1 { transform: rotate(1.2deg); }
.nc.t2 { transform: rotate(-0.6deg); }
.nc.t3 { transform: rotate(2deg); }
a.nc:hover { transform: rotate(0) scale(1.02); color: #000; }
.nc-rest { display: none; }
.nc-grid.show-all .nc-rest { display: flex; }
.nc-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #111; }
.nc-img img { width: 100%; height: 100%; object-fit: cover; }
.nc-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.nc-kind { font-size: 13px; line-height: 1.2; letter-spacing: 0.04em; font-weight: 500; }
.nc.is-upcoming .nc-kind { color: #2f5a00; }
.nc-title { font-size: 22px; line-height: 1.15; font-weight: 500; }
.nc-when { font-size: 15px; line-height: 1.3; }
.nc-text { font-size: 15px; line-height: 1.35; }
.nc-more { margin-top: 4px; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.nc-grid .news-empty { color: var(--fg); }

/* listen | watch */
.lw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 40px 30px; }
.lw { transition: transform .2s ease; }
.lw.t0 { transform: rotate(-0.8deg); }
.lw.t1 { transform: rotate(0.6deg); }
.lw.t2 { transform: rotate(-0.3deg); }
.lw:hover { transform: none; }
.lw .video { box-shadow: 6px 6px 0 #333; }
.lw-cap { margin-top: 12px; font-size: 16px; line-height: 1.35; }
.lw-cat { margin-top: 4px; font-size: 15px; color: var(--accent); }
.lw-cat a.sb { font-weight: 700; }

/* work: numbered fields in two groups */
.wf-group { margin-top: 30px; }
.wf-group + .wf-group { margin-top: 70px; }
.wf-gh { margin: 0; font-size: clamp(34px, 5vw, 64px); line-height: 1; font-weight: 500; color: var(--accent); letter-spacing: -0.02em; display: inline-block; transform: rotate(-2deg); transform-origin: left bottom; }
.wf-sub { font-size: 18px; opacity: 0.8; margin: 10px 0 18px; max-width: 46em; }
.wf { padding: 22px 0; border-top: 1px solid #333; }
.wf-n { font-size: 15px; color: var(--accent); padding-top: 10px; }
.wf h4 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 38px); line-height: 1.05; font-weight: 500; }
.wf h4 a.sb { font-family: 'Courier New', Courier, monospace; font-weight: 700; letter-spacing: -0.05em; }
.wf h4 a:hover { color: var(--accent); }
.wf-text { max-width: 52em; }
.wf-tags { margin-top: 8px; font-size: 15px; color: var(--accent); }
.wf-samples { margin-top: 8px; font-size: 16px; opacity: 0.85; }
.wf-samples .y { opacity: 0.7; font-size: 0.9em; }
.wf-count { margin-top: 10px; font-size: 15px; font-weight: 500; }
.wf-count a { border-bottom: 1px solid var(--accent); }

/* network */
.nw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 34px 30px; }
.nw-col h3 { margin: 0 0 10px; font-size: 15px; letter-spacing: 0.05em; font-weight: 500; color: var(--accent); }
.nw-col ul { list-style: none; margin: 0; padding: 0; }
.nw-col li { padding: 7px 0; border-top: 1px solid #2c2c2c; font-size: 18px; line-height: 1.25; }
.nw-col li small { display: block; font-size: 14px; opacity: 0.7; margin-top: 2px; }

/* on air */
.oa-list { list-style: none; margin: 0; padding: 0; }
.oa-list li { display: grid; grid-template-columns: 90px minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; padding: 12px 0; border-top: 1px solid #333; font-size: 18px; line-height: 1.3; }
.oa-y { opacity: 0.7; }
.oa-s { font-size: 15px; opacity: 0.8; }

/* gallery */
.gl-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.gl-tabs button { padding: 6px 14px; border: 1px solid #666; border-radius: 999px; background: none; color: var(--fg); font: 400 15px/1.2 var(--font); cursor: pointer; }
.gl-tabs button small { opacity: 0.6; margin-left: 3px; }
.gl-tabs button.on, .gl-tabs button:hover { background: var(--accent); border-color: var(--accent); color: #000; }
.gl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 30px 22px; }
.gl-item { margin: 0; }
.gl-item[hidden] { display: none; }
.gl-item > img, .gl-item > a > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #111; }
.gl-item.t0 { transform: rotate(-1deg); }
.gl-item.t1 { transform: rotate(0.8deg); }
.gl-item figcaption { margin-top: 8px; font-size: 14px; line-height: 1.35; opacity: 0.85; }
.gl-video { aspect-ratio: 4 / 3; }

/* contact */
.op-linkgrid { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0 24px; }
.op-linkgrid li { padding: 9px 0; border-top: 1px solid #333; font-size: 17px; }
.has-op .site-foot { max-width: var(--op-w); margin: 0 auto; padding: 0 var(--op-pad) 30px; }

/* phones and tablets: the title in its stacked version without news and work (they follow below) */
@media (max-width: 900px) {
  .pl-work, .pl-news { display: none !important; }
  .op-nav { font-size: 15px; gap: 14px; padding: 12px 16px; }
  .op-brand span { display: none; }
  .op-about-grid, .op-quote-grid { grid-template-columns: 1fr; }
  .op-portrait { max-width: 360px; }
  .op-roles li { grid-template-columns: 1fr; gap: 2px; }
  .oa-list li { grid-template-columns: 60px minmax(0, 1fr); }
  .oa-s { grid-column: 2; }
  .op-free { opacity: 0.18; }
  .lw-grid { grid-template-columns: 1fr; }
}

/* social links: symbol in front of the name, white on black */
.op-social { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 30px 0 0; font-size: 18px; }
.op-social a:hover, .op-linkgrid a:hover { color: var(--accent); }
