:root {
  color-scheme: dark;
  --ink: #edf2ef;
  --muted: #b8c5c8;
  --accent: #c7d9c6;
  --surface: #101e25;
  --line: #53656b;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background: var(--surface);
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100svh;
  position: relative;
  isolation: isolate;
}

a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: var(--accent);
  color: var(--surface);
}
.frame {
  width: min(1160px, calc(100% - 96px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  padding: 14px;
  background: var(--ink);
  color: var(--surface);
  z-index: 5;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  height: 104px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 1px solid #b8c9ce30;
}
.header-links {
  gap: 28px;
  font-size: 14px;
  display: flex;
  align-items: center;
}
.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: auto;
  color: var(--ink);
}
.header-logo span {
  width: 36px;
  height: 36px;
  background: currentColor;
  mask: url("/assets/art/logo1-shape.svg") center / 175% no-repeat;
}
.header-logo:hover {
  color: var(--accent);
}
.projects-dropdown {
  position: relative;
  font-size: 14px;
}
.projects-dropdown summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 0;
}
.projects-dropdown summary::-webkit-details-marker {
  display: none;
}
.contact-link:hover,
.projects-dropdown summary:hover {
  color: var(--accent);
}
.projects-links {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  width: 164px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #13242c;
  box-shadow: 0 12px 30px #07141d33;
}
.projects-links a {
  display: block;
  padding: 12px 13px;
  border-radius: 3px;
}
.projects-links a:hover,
.projects-links a:focus-visible {
  background: #263b42;
  color: var(--accent);
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  padding-block: 72px 80px;
  scroll-margin-top: 25px;
}
.contact-intro {
  padding-top: 4px;
}
#contact-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(42px, 4.8vw, 64px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.05;
  margin: 0 0 30px;
}
.email-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.email-link {
  font-size: clamp(14px, 1.4vw, 18px);
  border-bottom: 1px solid #a5b5b970;
  padding-bottom: 7px;
}
.email-link:hover {
  border-color: var(--accent);
}
.copy-email {
  border: 0;
  padding: 8px 0;
  background: none;
  color: var(--muted);
  font-size: 12px;
}
.copy-email:hover {
  color: var(--ink);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 23px;
  min-width: 0;
}
.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form label {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
}
.optional {
  color: var(--muted);
  font-size: 11px;
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid #53656b85;
  border-radius: 4px;
  background: #102026b8;
  color: var(--ink);
  padding: 13px 12px;
  margin-top: 8px;
  font-size: 16px;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9bafb5;
  opacity: 1;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #142830;
}
.contact-form textarea {
  resize: vertical;
  min-height: 140px;
  max-height: 500px;
}
.form-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
}
.button {
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  min-height: 48px;
  border-radius: 6px;
  background: var(--accent);
  color: #182c2b;
  font-size: 14px;
  font-weight: 500;
  transition:
    background 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.button:hover {
  background: #e0eade;
}
.button:active {
  transform: scale(0.98);
}
.button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.form-status {
  font-size: 13px;
  line-height: 1.6;
  min-height: 21px;
  margin: 0;
  color: var(--muted);
}
.form-status.error {
  color: #f2b1a6;
}
.form-status.success {
  color: var(--accent);
}
@media (min-width: 1500px) {
  .contact {
    padding-top: 100px;
  }
}
@media (max-width: 700px) {
  .frame {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 82px;
  }
  .projects-dropdown {
    font-size: 13px;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 36px 32px;
  }
  #contact-title {
    font-size: 42px;
    margin-bottom: 22px;
  }
  .email-link {
    font-size: 15px;
  }
  .email-block {
    gap: 5px;
  }
  .contact-form {
    gap: 19px;
  }
  .field-pair {
    gap: 14px;
  }
  .contact-form textarea {
    min-height: 125px;
  }
  .button {
    width: 100%;
  }
}
@media (max-height: 500px) and (min-width: 701px) {
  .site-header {
    height: 76px;
  }
  .contact {
    padding-block: 32px;
    gap: 40px;
  }
  #contact-title {
    font-size: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* One name, anchored in the photographic hero. */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  border-bottom: 0;
}
.hero {
  min-height: clamp(460px, 86svh, 900px);
  background:
    linear-gradient(0deg, #101e25, transparent 48%),
    linear-gradient(90deg, #101e2550, #101e251a),
    url("/assets/art/hub-background.jpg") center 48% / cover no-repeat;
}
@media (max-width: 700px) {
  .hero {
    min-height: clamp(380px, 72svh, 620px);
    background-position:
      center,
      center,
      58% center;
  }
  .contact {
    padding-top: 48px;
  }
}
@media (max-height: 500px) and (min-width: 701px) {
  .hero {
    min-height: 100svh;
  }
}

#hero-title {
  margin: 0;
  padding-block: 104px 64px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(54px, 8.5vw, 120px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.065em;
}
#hero-title span {
  color: var(--accent);
}
.contact-link {
  padding-block: 14px;
}
@media (max-width: 700px) {
  .header-links {
    gap: 24px;
    font-size: 13px;
  }
}
.hero {
  position: relative;
  display: flex;
  align-items: center;
}
.hero-foot {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #bbcecf30;
  padding-block: 24px 30px;
  color: #a5b8bd;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-foot a {
  display: flex;
  align-items: center;
  min-height: 30px;
}
.site-footer {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #bbcecf30;
  padding-block: 32px 40px;
  color: var(--muted);
  font-size: 12px;
}
.hero-foot a:hover,
.site-footer a:hover {
  color: var(--ink);
}
.phone-link {
  font-size: 18px;
  padding-block: 8px;
}
.phone-link:hover {
  color: var(--accent);
}
.site-footer {
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
}
@media (max-width: 700px) {
  .footer-contact {
    flex-direction: column;
  }
}

/* Keep scrolling available without visible scrollbar tracks. */
* {
  scrollbar-width: none;
}
*::-webkit-scrollbar {
  display: none;
}
