/* Experiments belong in this isolated stylesheet and matching lab assets. */
.animation-lab-status { position:fixed; bottom:10px; left:12px; z-index:65; display:flex; gap:14px; flex-wrap:wrap; max-width:calc(100% - 24px); padding:7px 11px; border:1px solid var(--n-line); background:var(--n-bg); color:var(--n-paper); font:10px/1.5 sans-serif; border-radius:5px; }
.animation-lab-status a { color:var(--n-gold); text-decoration:underline; text-underline-offset:3px; }
@media(max-width:600px) { .animation-lab-status { bottom:88px; font-size:9px; gap:10px; } }
@media print { .animation-lab-status { display:none; } }
/* Three-state palette control and its twelve-second duration ring. */
.n-header .n-theme-toggle { position:relative; width:44px; height:44px; padding:10px; }
.n-theme-toggle .n-theme-label { position:absolute; top:46px; left:50%; transform:translateX(-50%); font-size:8px; display:block; }
.n-theme-toggle .n-cycle-icon { display:none; }
.n-theme-toggle .n-cycle-ring { display:none; position:absolute; inset:0; width:44px; height:44px; pointer-events:none; transform:rotate(-90deg); fill:none; stroke:currentColor; stroke-width:1; }
.n-cycle-track { opacity:.18; }
.n-cycle-progress { stroke-dasharray:100; stroke-dashoffset:100; }
html .n-theme-toggle[data-mode="cycle"] .n-cycle-icon, html .n-theme-toggle[data-mode="cycle"] .n-cycle-ring { display:block; }
html .n-theme-toggle[data-mode="cycle"] :is(.n-theme-icon-desert,.n-theme-icon-wave) { display:none; }
html .n-theme-toggle[data-mode="light"] .n-theme-icon-desert { display:none; }
html .n-theme-toggle[data-mode="light"] .n-theme-icon-wave { display:block; }
html .n-theme-toggle[data-mode="dark"] .n-theme-icon-wave { display:none; }
html .n-theme-toggle[data-mode="dark"] .n-theme-icon-desert { display:block; }
/* Native snapshots: one composited reveal, no particles or blur animation. */
::view-transition { pointer-events:none; }
::view-transition-old(root), ::view-transition-new(root) { animation:none; mix-blend-mode:normal; }
::view-transition-group(root) { animation-duration:2.4s; }
::view-transition-new(root) { animation:wind-sweep 2.4s cubic-bezier(.22,.61,.36,1) both; }
html[data-wash-direction="sea"]::view-transition-new(root) { animation:water-wash 2.4s cubic-bezier(.22,.61,.36,1) both; }
/* Densely sampled flowing curves keep edges smooth at every viewport size. */
@keyframes water-wash {
 0% { clip-path:polygon(0.000% 112.000%,0.833% 112.387%,1.667% 112.772%,2.500% 113.153%,3.333% 113.527%,4.167% 113.892%,5.000% 114.247%,5.833% 114.590%,6.667% 114.918%,7.500% 115.231%,8.333% 115.526%,9.167% 115.802%,10.000% 116.058%,10.833% 116.292%,11.667% 116.505%,12.500% 116.694%,13.333% 116.860%,14.167% 117.002%,15.000% 117.120%,15.833% 117.213%,16.667% 117.283%,17.500% 117.329%,18.333% 117.351%,19.167% 117.351%,20.000% 117.329%,20.833% 117.286%,21.667% 117.224%,22.500% 117.143%,23.333% 117.044%,24.167% 116.929%,25.000% 116.800%,25.833% 116.658%,26.667% 116.503%,27.500% 116.339%,28.333% 116.166%,29.167% 115.986%,30.000% 115.801%,30.833% 115.611%,31.667% 115.419%,32.500% 115.225%,33.333% 115.031%,34.167% 114.838%,35.000% 114.647%,35.833% 114.459%,36.667% 114.274%,37.500% 114.094%,38.333% 113.919%,39.167% 113.749%,40.000% 113.585%,40.833% 113.427%,41.667% 113.274%,42.500% 113.127%,43.333% 112.986%,44.167% 112.850%,45.000% 112.719%,45.833% 112.592%,46.667% 112.469%,47.500% 112.349%,48.333% 112.231%,49.167% 112.115%,50.000% 112.000%,50.833% 111.885%,51.667% 111.769%,52.500% 111.651%,53.333% 111.531%,54.167% 111.408%,55.000% 111.281%,55.833% 111.150%,56.667% 111.014%,57.500% 110.873%,58.333% 110.726%,59.167% 110.573%,60.000% 110.415%,60.833% 110.251%,61.667% 110.081%,62.500% 109.906%,63.333% 109.726%,64.167% 109.541%,65.000% 109.353%,65.833% 109.162%,66.667% 108.969%,67.500% 108.775%,68.333% 108.581%,69.167% 108.389%,70.000% 108.199%,70.833% 108.014%,71.667% 107.834%,72.500% 107.661%,73.333% 107.497%,74.167% 107.342%,75.000% 107.200%,75.833% 107.071%,76.667% 106.956%,77.500% 106.857%,78.333% 106.776%,79.167% 106.714%,80.000% 106.671%,80.833% 106.649%,81.667% 106.649%,82.500% 106.671%,83.333% 106.717%,84.167% 106.787%,85.000% 106.880%,85.833% 106.998%,86.667% 107.140%,87.500% 107.306%,88.333% 107.495%,89.167% 107.708%,90.000% 107.942%,90.833% 108.198%,91.667% 108.474%,92.500% 108.769%,93.333% 109.082%,94.167% 109.410%,95.000% 109.753%,95.833% 110.108%,96.667% 110.473%,97.500% 110.847%,98.333% 111.228%,99.167% 111.613%,100.000% 112.000%,100% 130%,0 130%); }
 50% { clip-path:polygon(0.000% 53.183%,0.833% 53.383%,1.667% 53.561%,2.500% 53.715%,3.333% 53.843%,4.167% 53.946%,5.000% 54.022%,5.833% 54.071%,6.667% 54.093%,7.500% 54.087%,8.333% 54.054%,9.167% 53.994%,10.000% 53.908%,10.833% 53.796%,11.667% 53.659%,12.500% 53.498%,13.333% 53.314%,14.167% 53.109%,15.000% 52.884%,15.833% 52.640%,16.667% 52.380%,17.500% 52.105%,18.333% 51.817%,19.167% 51.518%,20.000% 51.209%,20.833% 50.893%,21.667% 50.572%,22.500% 50.247%,23.333% 49.921%,24.167% 49.596%,25.000% 49.272%,25.833% 48.953%,26.667% 48.639%,27.500% 48.332%,28.333% 48.034%,29.167% 47.746%,30.000% 47.468%,30.833% 47.203%,31.667% 46.950%,32.500% 46.711%,33.333% 46.486%,34.167% 46.275%,35.000% 46.080%,35.833% 45.899%,36.667% 45.733%,37.500% 45.581%,38.333% 45.444%,39.167% 45.321%,40.000% 45.211%,40.833% 45.114%,41.667% 45.028%,42.500% 44.954%,43.333% 44.890%,44.167% 44.835%,45.000% 44.788%,45.833% 44.749%,46.667% 44.715%,47.500% 44.688%,48.333% 44.664%,49.167% 44.644%,50.000% 44.627%,50.833% 44.612%,51.667% 44.597%,52.500% 44.583%,53.333% 44.569%,54.167% 44.555%,55.000% 44.539%,55.833% 44.523%,56.667% 44.506%,57.500% 44.487%,58.333% 44.467%,59.167% 44.447%,60.000% 44.427%,60.833% 44.406%,61.667% 44.387%,62.500% 44.369%,63.333% 44.353%,64.167% 44.341%,65.000% 44.332%,65.833% 44.329%,66.667% 44.331%,67.500% 44.341%,68.333% 44.359%,69.167% 44.386%,70.000% 44.424%,70.833% 44.473%,71.667% 44.534%,72.500% 44.608%,73.333% 44.696%,74.167% 44.799%,75.000% 44.918%,75.833% 45.052%,76.667% 45.203%,77.500% 45.370%,78.333% 45.553%,79.167% 45.754%,80.000% 45.971%,80.833% 46.203%,81.667% 46.452%,82.500% 46.715%,83.333% 46.993%,84.167% 47.283%,85.000% 47.586%,85.833% 47.899%,86.667% 48.222%,87.500% 48.552%,88.333% 48.889%,89.167% 49.230%,90.000% 49.573%,90.833% 49.917%,91.667% 50.260%,92.500% 50.600%,93.333% 50.934%,94.167% 51.261%,95.000% 51.579%,95.833% 51.886%,96.667% 52.179%,97.500% 52.457%,98.333% 52.718%,99.167% 52.960%,100.000% 53.183%,100% 130%,0 130%); }
 100% { clip-path:polygon(0.000% -6.820%,0.833% -6.976%,1.667% -7.156%,2.500% -7.361%,3.333% -7.588%,4.167% -7.837%,5.000% -8.107%,5.833% -8.397%,6.667% -8.704%,7.500% -9.028%,8.333% -9.367%,9.167% -9.719%,10.000% -10.081%,10.833% -10.452%,11.667% -10.831%,12.500% -11.213%,13.333% -11.599%,14.167% -11.984%,15.000% -12.368%,15.833% -12.747%,16.667% -13.121%,17.500% -13.486%,18.333% -13.842%,19.167% -14.185%,20.000% -14.515%,20.833% -14.829%,21.667% -15.127%,22.500% -15.406%,23.333% -15.666%,24.167% -15.906%,25.000% -16.124%,25.833% -16.320%,26.667% -16.494%,27.500% -16.645%,28.333% -16.773%,29.167% -16.878%,30.000% -16.961%,30.833% -17.020%,31.667% -17.058%,32.500% -17.075%,33.333% -17.071%,34.167% -17.048%,35.000% -17.006%,35.833% -16.947%,36.667% -16.872%,37.500% -16.782%,38.333% -16.678%,39.167% -16.563%,40.000% -16.437%,40.833% -16.301%,41.667% -16.158%,42.500% -16.009%,43.333% -15.855%,44.167% -15.696%,45.000% -15.536%,45.833% -15.374%,46.667% -15.213%,47.500% -15.051%,48.333% -14.892%,49.167% -14.735%,50.000% -14.581%,50.833% -14.431%,51.667% -14.285%,52.500% -14.143%,53.333% -14.005%,54.167% -13.872%,55.000% -13.743%,55.833% -13.618%,56.667% -13.497%,57.500% -13.379%,58.333% -13.264%,59.167% -13.151%,60.000% -13.040%,60.833% -12.929%,61.667% -12.818%,62.500% -12.707%,63.333% -12.594%,64.167% -12.478%,65.000% -12.359%,65.833% -12.236%,66.667% -12.109%,67.500% -11.976%,68.333% -11.838%,69.167% -11.692%,70.000% -11.540%,70.833% -11.381%,71.667% -11.215%,72.500% -11.040%,73.333% -10.859%,74.167% -10.670%,75.000% -10.475%,75.833% -10.272%,76.667% -10.064%,77.500% -9.851%,78.333% -9.633%,79.167% -9.412%,80.000% -9.189%,80.833% -8.964%,81.667% -8.740%,82.500% -8.517%,83.333% -8.298%,84.167% -8.082%,85.000% -7.873%,85.833% -7.672%,86.667% -7.480%,87.500% -7.298%,88.333% -7.130%,89.167% -6.975%,90.000% -6.837%,90.833% -6.715%,91.667% -6.612%,92.500% -6.528%,93.333% -6.466%,94.167% -6.426%,95.000% -6.409%,95.833% -6.415%,96.667% -6.446%,97.500% -6.502%,98.333% -6.583%,99.167% -6.689%,100.000% -6.820%,100% 130%,0 130%); }
}
@keyframes wind-sweep {
 0% { clip-path:polygon(-12.000% 0.000%,-12.052% 0.833%,-12.105% 1.667%,-12.158% 2.500%,-12.211% 3.333%,-12.264% 4.167%,-12.318% 5.000%,-12.372% 5.833%,-12.427% 6.667%,-12.483% 7.500%,-12.539% 8.333%,-12.597% 9.167%,-12.655% 10.000%,-12.714% 10.833%,-12.775% 11.667%,-12.837% 12.500%,-12.900% 13.333%,-12.964% 14.167%,-13.030% 15.000%,-13.098% 15.833%,-13.167% 16.667%,-13.238% 17.500%,-13.310% 18.333%,-13.385% 19.167%,-13.461% 20.000%,-13.540% 20.833%,-13.620% 21.667%,-13.703% 22.500%,-13.788% 23.333%,-13.875% 24.167%,-13.964% 25.000%,-14.056% 25.833%,-14.151% 26.667%,-14.248% 27.500%,-14.348% 28.333%,-14.450% 29.167%,-14.555% 30.000%,-14.663% 30.833%,-14.773% 31.667%,-14.887% 32.500%,-15.003% 33.333%,-15.123% 34.167%,-15.245% 35.000%,-15.370% 35.833%,-15.499% 36.667%,-15.631% 37.500%,-15.765% 38.333%,-15.903% 39.167%,-16.045% 40.000%,-16.189% 40.833%,-16.337% 41.667%,-16.488% 42.500%,-16.643% 43.333%,-16.800% 44.167%,-16.962% 45.000%,-17.126% 45.833%,-17.294% 46.667%,-17.465% 47.500%,-17.640% 48.333%,-17.818% 49.167%,-18.000% 50.000%,-18.185% 50.833%,-18.374% 51.667%,-18.565% 52.500%,-18.761% 53.333%,-18.959% 54.167%,-19.162% 55.000%,-19.367% 55.833%,-19.576% 56.667%,-19.788% 57.500%,-20.004% 58.333%,-20.223% 59.167%,-20.445% 60.000%,-20.670% 60.833%,-20.899% 61.667%,-21.131% 62.500%,-21.366% 63.333%,-21.604% 64.167%,-21.845% 65.000%,-22.089% 65.833%,-22.337% 66.667%,-22.587% 67.500%,-22.840% 68.333%,-23.096% 69.167%,-23.355% 70.000%,-23.617% 70.833%,-23.881% 71.667%,-24.148% 72.500%,-24.418% 73.333%,-24.690% 74.167%,-24.964% 75.000%,-25.242% 75.833%,-25.521% 76.667%,-25.803% 77.500%,-26.087% 78.333%,-26.373% 79.167%,-26.661% 80.000%,-26.951% 80.833%,-27.243% 81.667%,-27.538% 82.500%,-27.833% 83.333%,-28.131% 84.167%,-28.430% 85.000%,-28.731% 85.833%,-29.033% 86.667%,-29.337% 87.500%,-29.641% 88.333%,-29.948% 89.167%,-30.255% 90.000%,-30.563% 90.833%,-30.873% 91.667%,-31.183% 92.500%,-31.494% 93.333%,-31.805% 94.167%,-32.118% 95.000%,-32.431% 95.833%,-32.744% 96.667%,-33.058% 97.500%,-33.372% 98.333%,-33.686% 99.167%,-34.000% 100.000%,-40% 100%,-40% 0); }
 50% { clip-path:polygon(65.823% 0.000%,65.747% 0.833%,65.669% 1.667%,65.588% 2.500%,65.506% 3.333%,65.421% 4.167%,65.334% 5.000%,65.245% 5.833%,65.153% 6.667%,65.059% 7.500%,64.962% 8.333%,64.862% 9.167%,64.760% 10.000%,64.655% 10.833%,64.548% 11.667%,64.438% 12.500%,64.324% 13.333%,64.208% 14.167%,64.089% 15.000%,63.967% 15.833%,63.842% 16.667%,63.713% 17.500%,63.582% 18.333%,63.447% 19.167%,63.310% 20.000%,63.169% 20.833%,63.024% 21.667%,62.877% 22.500%,62.726% 23.333%,62.572% 24.167%,62.414% 25.000%,62.253% 25.833%,62.089% 26.667%,61.921% 27.500%,61.750% 28.333%,61.576% 29.167%,61.398% 30.000%,61.217% 30.833%,61.032% 31.667%,60.844% 32.500%,60.652% 33.333%,60.457% 34.167%,60.259% 35.000%,60.057% 35.833%,59.852% 36.667%,59.643% 37.500%,59.431% 38.333%,59.216% 39.167%,58.997% 40.000%,58.775% 40.833%,58.550% 41.667%,58.322% 42.500%,58.090% 43.333%,57.855% 44.167%,57.618% 45.000%,57.377% 45.833%,57.133% 46.667%,56.885% 47.500%,56.635% 48.333%,56.383% 49.167%,56.127% 50.000%,55.868% 50.833%,55.607% 51.667%,55.342% 52.500%,55.076% 53.333%,54.806% 54.167%,54.534% 55.000%,54.260% 55.833%,53.983% 56.667%,53.704% 57.500%,53.422% 58.333%,53.138% 59.167%,52.852% 60.000%,52.564% 60.833%,52.274% 61.667%,51.982% 62.500%,51.688% 63.333%,51.393% 64.167%,51.095% 65.000%,50.796% 65.833%,50.496% 66.667%,50.193% 67.500%,49.890% 68.333%,49.585% 69.167%,49.279% 70.000%,48.972% 70.833%,48.664% 71.667%,48.354% 72.500%,48.044% 73.333%,47.733% 74.167%,47.422% 75.000%,47.109% 75.833%,46.797% 76.667%,46.483% 77.500%,46.170% 78.333%,45.856% 79.167%,45.542% 80.000%,45.227% 80.833%,44.913% 81.667%,44.599% 82.500%,44.285% 83.333%,43.971% 84.167%,43.658% 85.000%,43.345% 85.833%,43.033% 86.667%,42.721% 87.500%,42.410% 88.333%,42.100% 89.167%,41.790% 90.000%,41.482% 90.833%,41.174% 91.667%,40.868% 92.500%,40.563% 93.333%,40.259% 94.167%,39.957% 95.000%,39.656% 95.833%,39.357% 96.667%,39.059% 97.500%,38.763% 98.333%,38.469% 99.167%,38.177% 100.000%,-40% 100%,-40% 0); }
 100% { clip-path:polygon(136.660% 0.000%,136.523% 0.833%,136.382% 1.667%,136.238% 2.500%,136.091% 3.333%,135.940% 4.167%,135.786% 5.000%,135.629% 5.833%,135.468% 6.667%,135.304% 7.500%,135.137% 8.333%,134.966% 9.167%,134.792% 10.000%,134.614% 10.833%,134.433% 11.667%,134.249% 12.500%,134.061% 13.333%,133.870% 14.167%,133.675% 15.000%,133.477% 15.833%,133.275% 16.667%,133.070% 17.500%,132.862% 18.333%,132.650% 19.167%,132.435% 20.000%,132.217% 20.833%,131.995% 21.667%,131.770% 22.500%,131.542% 23.333%,131.311% 24.167%,131.076% 25.000%,130.839% 25.833%,130.598% 26.667%,130.354% 27.500%,130.107% 28.333%,129.858% 29.167%,129.605% 30.000%,129.349% 30.833%,129.091% 31.667%,128.830% 32.500%,128.566% 33.333%,128.299% 34.167%,128.030% 35.000%,127.758% 35.833%,127.484% 36.667%,127.207% 37.500%,126.928% 38.333%,126.647% 39.167%,126.363% 40.000%,126.077% 40.833%,125.790% 41.667%,125.500% 42.500%,125.208% 43.333%,124.914% 44.167%,124.618% 45.000%,124.321% 45.833%,124.022% 46.667%,123.722% 47.500%,123.420% 48.333%,123.116% 49.167%,122.812% 50.000%,122.506% 50.833%,122.199% 51.667%,121.891% 52.500%,121.581% 53.333%,121.271% 54.167%,120.960% 55.000%,120.649% 55.833%,120.337% 56.667%,120.024% 57.500%,119.711% 58.333%,119.397% 59.167%,119.083% 60.000%,118.769% 60.833%,118.455% 61.667%,118.140% 62.500%,117.826% 63.333%,117.512% 64.167%,117.199% 65.000%,116.885% 65.833%,116.572% 66.667%,116.260% 67.500%,115.948% 68.333%,115.637% 69.167%,115.327% 70.000%,115.017% 70.833%,114.709% 71.667%,114.401% 72.500%,114.095% 73.333%,113.790% 74.167%,113.486% 75.000%,113.183% 75.833%,112.882% 76.667%,112.583% 77.500%,112.285% 78.333%,111.989% 79.167%,111.695% 80.000%,111.402% 80.833%,111.112% 81.667%,110.823% 82.500%,110.537% 83.333%,110.252% 84.167%,109.970% 85.000%,109.690% 85.833%,109.413% 86.667%,109.138% 87.500%,108.865% 88.333%,108.595% 89.167%,108.328% 90.000%,108.063% 90.833%,107.801% 91.667%,107.542% 92.500%,107.285% 93.333%,107.031% 94.167%,106.781% 95.000%,106.533% 95.833%,106.288% 96.667%,106.046% 97.500%,105.808% 98.333%,105.572% 99.167%,105.340% 100.000%,-40% 100%,-40% 0); }
}
@media(prefers-reduced-motion:reduce) { .n-cycle-progress { display:none; } ::view-transition-new(root) { animation:none!important; clip-path:none; } }

