:root {
  --page-width: 92%;
  --page-max-width: 920px;
  --page-padding-y: 3.5rem;
  --space-section: 1.5rem;
  --bg: #000;
  --text: #fff;
  --accent: #d98c5f;
  --muted: rgba(255, 255, 255, 0.72);
  --line: #8d938e;
  --panel: #111514;
}

* { box-sizing: border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Liberation Serif", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.1vw, 1.5rem);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.page {
  width: var(--page-width);
  max-width: var(--page-max-width);
  margin: 0 auto;
}

.site-main { padding: var(--page-padding-y) 0 1.5rem; }
.site-footer { padding: 0.5rem 0 1.5rem; text-align: center; }

.lang-switch,
.nav,
.section-block,
.site-footer,
.hero,
.hero-figure { text-align: center; }

.lang-switch,
.nav,
.button-row {
  display: flex;
  flex-wrap: wrap;
}

.lang-switch {
  justify-content: flex-end;
  gap: 0.75rem;
  padding-bottom: 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  justify-content: center;
  gap: 1.25rem;
  font-size: 1rem;
}

.hero {
  display: grid;
  justify-items: center;
}

.hero-figure,
.hero-copy,
.section-title,
.intro-kicker { margin: 0; }

.hero-figure { width: 100%; }

.hero-figure img {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.intro-kicker {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button-row {
  justify-content: center;
  gap: 1rem;
  width: 100%;
  margin-top: var(--space-section);
}

.button {
  flex: 1 1 0;
  min-width: 0;
  max-width: 20rem;
  padding: 0.85rem 1.4rem;
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 0;
  color: var(--accent);
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  font-style: normal;
  line-height: 1.1;
}

.button:hover { background: var(--accent); color: #000; }

.button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.button:disabled:hover {
  background: transparent;
  color: var(--accent);
}

.hero-copy {
  max-width: 38rem;
  margin: 0 auto;
  color: var(--muted);
  text-align: left;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 1.9;
}

.section-block { width: 100%; padding-top: var(--space-section); }

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  line-height: 1;
  padding-bottom: 0.85rem;
}

.section-copy {
  max-width: 42rem;
  margin: 0 auto;
  color: var(--muted);
  text-align: left;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-style: normal;
  font-size: clamp(1rem, 1.9vw, 1.2rem);
  line-height: 1.8;
}

.section-copy p { margin: 0; }

.section-copy p + p { margin-top: 1.2rem; }

.change-list {
  max-width: 42rem;
  margin: 0 auto;
  padding-left: 1.25rem;
  color: var(--muted);
  text-align: left;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-style: normal;
  font-size: clamp(1rem, 1.9vw, 1.2rem);
  line-height: 1.8;
}

.change-list li + li { margin-top: 0.35rem; }

.feature-art-section {
  padding-top: calc(var(--space-section) * 1.4);
}

.feature-figure {
  width: 100%;
  margin: 0;
}

.feature-figure img {
  width: 100%;
  max-width: none;
}

.contact-block { text-align: center; }

.contact-block a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--text);
  text-underline-offset: 0.18em;
}

.contact-block a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
  border-top-color: transparent;
}

.social-section {
  padding-top: calc(var(--space-section) * 1.6);
}

.social-panel {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  max-width: 26rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 0.95rem;
}

.social-label {
  margin: 0;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 0.74rem;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.55rem;
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.52);
}

.social-links a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.18em;
}

.social-links a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.social-separator {
  color: rgba(255, 255, 255, 0.35);
}

.lang-switch a,
.nav a { color: var(--muted); }

.lang-switch .is-active,
.nav .is-active,
.lang-switch a:hover,
.nav a:hover { color: var(--accent); }

.lang-switch a,
.nav a {
  border-top: 1px solid transparent;
  padding-top: 0.2rem;
}

.lang-switch a:hover,
.nav a:hover { border-top-color: var(--accent); }

.intro-panel {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
}

.intro-panel .hero-copy {
  max-width: none;
  margin: 0;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-style: normal;
  font-size: clamp(1rem, 1.65vw, 1.12rem);
  line-height: 1.75;
}

.project-quote {
  max-width: 30rem;
  margin: 0 auto;
  color: var(--text);
  text-align: center;
  font-style: normal;
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  line-height: 1.28;
}

.project-summary {
  display: grid;
  gap: var(--space-section);
  justify-items: center;
}

.form-panel {
  max-width: 42rem;
  margin: 2rem auto 0;
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--line);
  background: var(--panel);
  text-align: left;
}

.status,
.error-list {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
}

.status {
  color: #000;
  background: var(--accent);
}

.error-list {
  padding-left: 2rem;
  color: #ffd6d1;
  background: rgba(120, 24, 24, 0.45);
}

.form-grid {
  display: grid;
  gap: 1.25rem;
}

.field {
  display: grid;
  gap: 0.45rem;
  text-align: left;
}

.field label {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: italic;
  font-family: "Liberation Serif", Georgia, "Times New Roman", serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field input {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #161b1a;
  color: var(--muted);
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1rem;
  font-style: normal;
  line-height: 1.5;
  appearance: none;
}

.field input::placeholder {
  color: rgba(255, 255, 255, 0.44);
}

.field input:focus {
  outline: none;
  border-color: var(--accent);
}

.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--muted);
  -webkit-box-shadow: 0 0 0 1000px #161b1a inset;
  box-shadow: 0 0 0 1000px #161b1a inset;
  transition: background-color 9999s ease-in-out 0s;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 1.3rem minmax(0, 1fr);
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--muted);
  text-align: left;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.7;
  padding-top: 0.35rem;
}

.checkbox-field input {
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.15rem;
  margin-left: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #161b1a;
  appearance: none;
  cursor: pointer;
  position: relative;
}

.checkbox-field input:checked {
  border-color: var(--accent);
  background: var(--accent);
}

.checkbox-field input:checked::after {
  content: "";
  position: absolute;
  top: 0.14rem;
  left: 0.4rem;
  width: 0.3rem;
  height: 0.62rem;
  border: solid #000;
  border-width: 0 0.14rem 0.14rem 0;
  transform: rotate(45deg);
}

.checkbox-field input:focus {
  outline: none;
  border-color: var(--accent);
}

@media (max-width: 640px) {
  :root {
    --page-width: 90%;
    --page-padding-y: 1.25rem;
  }

  .checkbox-field {
    gap: 0.65rem;
  }
}

@media (max-width: 432px) {
  .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    flex: none;
    width: 100%;
    max-width: none;
  }
}
