:root {
  color-scheme: dark;
  --deep: #092c30;
  --ink: #f0eee9;
  --muted: #b5c7c5;
  --panel: #152f33;
  --field: #102529;
  --accent: #dfc7a6;
  --accent-hover: #ecd8bd;
  --button-outline: #a89377;
  --line: #476467;
  font: 100%/1.55 Inter, "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 7rem; }
body {
  isolation: isolate;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  background: radial-gradient(ellipse at 92% 0%, #1c3a3d, transparent 48rem), #101f22;
  color: var(--ink);
}
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background: url("dirigent-tuerkis.svg") left calc(50% + 4rem) / clamp(44rem, 105vw, 100rem) auto no-repeat;
  opacity: .085;
  pointer-events: none;
}
.wrap { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip { position: fixed; z-index: 11; top: 1rem; left: 1rem; clip-path: inset(50%); }
.skip:focus-visible { clip-path: none; background: var(--panel); padding: .7rem; }
.site-header {
  position: sticky;
  z-index: 5;
  top: .85rem;
  margin-top: 1.25rem;
}
.site-header nav { backdrop-filter: blur(14px); }
.site-header .button:focus-visible, .send .button:focus-visible { outline-color: var(--ink); }
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  padding: .65rem clamp(.85rem, 2vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: 1.05rem;
  background: #162e32f5;
  box-shadow: 0 8px 30px #0005;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  text-decoration: none;
  font-size: 1.65rem;
  white-space: nowrap;
}
.brand-mark {
  display: block;
  height: 3.8rem;
  margin-block: -.65rem -.45rem;
  padding-top: .15rem;
  overflow: hidden;
}
.brand-icon { display: block; height: 5.1rem; width: auto; }
.brand b { color: var(--accent); font-weight: inherit; }
.menu-toggle {
  display: none;
  place-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}
.menu-toggle span { width: 24px; height: 2px; background: currentColor; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.2rem; font-size: .92rem; font-weight: 500; }
.nav-links > a { text-decoration: none; }
.nav-links > a:not(.button):hover, .nav-links > a:not(.button):focus-visible { color: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.045em; font-weight: 600; }
h1 { font-size: clamp(3rem, 7vw, 6.9rem); margin-bottom: .75rem; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.8rem); margin-bottom: 1.2rem; }
.hero {
  display: grid;
  align-content: center;
  text-align: right;
  padding-inline-end: clamp(.75rem, 4vw, 3.5rem);
  min-height: clamp(13rem, 29vw, 22rem);
  padding-block: clamp(4.75rem, 11vw, 8.5rem) clamp(2.25rem, 5vw, 4rem);
}
.brand {
  font-weight: 300;
  letter-spacing: -.065em;
}
.eyebrow { color: var(--muted); font-size: .875rem; font-weight: 500; margin-bottom: .75rem; }
.hero .lede {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.6rem, 4.8vw, 4.08rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.055em;
}
.hero .lede span { display: inline-block; }
.hero .lede b { color: var(--accent); font-weight: inherit; }
.projects { position: relative; }
.project-grid { display: grid; gap: clamp(1rem, 1.6vw, 1.35rem); }
.project {
  display: grid;
  grid-template-columns: clamp(4rem, 13.5%, 10rem) minmax(0, 1fr);
  min-height: clamp(15rem, 34vw, 24rem);
  overflow: hidden;
  border: 1px solid var(--button-outline);
  border-radius: clamp(1rem, 3vw, 2.1rem);
  background: var(--deep);
  color: white;
  text-decoration: none;
}
.project-number {
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--deep);
  font-size: clamp(2rem, 9vw, 7.5rem);
  font-weight: 250;
  line-height: 1;
  letter-spacing: -.08em;
}
.project-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  gap: 1.15rem;
  padding: clamp(1.15rem, 3.6vw, 2.8rem);
  background-image: linear-gradient(90deg, #092c30 0%, #092c30ec 34%, #092c309e 67%, #092c3045 100%), var(--project-art);
  background-size: cover;
  background-position: center;
}
.project-tech { --project-art: url("smaartz.jpg"); }
.project-school { --project-art: url("skoolz.jpg"); }
.project-band { --project-art: url("bbua.jpg"); }
.project-band .project-content { background-position: center 42%; }
.project h3 { font-size: clamp(1.48rem, 3vw, 2.55rem); margin: 0; }
.project h3 span, .project-link { color: var(--accent); }
.project p { max-width: 58ch; margin: 0; color: #e2efeb; font-size: 1rem; }
.project-link { font-weight: 600; }
.project:hover { border-color: var(--accent); }
.project:focus-visible .project-link { text-decoration: underline; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: .45rem .9rem;
  border: 1px solid var(--accent-hover);
  border-radius: .65rem;
  background: var(--accent);
  color: var(--deep);
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.button:hover { background: var(--accent-hover); }
.button:disabled { cursor: wait; opacity: .65; }
.contact {
  margin-top: clamp(3rem, 8vw, 6rem);
  padding-block: clamp(2.5rem, 6vw, 5rem);
  background: radial-gradient(ellipse at 92% 0, #254448b8, transparent 62%), #0b1d21c9;
}
.contact-content { display: grid; gap: 1.25rem; }
.contact-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.contact-options a {
  display: grid;
  align-content: center;
  gap: .2rem;
  min-height: 5rem;
  padding: .7rem 1rem;
  border: 1px solid var(--button-outline);
  border-radius: .85rem;
  background: var(--panel);
  text-decoration: none;
}
.contact-options a:hover { background: #254448; border-color: var(--accent); }
.contact-options strong { font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
.contact h2 { color: white; margin-bottom: .45rem; }
.legal a { overflow-wrap: anywhere; }
.contact p, .contact small { color: var(--muted); }
form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
}
label { display: grid; gap: .35rem; align-content: start; font-weight: 500; }
input:not([type="radio"]), textarea {
  width: 100%;
  min-height: 2.8rem;
  padding: .6rem .75rem;
  background: var(--field);
  color: var(--ink);
  border: 1px solid #658084;
  border-radius: .45rem;
  font: inherit;
  font-weight: 400;
}
textarea { resize: vertical; }
.topic-field { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.topic-field legend { padding: 0; margin-bottom: .35rem; font-weight: 500; }
.topic-menu { position: relative; }
.topic-menu summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.8rem;
  padding: .6rem .75rem;
  border: 1px solid #658084;
  border-radius: .45rem;
  background: var(--field);
  cursor: pointer;
  list-style: none;
}
.topic-menu summary::-webkit-details-marker { display: none; }
.topic-menu summary::after {
  content: "";
  flex: 0 0 .5rem;
  height: .5rem;
  margin-right: .25rem;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}
.topic-menu[open] summary::after { transform: rotate(225deg); }
.topic-options {
  position: absolute;
  z-index: 2;
  inset: calc(100% + .25rem) 0 auto;
  padding: .25rem;
  border: 1px solid var(--line);
  border-radius: .6rem;
  background: var(--panel);
  box-shadow: 0 8px 24px #092c3026;
}
.topic-option {
  grid-template-columns: auto minmax(0, 1fr);
  gap: .65rem;
  border-radius: .35rem;
  padding: .55rem .65rem;
  cursor: pointer;
}
.topic-option:hover, .topic-option:focus-within, .topic-option:has(input:checked) { background: #29464a; }
.topic-option input { accent-color: var(--accent); margin: .28rem 0 0; }
.topic-menu strong { display: block; font-weight: 600; }
.topic-menu small:not([hidden]) { display: block; line-height: 1.35; font-weight: 400; }
.full { grid-column: 1 / -1; }
.send { display: flex; gap: .65rem 1rem; align-items: center; flex-wrap: wrap; }
.send small { color: var(--muted); }
.form-card { perspective: 1600px; }
.form-card-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.2, .75, .25, 1);
}
.form-card.is-flipped .form-card-inner { transform: rotateY(180deg); }
.form-front, .form-back {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.form-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .35rem 1rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--line);
}
.form-heading h3 { font-size: 1.7rem; }
.form-heading h3, .form-heading p { margin-bottom: 0; }
.form-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(1.25rem, 5vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--panel);
  text-align: center;
  transform: rotateY(180deg);
}
.form-back h3 { font-size: clamp(1.85rem, 4.5vw, 4rem); margin-bottom: 1rem; }
.form-back p { max-width: 37ch; margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) {
  .form-card-inner { transition: none; }
}
.form-trap { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.send .error { color: #ffadb8; }
footer {
  border-top: 1px solid var(--line);
  padding-block: .7rem .8rem;
  color: var(--muted);
  font-size: .78rem;
}
.footer-links, .footer-links > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { text-decoration: underline; }
.legal { padding-block: clamp(3rem, 8vw, 6rem); }
.legal h1 { font-size: clamp(3rem, 7vw, 6.3rem); }
.legal h2 {
  margin: 2rem 0 .7rem;
  font-size: 1.35rem;
  line-height: 1.3;
  letter-spacing: -.025em;
}
.legal p { max-width: 66ch; line-height: 1.75; }
address { font-style: normal; margin-block: 1.3rem 1rem; }
@media (max-width: 900px) {
  .site-header nav { position: relative; }
  .menu-ready .menu-toggle { display: grid; }
  .menu-ready .nav-links {
    display: none;
    position: absolute;
    inset: calc(100% + .85rem) -1px auto;
    flex-direction: column;
    align-items: stretch;
    gap: .35rem;
    max-height: calc(100dvh - 7rem);
    overflow-y: auto;
    padding: .9rem 1.15rem 1.15rem;
    border: 1px solid var(--line);
    border-radius: 1.05rem;
    background: var(--panel);
    box-shadow: 0 14px 32px #0006;
    font-size: 1rem;
  }
  .menu-ready .menu-toggle[aria-expanded="true"] + .nav-links { display: flex; }
  .menu-ready .nav-links a { padding: .75rem .25rem; }
  .menu-ready .nav-links a.button { min-height: 44px; margin-top: .35rem; }
  .contact-options { grid-template-columns: 1fr; }
  .project { min-height: 20.5rem; }
}
@media (max-width: 600px) {
  .form-front { grid-template-columns: 1fr; }
  .project-grid { gap: 1.125rem; }
  .project { min-height: 23.125rem; grid-template-columns: clamp(3.4rem, 18vw, 4.5rem) minmax(0, 1fr); }
  .project-content { padding-block: 1.7rem; overflow-wrap: anywhere; }
}
@media (max-width: 40rem) {
  body::before {
    background-position: 23% calc(50% + 3rem);
    background-size: 145vw auto;
    opacity: .07;
  }
}
@media (max-width: 32rem) {
  .brand { font-size: 1.4rem; }
  .nav-links { gap: .35rem .85rem; }
  .legal h2 { font-size: 1.2rem; }
  html { scroll-padding-top: 8rem; }
  .site-header { top: .4rem; margin-top: .6rem; }
  .project-content {
    background-image: linear-gradient(90deg, #092c30fa, #092c30bb), var(--project-art);
    background-position: 65% center;
  }
}

.ai-notice {
  position: fixed;
  z-index: 10;
  inset: auto 1rem 1rem;
  pointer-events: none;
}
.ai-notice-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem 1.5rem;
  width: min(56rem, 100%);
  margin-inline: auto;
  padding: .95rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid #ffffff30;
  background: #092c30f7;
  box-shadow: 0 12px 34px #092c303f;
  color: #e2efeb;
  pointer-events: auto;
}
.ai-notice p { margin: 0; font-size: .9rem; }
.ai-notice strong { color: var(--accent); font-weight: 600; }
.ai-notice button {
  flex: 0 0 auto;
  min-height: 2.6rem;
  padding-inline: .9rem;
  border: 0;
  border-radius: .6rem;
  background: var(--accent);
  color: var(--deep);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.ai-notice button:hover { background: var(--accent-hover); }
.ai-notice button:focus-visible { outline-color: white; }
@media (max-width: 36rem) {
  .ai-notice-inner { flex-direction: column; align-items: stretch; }
}