/* Two intentional, unbroken phrases, scaled to the available hero width. */
.n-hero-content { width:100%; container-type:inline-size; }
.n-hero #home-heading { font-size:clamp(23px,8.5cqi,94px); line-height:1.1; letter-spacing:-.025em; }
.n-hero #home-heading > span, .n-hero #home-heading > em { display:block; white-space:nowrap; }

/* Rounded mineral glass actions: warm dune in Sand, sea glass in Sea. */
html[data-theme] .n-beta :is(.n-outline-link,.n-contact-float) {
  border-radius:14px;
  -webkit-backdrop-filter:blur(12px) saturate(125%);
  backdrop-filter:blur(12px) saturate(125%);
  transition:background .2s ease,border-color .2s ease,box-shadow .2s ease;
}
html[data-theme="light"] .n-beta :is(.n-outline-link,.n-contact-float) {
  background:linear-gradient(135deg,rgba(239,227,204,.65),rgba(212,194,160,.48));
  color:#443b2f;
  border:1px solid rgba(132,110,74,.38);
  box-shadow:inset 0 1px 0 rgba(255,253,240,.85),0 8px 24px rgba(91,73,44,.13);
}
html[data-theme="dark"] .n-beta :is(.n-outline-link,.n-contact-float) {
  background:linear-gradient(135deg,rgba(190,225,217,.66),rgba(139,188,184,.50));
  color:#102c36;
  border:1px solid rgba(201,235,228,.50);
  box-shadow:inset 0 1px 0 rgba(237,255,249,.54),0 8px 24px rgba(2,19,28,.20);
}
@media(hover:hover) {
  html[data-theme="light"] .n-beta :is(.n-outline-link,.n-contact-float):hover {
    background:linear-gradient(135deg,rgba(241,229,204,.95),rgba(219,201,167,.90));
    border-color:rgba(132,110,74,.60);
  }
  html[data-theme="dark"] .n-beta :is(.n-outline-link,.n-contact-float):hover {
    background:linear-gradient(135deg,rgba(195,231,223,.95),rgba(148,198,192,.90));
    border-color:rgba(222,248,241,.75);
  }
}
@media(prefers-reduced-motion:reduce) {
  html[data-theme] .n-beta :is(.n-outline-link,.n-contact-float) { transition:none; }
}

