:root {
  color-scheme: light;
  --ink: #292824;
  --paper: #f4f1e9;
  --secondary: #68655e;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
::selection { color: var(--paper); background: var(--ink); }
button, input, textarea { font: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 5; left: 1rem; top: -5rem; padding: 1rem; background: var(--paper); }
.skip-link:focus { top: 1rem; }
.splash { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(24rem, 1fr); min-height: 100svh; }
.material { position: relative; height: 100svh; min-height: 38rem; overflow: hidden; background: #29251f; }
.material-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 65% 70%; }
.mobile-contact { display: none; }
.contact-panel { min-width: 0; display: flex; align-items: center; padding: clamp(3rem, 7vh, 7rem) clamp(2rem, 4.4vw, 6rem); }
.contact-content { width: 100%; max-width: 30rem; margin-inline: auto; }
h2 { margin: 0 0 clamp(2.5rem, 5vh, 4.5rem); font-size: clamp(2.2rem, 3vw, 3.4rem); line-height: 1.1; font-weight: 400; letter-spacing: -.035em; }
label { display: block; font-size: .9375rem; line-height: 1.5; margin-bottom: 1.8rem; }
input, textarea { display: block; width: 100%; min-width: 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #a5a197; border-radius: 0; margin-top: .4rem; padding: .65rem 0; font-size: 1rem; line-height: 1.5; transition: border-color 180ms ease; }
input { min-height: 2.75rem; }
input:focus, textarea:focus { border-bottom-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 4px; }
textarea { resize: vertical; min-height: 6.7rem; }
.send { display: inline-flex; align-items: center; gap: 2rem; min-height: 3rem; padding: .4rem 0; background: transparent; border: 0; color: var(--ink); cursor: pointer; font-size: 1rem; text-align: left; }
.send:disabled { opacity: .55; cursor: default; }
.send-arrow { font-size: 1.7rem; line-height: 1; transition: transform 200ms ease; }
.send:hover:not(:disabled) .send-arrow { transform: translateX(5px); }
.form-note, .form-status { margin: 1.1rem 0 0; font-size: .8125rem; line-height: 1.6; color: var(--secondary); }
.form-status:not(:empty) { color: var(--ink); border-left: 2px solid #8c7c61; padding-left: .9rem; }
.form-status:empty { display: none; }
.spam-trap { display: none; }
.image-stage { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; visibility: hidden; transition: opacity 650ms ease, visibility 650ms; }
.slide.is-active { opacity: 1; visibility: visible; }
.project-image { object-position: center; }
.image-controls { position: absolute; bottom: 1.5rem; right: 1.5rem; display: flex; align-items: center; justify-content: flex-end; color: #f7f4ed; }
.image-controls[hidden] { display: none; }
.image-arrows { display: flex; gap: .5rem; }
.image-arrows button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 0; appearance: none; color: inherit; background: transparent; font-size: 1.25rem; font-weight: 300; line-height: 1; text-shadow: 0 1px 3px #0009, 0 0 1px #000b; cursor: pointer; opacity: .85; transition: opacity 180ms ease; }
.image-arrows button:hover, .image-arrows button:focus-visible { background: transparent; opacity: 1; }
.image-arrows button:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; }
@media (min-width: 1600px) { .material-image { object-fit: contain; } .material { background: #27231e; } }
@media (max-width: 800px) {
  .splash { display: block; }
  .material { position: relative; height: 76svh; min-height: 30rem; max-height: 54rem; }
  .material-image { object-position: 70% 68%; }
  .mobile-contact { position: absolute; right: 1.5rem; top: 1rem; display: inline-flex; align-items: center; gap: 1.5rem; min-height: 2.75rem; padding: .2rem .4rem; font-size: .875rem; text-decoration: none; color: #f7f4ed; text-shadow: 0 1px 3px #000; }
  .contact-panel { position: static; min-height: auto; padding: 3.75rem 1.6rem 3.5rem; scroll-margin-top: 0; }
  .contact-content { max-width: 34rem; }
  h2 { margin-bottom: 2.5rem; }
}
@media (max-height: 750px) and (min-width: 801px) { .material { min-height: 100svh; } .contact-panel { position: static; padding-top: 2.5rem; padding-bottom: 2.5rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
