/* Alexandra Nistor — About & Contact v2 (Layout C, fit-to-screen) */
:root {
  --bg: #faf9f6;
  --ink: #221e20;
  --accent: #502e60;
  --divider: #c6c1ba;
  --muted: #8c8680;
  --header-side: 56px;
  --content: 1240px;
  --gutter: 40px;
  --mono: 88px;
  --header-stack: 182px;
  --fit-hero: calc(100vh - 210px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Montserrat", system-ui, sans-serif;
  overflow-x: clip;
  scrollbar-width: none;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/Jost-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: block;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: block;
}

/* ——— Header (Layout C, unchanged) ——— */
.site-header {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding: 36px var(--header-side) 0;
  min-height: calc(36px + var(--mono));
  background: var(--bg);
}
.site-header .name {
  font-family: "Jost", sans-serif;
  font-size: 41px;
  line-height: 1;
  letter-spacing: 2px;
  height: var(--mono);
  display: flex;
  align-items: center;
  justify-self: start;
  white-space: nowrap;
}
.header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header-center .mono {
  width: auto;
  height: var(--mono);
}
nav.menu {
  margin-top: 16px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: baseline;
}
nav.menu a { padding: 0 2px; }
nav.menu a.on,
nav.menu a:hover,
nav.menu a:focus-visible {
  color: var(--accent);
  box-shadow: inset 0 -1px 0 var(--accent);
}
nav.menu .dot {
  color: var(--muted);
  padding: 0 0.55em;
  font-weight: 400;
}
.socials {
  justify-self: end;
  height: var(--mono);
  display: flex;
  align-items: center;
  gap: 34px;
}
.socials a { display: block; line-height: 0; }
.socials .icon { width: 34px; height: 34px; display: block; }
.header-rule {
  width: var(--content);
  max-width: calc(100% - 2 * var(--header-side));
  height: 1px;
  background: var(--divider);
  margin: 22px auto 0;
}

.wrap {
  width: var(--content);
  max-width: calc(100% - 2 * var(--header-side));
  margin: 0 auto;
}

.ph {
  color: var(--muted);
  border-bottom: 1px dashed var(--divider);
  padding: 0 1px 1px;
}

.section-head {
  font-family: "Jost", sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0 0 28px;
}

.screen {
  width: var(--content);
  max-width: calc(100% - 2 * var(--header-side));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0 48px;
}

/* ——— About hero ——— */
.about-hero {
  width: var(--content);
  max-width: calc(100% - 2 * var(--header-side));
  margin: 0 auto;
  min-height: calc(100vh - var(--header-stack));
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr);
  gap: 64px;
  align-items: center;
  padding: 20px 0 28px;
}
.portrait {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.portrait img {
  width: auto;
  height: auto;
  max-width: 600px;
  max-height: calc(100vh - 248px);
  object-fit: contain;
  object-position: center;
}
.portrait figcaption { margin: 0; }
.portrait .location {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-align: center;
  color: var(--muted);
  margin-top: 12px;
}
.portrait .photo-credit {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-align: center;
  color: var(--muted);
  margin-top: 4px;
}
.portrait .photo-credit a {
  color: var(--muted);
}
.portrait .photo-credit a:hover,
.portrait .photo-credit a:focus-visible,
.portrait .photo-credit a.is-an-hover {
  color: var(--accent);
  box-shadow: inset 0 -1px 0 var(--accent);
}
.about-copy { max-width: 560px; }
.about-copy h1 {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 48px;
  letter-spacing: 5px;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 12px;
}
.about-copy .role {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
}
.bio p {
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
  margin: 0 0 18px;
}
.bio p:last-child { margin-bottom: 0; }

/* ——— About second screen ——— */
.about-more.screen { gap: 80px; justify-content: center; min-height: calc(100vh - 90px); padding: 56px 0 56px; }
.about-grid,
.recognition-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}
.about-more ul {
  list-style: none;
  font-size: 15px;
  line-height: 1.75;
}
.about-more li {
  padding: 0 0 16px;
  margin: 0 0 16px;
  border-bottom: 1px solid var(--divider);
}
.about-more li:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.highlight-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 270px;
}
.highlight-photo img {
  width: auto;
  height: auto;
  max-width: 260px;
  max-height: 450px;
  object-fit: contain;
  object-position: center;
}
.highlight-photo figcaption {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-align: center;
  color: var(--muted);
  margin-top: 8px;
  align-self: stretch;
}
.services-list .lead {
  font-weight: 800;
}
.about-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 88px;
  min-height: 100%;
}
.cta {
  text-align: center;
  margin-top: 0;
}
.cta a {
  font-family: "Jost", sans-serif;
  font-size: 18px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  box-shadow: inset 0 -1px 0 var(--ink);
  padding-bottom: 4px;
}
.cta a:hover,
.cta a:focus-visible,
.cta a.is-an-hover {
  color: var(--accent);
  box-shadow: inset 0 -1px 0 var(--accent);
}