/* Icon-only theme control and a subtitle spanning the wordmark. */
.n-header .n-theme-toggle .n-theme-label { display:none; }
.n-header .n-brand { display:inline-grid; width:max-content; }
.n-header .n-brand-sub { display:flex; justify-content:center; gap:.35em; align-items:center; width:0; min-width:100%; font-size:15.5px; letter-spacing:0; white-space:nowrap; }
@media(max-width:600px) { .n-header .n-brand-sub { font-size:10.5px; letter-spacing:0; } }
@media(max-width:375px) { .n-header .n-brand-sub { font-size:9.5px; } }

/* Exclude the wordmark's trailing tracking from its visual center. */
.n-header .n-brand-name { margin-right:-.18em; }
@media(max-width:600px) { .n-header .n-brand-name { margin-right:-.13em; } }
@media(max-width:375px) { .n-header .n-brand-name { margin-right:-.11em; } }

/* Sand hero: retain the photograph; concentrate light behind the copy. */
@media screen {
  html[data-theme="light"] .n-hero-image { filter:saturate(.95) brightness(1); }
  html[data-theme="light"] .n-hero-shade {
    background:radial-gradient(ellipse 62% 43% at 50% 42%,rgba(250,246,235,.72) 0%,rgba(250,246,235,.50) 48%,rgba(250,246,235,.06) 100%),linear-gradient(180deg,rgba(245,237,223,.10) 0%,rgba(245,237,223,.04) 65%,rgba(245,237,223,.36) 85%,#f5eddf 100%);
  }
  html[data-theme="light"] .n-hero :is(h1,.n-hero-copy,.n-hero-kicker,.n-text-link) { text-shadow:0 1px 10px rgba(255,251,240,.8); }
  @media(max-width:600px) {
    html[data-theme="light"] .n-hero-shade {
      background:radial-gradient(ellipse 95% 42% at 50% 38%,rgba(250,246,235,.76) 0%,rgba(250,246,235,.53) 48%,rgba(250,246,235,.08) 100%),linear-gradient(180deg,rgba(245,237,223,.12) 0%,rgba(245,237,223,.03) 62%,rgba(245,237,223,.32) 84%,#f5eddf 100%);
    }
  }
}
@media screen {
  html[data-theme="light"] .n-hero .n-actions .n-text-link { background:rgba(250,246,235,.74); padding:8px 14px; border-radius:10px; border:1px solid rgba(132,110,74,.25); }
  html[data-theme="light"] .n-hero-bottom { text-shadow:0 1px 5px #fffaf0,0 0 12px #fffaf0; }
}

/* New natural-materials hero: retain color and use the pale wall for legibility. */
@media screen {
 html[data-theme="light"] .n-hero-image-day { object-position:50% center; }
 html[data-theme="light"] .n-hero-shade { background:radial-gradient(ellipse 70% 43% at 50% 38%,rgba(250,246,235,.52),rgba(250,246,235,.26) 55%,transparent 100%),linear-gradient(180deg,rgba(245,237,223,.08) 0%,transparent 70%,rgba(245,237,223,.22) 85%,#f5eddf 100%); }
}

/* Legible secondary actions and experience notes over detailed photography. */
@media screen {
  html[data-theme="light"] .n-hero .n-actions .n-text-link,
  html[data-theme="light"] .n-hero .n-hero-link {
    background:linear-gradient(135deg,rgba(255,250,236,.83),rgba(230,216,189,.70));
    -webkit-backdrop-filter:blur(18px) saturate(135%);
    backdrop-filter:blur(18px) saturate(135%);
    color:#362e24;
    border:1px solid rgba(116,94,61,.40);
    border-radius:12px;
    padding:12px 18px;
    box-shadow:inset 0 1px 0 rgba(255,255,248,.85),0 5px 18px rgba(61,46,27,.12);
    text-shadow:none;
  }
  html[data-theme="light"] .n-hero .n-hero-proof {
    width:fit-content;
    padding:12px 16px;
    border-radius:10px;
    background:rgba(250,245,232,.86);
    -webkit-backdrop-filter:blur(14px);
    backdrop-filter:blur(14px);
    color:#38382f;
    font-weight:500;
    text-shadow:none;
    border:1px solid rgba(255,253,241,.55);
  }
  .n-hero .n-hero-link > span:first-child { text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:1px; }
  .n-hero .n-hero-link { min-height:44px; }
  html[data-theme="light"] .n-hero .n-hero-link > span:last-child { color:#715333; }
  @media(hover:hover) {
    html[data-theme="light"] .n-hero :is(.n-actions .n-text-link,.n-hero-link):hover { background:rgba(255,250,236,.95); border-color:#80633b; }
  }
}

/* Place Sand hero elements against the photograph rather than adding cards. */
@media screen {
 html[data-theme="light"] .n-hero { min-height:1000px; height:100svh; max-height:none; align-items:start; }
 html[data-theme="light"] .n-hero-content { container-type:normal; position:static; }
 html[data-theme="light"] .n-hero #home-heading { font-size:clamp(23px,7.7vw,83px); }
 html[data-theme="light"] .n-hero .n-actions { position:absolute; top:81%; left:22px; right:22px; margin:0; }
 html[data-theme="light"] .n-hero-bottom { display:contents; text-shadow:none; }
 html[data-theme="light"] .n-hero .n-hero-proof {
   position:absolute; top:75%; left:clamp(22px,4vw,56px); max-width:none;
   padding:0; border:0; border-radius:0; background:none; box-shadow:none;
   backdrop-filter:none; -webkit-backdrop-filter:none;
   color:#fff; font-weight:500; text-shadow:0 1px 3px rgba(0,25,30,.85);
 }
 html[data-theme="light"] .n-hero .n-hero-link,
 html[data-theme="light"] .n-hero .n-hero-link:hover {
   position:absolute; bottom:0; left:clamp(22px,4vw,56px);
   padding:0; border:0; border-radius:0; background:none; box-shadow:none;
   backdrop-filter:none; -webkit-backdrop-filter:none;
   color:#302b22; text-shadow:none;
 }
 @media(max-width:600px) {
   html[data-theme="light"] .n-hero { min-height:940px; height:auto; padding-top:175px; }
   html[data-theme="light"] .n-hero .n-actions { top:81%; gap:14px; }
   html[data-theme="light"] .n-hero .n-hero-proof { top:75%; font-size:9px; }
 }
}

/* A quiet set of useful starting points in the open Sand wall area. */
.n-hero-paths { display:none; }
@media screen {
 html[data-theme="light"] .n-hero-paths { display:block; position:absolute; top:51%; left:22px; right:22px; text-align:center; color:#3e3529; }
 .n-hero-paths > p { font-family:var(--n-serif); font-size:30px; line-height:1.2; margin-bottom:18px; }
 .n-hero-paths > div { display:flex; justify-content:center; gap:32px; }
 .n-hero-paths a { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:44px; font-size:13px; border-bottom:1px solid rgba(72,58,38,.4); }
 .n-hero-paths a:hover { border-color:currentColor; }
 .n-hero-paths a > span:first-child { text-decoration:underline; text-underline-offset:4px; text-decoration-color:transparent; }
 .n-hero-paths a:hover > span:first-child { text-decoration-color:currentColor; }
 @media(max-width:600px) {
  html[data-theme="light"] .n-hero-paths { top:49%; }
  .n-hero-paths > p { font-size:27px; margin-bottom:10px; }
  .n-hero-paths > div { gap:14px; max-width:350px; margin:auto; }
  .n-hero-paths a { font-size:11px; flex:1; gap:5px; text-align:left; padding-bottom:6px; }
 }
}

/* One clear hero action, using the lighter contact-button glass. */
html[data-theme="light"] .n-hero .n-actions .n-outline-link {
 background:linear-gradient(135deg,rgba(255,250,236,.83),rgba(230,216,189,.70));
 -webkit-backdrop-filter:blur(18px) saturate(135%); backdrop-filter:blur(18px) saturate(135%);
 color:#362e24; border-color:rgba(116,94,61,.40);
 box-shadow:inset 0 1px 0 rgba(255,255,248,.85),0 5px 18px rgba(61,46,27,.12);
}
html[data-theme="light"] .n-hero-paths a { color:#30291f; }

/* Give the single hero action the lower pool position. */
@media screen { html[data-theme="light"] .n-hero .n-actions { top:auto; bottom:42px; } }

/* Keep the palette and language controls together, leaving room for the wordmark. */
.n-beta .n-header { display:grid; grid-template-columns:minmax(0,1fr) 44px max-content; gap:10px; }
.n-header > .n-brand { justify-self:start; }
.n-beta .n-header .n-brand-name { font-size:33px; }
.n-header > .n-header-links { display:none; }
.n-header > .n-theme-toggle { grid-column:2; justify-self:center; }
.n-header > .n-header-tools { grid-column:3; justify-self:end; }
@media(max-width:600px) {
 .n-beta .n-header { padding-inline:12px; gap:5px; }
 .n-beta .n-header .n-brand-name { font-size:clamp(20px, 5.8vw, 26px); letter-spacing:.10em; margin-right:-.10em; }
 .n-header .n-brand-sub { font-size:clamp(8.35px, 2.38vw, 11.1px); gap:.25em; }
 .n-header > .n-header-tools { gap:clamp(5px, 3vw, 14px); }
 .n-header .n-tool-rule { display:none; }
}

/* Mobile home: adjust each theme without changing the desktop composition. */
@media screen and (max-width:600px) {
  html[data-theme="dark"] .n-beta .n-hero[aria-labelledby="home-heading"] {
    min-height:0;
    height:auto;
    padding-bottom:clamp(22px, 6vw, 36px);
  }
  html[data-theme="dark"] .n-beta .n-hero[aria-labelledby="home-heading"] .n-actions {
    padding-top:16px;
  }
  html[data-theme="dark"] .n-beta .n-hero[aria-labelledby="home-heading"] + .n-intro {
    padding-top:clamp(34px, 9vw, 46px);
  }
}

@media screen and (max-width:600px) {
  html[data-theme="light"] .n-beta .n-hero[aria-labelledby="home-heading"] {
    min-height:810px;
  }
  html[data-theme="light"] .n-beta .n-hero[aria-labelledby="home-heading"] .n-hero-paths {
    top:max(57%, calc(360px + 25vw));
  }
}

/* Lift the mobile Sand eyebrow clear of the roof without moving the headline. */
@media screen and (max-width:600px) {
  html[data-theme="light"] .n-beta .n-hero[aria-labelledby="home-heading"] .n-hero-kicker {
    position:relative;
    inset-block-start:-22px;
  }
}
