@font-face {
  font-family: Raghava;
  src: url("RaghavaGrotesk4_2_24-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --gutter: 4%;
  --heading: 54px;
  --heading-tracking: -2.16px;
  --subheading: 36px;
  --subheading-tracking: -1.44px;
}

* { box-sizing: border-box; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  margin: 0;
  background: #fff;
  color: #000;
  font: 600 15px/1.08 Raghava, Arial, sans-serif;
  font-feature-settings: "kern" 1, "liga" 1, "ss11" 1;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p { margin: 0; }
h1 {
  margin-bottom: 8px;
  font-size: var(--heading);
  letter-spacing: var(--heading-tracking);
}
h2 {
  margin-bottom: 8px;
  font-size: var(--subheading);
  letter-spacing: var(--subheading-tracking);
}
a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible, nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
a:focus-visible { outline: 2px solid #767676; outline-offset: 4px; }

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px var(--gutter);
  background: #fff;
}
.site-header img { display: block; max-width: 100%; height: auto; filter: brightness(0); }
main { flex: 1; padding: clamp(80px, 17svh, 180px) var(--gutter); }
.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
  align-items: baseline;
  padding: 60px var(--gutter);
}
.contacts { grid-column: 2; grid-row: 1; }
.contacts p { margin-top: 16px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 18px;
  grid-column: 1;
  grid-row: 2;
}
.notice { grid-column: 2; grid-row: 2; overflow-wrap: anywhere; }
.studio-values {
  display: inline-flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #747474;
  font-size: 12px;
}
.studio-values li { padding: 4px 10px; border: 1px solid; border-radius: 999px; line-height: 1; }

@media (max-width: 900px) {
  :root { --heading: 36px; --heading-tracking: -1.44px; --subheading: 31px; --subheading-tracking: -1.24px; }
}
@media (max-width: 750px) {
  :root { --gutter: 5%; }
  .site-header { padding-block: 18px; }
  .site-footer { grid-template-columns: 1fr; gap: 24px; padding-block: 40px; }
  .contacts, .footer-brand, .notice { grid-column: 1; }
  .notice { grid-row: 3; }
}

.site-header { z-index: 2; }
.site-header nav { display: flex; gap: 12px 28px; flex-wrap: wrap; }
.intro p { max-width: 78ch; line-height: 1.35; }
form { margin-top: 80px; }
.saving-note, .hint { color: #626262; line-height: 1.3; }
.saving-note { margin-bottom: 20px; }
.form-fields { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset:disabled { opacity: .65; }
details { border-top: 1px solid #000; }
details:last-of-type { border-bottom: 1px solid #000; }
summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 0;
  cursor: pointer;
  list-style: none;
  font-size: var(--subheading);
  letter-spacing: var(--subheading-tracking);
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; }
details[open] summary::after { content: "−"; }
.fields { padding: 0 0 24px; display: grid; gap: 24px; }
.field { display: grid; gap: 8px; }
.field label { line-height: 1.25; }
textarea, select, button, input { font: inherit; color: inherit; }
textarea, select, input {
  border: 0;
  border-radius: 5px;
  background: #f6f6f6;
  padding: 14px 16px;
}
textarea { min-height: 112px; width: 100%; line-height: 1.3; resize: vertical; }
select { width: min(100%, 580px); }
textarea:focus-visible, select:focus-visible, input:focus-visible { background: #ebebeb; outline: 0; }
button { cursor: pointer; border: 0; border-radius: 5px; }
button[type="submit"] { background: #000; color: #c7c7c7; padding: 14px 18px; min-height: 48px; }
button[type="submit"]:hover { color: #fff; }
.form-action { margin: 24px 0 0; }
.save-bar { margin-top: 12px; display: flex; gap: 12px 20px; flex-wrap: wrap; align-items: center; }
.text-button { background: transparent; padding: 0; text-decoration: underline; text-underline-offset: 4px; }
.reference { margin-top: 56px; line-height: 1.4; }
.reference a { text-decoration: underline; text-underline-offset: 4px; }
.login-page { display: grid; place-items: center; padding: 24px; }
.login { width: min(100%, 420px); padding: 0; flex: 0; transform: translateY(-5svh); }
.login h1 { margin-bottom: 32px; }
.login form { margin: 0; display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.login input { flex: 1; min-width: 0; height: 36px; padding: 8px 12px; }
.login input::placeholder { color: #747474; }
.login form button[type="submit"] { color: #000; background: transparent; min-height: 36px; padding: 0; }
.login form button:hover { opacity: .65; }
.login [role="alert"] { margin-top: 12px; }
@media (max-width: 750px) {
  .site-header { align-items: flex-start; gap: 16px; }
  .site-header nav { justify-content: flex-end; }
  .site-header img { min-width: 82px; }
  form { margin-top: 48px; }
  textarea, select, input { font-size: 16px; }
}
dialog { width: min(720px, 92vw); max-height: 85dvh; border: 0; border-radius: 5px; padding: 28px; }
dialog::backdrop { background: #0008; }
dialog h3 { margin: 24px 0 12px; }
dialog p { margin: 0 0 12px; }
dialog p span { display: block; white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 4px; color: #626262; }
dialog button { margin: 12px 20px 0 0; }
