diff --git a/docs/fonts/lato-400.woff2 b/docs/fonts/lato-400.woff2 new file mode 100644 index 0000000..ff60934 Binary files /dev/null and b/docs/fonts/lato-400.woff2 differ diff --git a/docs/fonts/lato-OFL.txt b/docs/fonts/lato-OFL.txt new file mode 100644 index 0000000..bf01e7a --- /dev/null +++ b/docs/fonts/lato-OFL.txt @@ -0,0 +1,93 @@ +Copyright (c) 2010-2011 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato". Licensed under the SIL Open Font License, Version 1.1. Lato-HairlineItalic.ttf: Copyright (c) 2010-2011 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato". Licensed under the SIL Open Font License, Version 1.1. Lato-Light.ttf: Copyright (c) 2010-2011 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato". Licensed under the SIL Open Font License, Version 1.1. Lato-LightItalic.ttf: Copyright (c) 2010-2011 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato". Licensed under the SIL Open Font License, Version 1.1. Lato-Regular.ttf: Copyright (c) 2010-2011 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato". Licensed under the SIL Open Font License, Version 1.1. Lato-Italic.ttf: Copyright (c) 2010-2011 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato". Licensed under the SIL Open Font License, Version 1.1. Lato-Bold.ttf: Copyright (c) 2010-2011 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato". Licensed under the SIL Open Font License, Version 1.1. Lato-BoldItalic.ttf: Copyright (c) 2010-2011 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato". Licensed under the SIL Open Font License, Version 1.1. Lato-Black.ttf: Copyright (c) 2010-2011 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato". Licensed under the SIL Open Font License, Version 1.1. Lato-BlackItalic.ttf: Copyright (c) 2010-2011 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato". Licensed under the SIL Open Font License, Version 1.1. + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/docs/fonts/mm-weft-OFL.txt b/docs/fonts/mm-weft-OFL.txt new file mode 100644 index 0000000..20347d5 --- /dev/null +++ b/docs/fonts/mm-weft-OFL.txt @@ -0,0 +1,94 @@ +Copyright 2026 The machine-made Weft Project Authors (https://github.com/machine-made/type), +with Reserved Font Name "machine-made". + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +https://openfontlicense.org + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/docs/fonts/mm-weft.woff2 b/docs/fonts/mm-weft.woff2 new file mode 100644 index 0000000..496b375 Binary files /dev/null and b/docs/fonts/mm-weft.woff2 differ diff --git a/docs/img/banner.jpg b/docs/img/banner.jpg new file mode 100644 index 0000000..514c2da Binary files /dev/null and b/docs/img/banner.jpg differ diff --git a/docs/img/chaos-atlas.jpg b/docs/img/chaos-atlas.jpg new file mode 100644 index 0000000..f0609ac Binary files /dev/null and b/docs/img/chaos-atlas.jpg differ diff --git a/docs/img/dolfinx-rans.jpg b/docs/img/dolfinx-rans.jpg new file mode 100644 index 0000000..f1b0255 Binary files /dev/null and b/docs/img/dolfinx-rans.jpg differ diff --git a/docs/img/dsgbr.jpg b/docs/img/dsgbr.jpg new file mode 100644 index 0000000..e855307 Binary files /dev/null and b/docs/img/dsgbr.jpg differ diff --git a/docs/img/dynachaos.jpg b/docs/img/dynachaos.jpg new file mode 100644 index 0000000..a5518da Binary files /dev/null and b/docs/img/dynachaos.jpg differ diff --git a/docs/img/fftkit.jpg b/docs/img/fftkit.jpg new file mode 100644 index 0000000..919b779 Binary files /dev/null and b/docs/img/fftkit.jpg differ diff --git a/docs/img/hpckit.jpg b/docs/img/hpckit.jpg new file mode 100644 index 0000000..489b676 Binary files /dev/null and b/docs/img/hpckit.jpg differ diff --git a/docs/img/linstabpy.jpg b/docs/img/linstabpy.jpg new file mode 100644 index 0000000..992c950 Binary files /dev/null and b/docs/img/linstabpy.jpg differ diff --git a/docs/img/nekStab.jpg b/docs/img/nekStab.jpg new file mode 100644 index 0000000..3981095 Binary files /dev/null and b/docs/img/nekStab.jpg differ diff --git a/docs/img/openmodalpy.jpg b/docs/img/openmodalpy.jpg new file mode 100644 index 0000000..230c439 Binary files /dev/null and b/docs/img/openmodalpy.jpg differ diff --git a/docs/img/quadros.jpg b/docs/img/quadros.jpg new file mode 100644 index 0000000..7357b0d Binary files /dev/null and b/docs/img/quadros.jpg differ diff --git a/docs/index.html b/docs/index.html index babe66e..2a92fdd 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4,71 +4,62 @@ openfluids - + - - + + + + -
-openfluids logo -
-

openfluids

-

An open workshop for fluid flows: state-of-the-art methods and ultra-modern code.

-
+
+ +

-

We build numerical tools for the daily work of flow studies: solving flows, analysing their stability and structure, and running the work on clusters. Each tool does one job, is tested against reference results, and is made to be read, reused and combined, by humans and agents alike.

-
-

Stability

-
    -
  • linstabpy documentation

    Sparse linear stability and resolvent analysis of 2D compressible flows.

  • -
  • nekStab

    Stability, bifurcation and sensitivity analysis for Nek5000.

  • -
-
-
-

Analysis

-
    -
  • openmodalpy pypi

    Nine modal decompositions behind one API: POD, mPOD, PSD-POD, SPOD, ST-POD, DMD/HODMD and BSMD, from a config file or a CLI. Pure NumPy and SciPy.

  • -
  • dynachaos site

    Dynamical-systems analysis of time signals: Lyapunov exponents, recurrence, entropy and coupled-map lattices, with Rust-accelerated kernels.

  • -
  • fftkit

    Spectra of physical signals, and one FFT API over eight backends. spectrum() handles resampling, detrending and windowing, and reports what it did; backend= swaps the engine without touching your code.

  • -
  • dsgbr

    Peak detection for noisy power spectra that slope over decades, scored against a rolling-median baseline instead of a fixed threshold.

  • -
  • chaos-atlas site

    An interactive explorer for chaotic systems: strange attractors, bifurcations, fractals and coupled-map-lattice patterns, in the browser.

  • +
    +

    Open tools for fluid flows: state-of-the-art methods, ultra-modern low-memory code, for humans and agents.

    +

    Open code for fluid mechanics.

    +
    +
    +

    Stability

    +
    -
    -

    Optimisation

    -
diff --git a/docs/llms.txt b/docs/llms.txt index bc36387..9c5f073 100644 --- a/docs/llms.txt +++ b/docs/llms.txt @@ -1,41 +1,33 @@ # openfluids -> An open workshop for fluid flows: state-of-the-art methods and ultra-modern code. +> Open tools for fluid flows: state-of-the-art methods, ultra-modern low-memory code, for humans and agents. -We build numerical tools for the daily work of flow studies: solving flows, analysing their stability and structure, and running the work on clusters. Each tool does one job, is tested against reference results, and is made to be read, reused and combined, by humans and agents alike. +Open code for fluid mechanics. ## Stability -- [linstabpy](https://github.com/openfluids/linstabpy): Sparse linear stability and resolvent analysis of 2D compressible flows. ([documentation](https://linstabpy.vercel.app/)) -- [nekStab](https://github.com/nekStab/nekStab): Stability, bifurcation and sensitivity analysis for Nek5000. +- [linstabpy](https://github.com/openfluids/linstabpy): linear stability and resolvent analysis ([site](https://linstabpy.vercel.app/)) +- [nekStab](https://github.com/nekStab/nekStab): stability and bifurcation for Nek5000 ## Analysis -- [openmodalpy](https://github.com/openfluids/openmodalpy): Nine modal decompositions behind one API: POD, mPOD, PSD-POD, SPOD, ST-POD, DMD/HODMD and BSMD, from a config file or a CLI. Pure NumPy and SciPy. ([pypi](https://pypi.org/project/openmodalpy/)) -- [dynachaos](https://github.com/openfluids/dynachaos/): Dynamical-systems analysis of time signals: Lyapunov exponents, recurrence, entropy and coupled-map lattices, with Rust-accelerated kernels. ([site](https://openfluids.github.io/dynachaos/)) -- [fftkit](https://github.com/openfluids/fftkit): Spectra of physical signals, and one FFT API over eight backends. `spectrum()` handles resampling, detrending and windowing, and reports what it did; `backend=` swaps the engine without touching your code. -- [dsgbr](https://github.com/openfluids/dsgbr): Peak detection for noisy power spectra that slope over decades, scored against a rolling-median baseline instead of a fixed threshold. -- [chaos-atlas](https://github.com/openfluids/chaos-atlas/): An interactive explorer for chaotic systems: strange attractors, bifurcations, fractals and coupled-map-lattice patterns, in the browser. ([site](https://openfluids.github.io/chaos-atlas/)) - -## Optimisation - -- [organa](https://github.com/openfluids/organa): Adjoint topology optimisation for conjugate heat transfer, in parallel with MPI. - -## Runs and frames - -- [hpckit](https://github.com/openfluids/hpckit): Drives Slurm work from a local checkout: one environment per commit, run packets, submission and polling, receipts and artifact sync. -- [quadros](https://github.com/openfluids/quadros): Turns simulation snapshots into checked frames and videos, locally, over SSH or in a scheduler job, with a manifest of what it rendered. Nek5000 built in; other formats through PyVista. +- [openmodalpy](https://github.com/openfluids/openmodalpy): nine modal decompositions, one API +- [dynachaos](https://github.com/openfluids/dynachaos): Lyapunov exponents, recurrence, entropy ([site](https://openfluids.github.io/dynachaos/)) +- [fftkit](https://github.com/openfluids/fftkit): spectra, one FFT API over eight backends +- [dsgbr](https://github.com/openfluids/dsgbr): peaks in noisy, sloped spectra +- [chaos-atlas](https://github.com/openfluids/chaos-atlas): chaotic systems in the browser ([site](https://openfluids.github.io/chaos-atlas/)) ## Solvers -- [dolfinx-rans](https://github.com/openfluids/dolfinx-rans): RANS k-omega and k-omega SST turbulence solver for incompressible flow in DOLFINx, validated on turbulent channel flow. - -## How they fit +- [dolfinx-rans](https://github.com/openfluids/dolfinx-rans): RANS turbulence in DOLFINx -`openmodalpy` runs its transforms through `fftkit`, so a backend installed once serves both. `hpckit` submits the run and `quadros` renders what comes back; they stay separate installs, so a machine that only submits jobs never needs VTK. +## Runs -## Under development +- [hpckit](https://github.com/openfluids/hpckit): Slurm runs from a local checkout +- [quadros](https://github.com/openfluids/quadros): snapshots to frames and videos -More is taking shape in the workshop: new solvers, GPU kernels and tools for studying how flows behave. They will go public as they mature. +## Sites -All openfluids software is provided "as is", without warranty of any kind. Each repository's LICENSE sets the terms of use. +- [machine-made](https://machine-made.github.io/) +- [openfluids](https://openfluids.github.io/) +- [BoringQuantSystems](https://boringquantsystems.github.io/) diff --git a/docs/mark.svg b/docs/mark.svg new file mode 100644 index 0000000..acac64e --- /dev/null +++ b/docs/mark.svg @@ -0,0 +1,13 @@ + +machine-made mark + + + + + + + + + + + diff --git a/docs/style.css b/docs/style.css index 733b9d1..61135b1 100644 --- a/docs/style.css +++ b/docs/style.css @@ -1,141 +1,246 @@ +@font-face{font-family:"machine-made Weft";src:url(fonts/mm-weft.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap} +@font-face{font-family:"Lato";src:url(fonts/lato-400.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap} +:root{--bg:#0d1116;--fg:#e6eef2;--muted:#8395a0;--accent:#5cc8d6;--edge:#25292d;--font:"Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mono:"machine-made Weft", ui-monospace, "SF Mono", Menlo, Consolas, monospace;--fs:0.9375rem;--ls:1.4375rem;} +/* The colours, the fonts and the sizes of a house come first (:root). */ + :root { - --bg: #0D1116; - --surface: #131A22; - --text: #E6EDF3; - --muted: #9AA7B4; - --line: #22303C; - --cyan: #5CD6E6; - --coral: #FF7A66; - --font: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + --gutter: 16px; + --max: 1200px; +} + +@media (min-width: 720px) { + :root { + --gutter: 24px; + } +} + +@media (min-width: 1100px) { + :root { + --gutter: 32px; + } } -*, *::before, *::after { box-sizing: border-box; } +*, +*::before, +*::after { + box-sizing: border-box; +} -html { -webkit-text-size-adjust: 100%; } +html { + color-scheme: dark; + -webkit-text-size-adjust: 100%; + text-size-adjust: 100%; +} body { margin: 0; + min-height: 100vh; + padding-block: 14px 22px; background: var(--bg); - color: var(--text); - font-family: var(--font); - font-weight: 300; - font-size: 1.0625rem; - line-height: 1.6; - overflow-wrap: break-word; + color: var(--fg); + font: 400 var(--fs) / 1.55 var(--font); + -webkit-font-smoothing: antialiased; } -.wrap { - width: 100%; - max-width: 46rem; - margin: 0 auto; - padding: 0 16px; +h1, +h2, +p, +ul { + margin: 0; } -a { color: var(--cyan); text-decoration: none; } -a:hover { text-decoration: underline; text-underline-offset: 3px; } -a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 2px; } +ul { + padding: 0; + list-style: none; +} + +img { + display: block; + max-width: 100%; + height: auto; +} + +a { + color: inherit; + text-decoration: none; +} + +a:focus-visible { + outline: 2px solid var(--accent); + outline-offset: 3px; + border-radius: 2px; +} .skip { position: absolute; - left: -9999px; - top: 0; - padding: 8px 12px; - background: var(--surface); + top: -5rem; + left: var(--gutter); + z-index: 10; + padding: 8px 16px; + background: var(--fg); + color: var(--bg); + font-family: var(--mono); + font-size: 0.75rem; } -.skip:focus { left: 16px; top: 16px; } -.masthead { - display: flex; - align-items: center; - gap: 20px; - padding-top: 72px; - padding-bottom: 40px; +.skip:focus { + top: 8px; } -.mark { - flex: none; - width: 112px; - height: 112px; - border-radius: 22px; - background: var(--surface); - color: var(--muted); - font-size: 0.75rem; +.wrap { + width: min(100% - 2 * var(--gutter), var(--max)); + margin-inline: auto; } -h1 { - margin: 0; - font-weight: 300; - font-size: clamp(2.25rem, 7vw, 3rem); - line-height: 1.1; - letter-spacing: -0.01em; +/* The top bar: the three sites. Weft sets it on every house. */ +.bar { + display: flex; + flex-wrap: wrap; + gap: 0 16px; + margin-bottom: 14px; + font: 400 0.75rem / 1 var(--mono); + letter-spacing: 0.04em; } -.tagline { - margin: 6px 0 0; +.bar a { + padding-block: 6px; color: var(--muted); - font-size: 1.125rem; + overflow-wrap: anywhere; } -/* One streakline: cyan fading out, ending in the single coral accent. */ -main::before { - content: ""; +.bar a[aria-current="page"] { + color: var(--fg); + text-decoration: underline 2px var(--accent); + text-underline-offset: 6px; +} + +/* The banner is the image of the GitHub profile. Its top and bottom edges fade into the ground. */ +.banner { display: block; - height: 7px; - background: - radial-gradient(circle, var(--coral) 3px, transparent 3.5px) right center / 7px 7px no-repeat, - linear-gradient(90deg, var(--cyan), rgba(92, 214, 230, 0.12) 85%) left center / calc(100% - 12px) 1px no-repeat; + width: 100%; + aspect-ratio: 1408 / 469; + object-fit: cover; + mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); +} + +.duo { + display: grid; + grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); + gap: 20px; + align-items: end; + margin-top: 20px; +} + +.line { + font-size: var(--ls); + line-height: 1.3; + text-wrap: balance; } -section { padding: 32px 0 8px; } +.blurb { + max-width: 52ch; + font-size: calc(var(--fs) * 0.88); + color: var(--muted); +} + +@media (max-width: 520px) { + .duo { + grid-template-columns: 1fr; + } +} -h2 { - margin: 0 0 12px; - font-size: 0.8125rem; - font-weight: 400; - letter-spacing: 0.12em; +/* A small group label, set in Weft with a square of the accent colour. */ +.lbl { + display: flex; + align-items: center; + gap: 8px; + margin: 32px 0 10px; + font: 400 0.71875rem / 1 var(--mono); + letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); } -.projects { list-style: none; margin: 0; padding: 0; } +.lbl::before { + content: ""; + width: 6px; + height: 6px; + background: var(--accent); +} -.projects li { - padding: 14px 0; - border-bottom: 1px solid var(--line); +.grid { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); + gap: 14px 12px; } -.projects li:last-child { border-bottom: 0; } -.projects a { font-size: 1.1875rem; font-weight: 400; } +.plate { + display: grid; + align-content: start; + gap: 4px; + min-width: 0; +} -.projects p { margin: 2px 0 0; color: var(--muted); } +.whole { + display: grid; + gap: 4px; + min-width: 0; + overflow: hidden; +} -.intro { margin: 28px 0 8px; max-width: 40rem; } +.pic { + display: block; + overflow: hidden; +} -.projects a.extra { - margin-left: 10px; - font-size: 0.8125rem; - letter-spacing: 0.06em; - text-transform: uppercase; +.plate img { + display: block; + width: 100%; + aspect-ratio: 3 / 1; + object-fit: cover; + outline: 1px solid var(--edge); + outline-offset: -1px; + border-radius: 2px; } -.prose { margin: 8px 0 0; color: var(--muted); max-width: 40rem; } +.plate .nm { + font-size: calc(var(--fs) * 0.95); + overflow-wrap: anywhere; +} -code { - font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; - font-size: 0.9em; - color: var(--text); +.plate .ds { + font-size: calc(var(--fs) * 0.8); + color: var(--muted); + line-height: 1.35; + overflow-wrap: anywhere; } footer { - margin-top: 48px; - padding-bottom: 48px; + margin-top: 40px; + font: 400 0.71875rem / 1 var(--mono); + letter-spacing: 0.04em; color: var(--muted); - font-size: 0.9375rem; } -footer p { margin: 0; padding-top: 24px; border-top: 1px solid var(--line); } -footer p.org { padding-top: 12px; border-top: 0; } -@media (max-width: 480px) { - .masthead { padding-top: 48px; padding-bottom: 28px; gap: 16px; } - .mark { width: 80px; height: 80px; border-radius: 16px; } +/* Hover effects only for pointers that hover. Motion only when the reader has not asked for less. */ +@media (hover: hover) { + .whole:hover .nm, + .nm:hover { + text-decoration: underline 1px var(--accent); + text-underline-offset: 0.2em; + } +} + +@media (prefers-reduced-motion: no-preference) { + a, + img { + transition: color 0.2s ease, transform 0.2s ease; + } +} + +@media (hover: hover) and (prefers-reduced-motion: no-preference) { + .whole:hover img, + .pic:hover img { + transform: scale(1.02); + } }