/* ——— Contact ——— */
.contact-hero {
  --spark: #ff5a1f;
  width: var(--content);
  max-width: calc(100% - 2 * var(--header-side));
  margin: 0 auto;
  min-height: calc(100vh - var(--header-stack) - 88px);
  display: grid;
  grid-template-columns: 320px minmax(260px, 1fr) minmax(400px, 1.15fr);
  gap: 56px;
  align-items: start;
  padding: 32px 0 24px;
}
.contact-art {
  position: relative;
  margin: 0;
  width: 320px;
  justify-self: start;
}
.contact-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  transform: rotate(-1.8deg);
  box-shadow: 0 18px 40px rgba(34, 30, 32, 0.16);
}
.contact-art .art-block {
  position: absolute;
  z-index: 0;
  inset: 20px -16px -16px 20px;
  background: var(--accent);
  transform: rotate(2.8deg);
}
.contact-copy h1 {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 42px;
  letter-spacing: 0.5px;
  text-transform: none;
  line-height: 1.15;
  margin: 0 0 30px;
  color: var(--ink);
}
.contact-copy .invite {
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 440px;
}
.contact-copy .email {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.04em;
  margin: 0;
}
.contact-copy .email a {
  box-shadow: inset 0 -1px 0 var(--ink);
  padding-bottom: 2px;
}
.contact-copy .email a:hover,
.contact-copy .email a:focus-visible,
.contact-copy .email a.is-an-hover {
  color: var(--accent);
  box-shadow: inset 0 -1px 0 var(--accent);
}
.contact-copy .response {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 8px;
}

/* Form */
.enquiry {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.enquiry label,
.enquiry .label {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.enquiry input[type="text"],
.enquiry input[type="email"],
.enquiry select,
.enquiry textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--divider);
  border-radius: 0;
  color: var(--ink);
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  padding: 6px 0 8px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.enquiry select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%23221e20' stroke-width='1.2' d='M1 1.5l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 22px;
}
.enquiry textarea {
  min-height: 120px;
  resize: vertical;
  border: 1px solid var(--divider);
  padding: 10px 12px;
  line-height: 1.6;
}
.enquiry input:focus,
.enquiry select:focus {
  border-bottom: 2px solid var(--spark, #ff5a1f);
}
.enquiry textarea:focus {
  border-color: var(--spark, #ff5a1f);
}
.enquiry div:focus-within > label {
  color: var(--accent);
}
.enquiry .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}
.enquiry .consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--accent);
  flex: none;
}
.enquiry .consent label {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}
.enquiry .actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
}
.enquiry button[type="submit"] {
  font-family: "Jost", sans-serif;
  font-size: 15px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: var(--accent);
  color: #faf9f6;
  border: 0;
  padding: 14px 28px 13px;
  cursor: pointer;
  white-space: nowrap;
  flex: none;
  box-shadow: 4px 4px 0 var(--spark, #ff5a1f);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.enquiry button[type="submit"]:hover,
.enquiry button[type="submit"]:focus-visible,
.enquiry button[type="submit"].is-an-hover {
  color: #faf9f6;
  background: #3f244c;
  border-bottom: 0;
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--spark, #ff5a1f);
}
.form-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  width: var(--content);
  max-width: calc(100% - 2 * var(--header-side));
  margin: 0 auto;
  padding: 24px 0 40px;
  border-top: 1px solid var(--divider);
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
    padding: 24px 24px 0;
  }
  .site-header .name { font-size: 28px; height: auto; justify-self: center; }
  .socials { justify-self: center; height: auto; }
  .about-hero,
  .contact-hero,
  .about-grid,
  .recognition-block { grid-template-columns: 1fr; gap: 32px; }
  .highlight-photo { max-width: 270px; }
  .about-hero, .contact-hero { min-height: 0; padding: 28px 0; }
  .portrait img { width: 100%; max-width: 400px; height: auto; }
  .about-copy h1 { font-size: 36px; letter-spacing: 3px; }
  .contact-copy h1 { font-size: 32px; letter-spacing: 0.4px; }
  .contact-art { width: 240px; }
  .screen { min-height: 0; }
}
