/* Portillo Technologies — shared shell for the sub-pages (contact + legal).
   Self-contained: local Söhne, no CDN, no framework. Matches the umbrella site's
   ink/bone palette and micro-label tracking. */

@font-face { font-family: 'Söhne'; src: url('../fonts/soehne-buch.woff2') format('woff2'); font-weight: 100 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Söhne'; src: url('../fonts/soehne-dreiviertelfett.woff2') format('woff2'); font-weight: 501 900; font-style: normal; font-display: swap; }

:root {
  --ink: #08090A;
  --bone: #ECECE8;
  --silver: #B8BEC6;
  --steel: #8A9099;
  --line: rgba(236, 236, 232, .14);
  --measure: 34em;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: 'Söhne', system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
}

a { color: inherit; }

.wrap { width: min(1180px, 100% - 3rem); margin-inline: auto; }

/* header */
.site-head {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(8, 9, 10, .72);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.1rem 0; }
.site-head img { width: 15em; max-width: 52vw; display: block; }
.head-links { display: flex; gap: 1.6rem; }
.head-links a {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--silver); transition: color .25s ease;
}
.head-links a:hover { color: var(--bone); }

/* page head */
.page-head { padding: 7rem 0 3.5rem; border-bottom: 1px solid var(--line); }
.eyebrow {
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--steel); margin: 0 0 1.6rem;
}
h1 {
  font-weight: 700; letter-spacing: -.03em; line-height: 1.02;
  font-size: clamp(2.6rem, 7vw, 5.4rem); margin: 0;
}
.lede { max-width: var(--measure); color: var(--silver); margin: 1.6rem 0 0; font-size: 1.12rem; }

/* body copy */
main { padding: 4rem 0 6rem; }
section.block { max-width: var(--measure); margin: 0 0 3.2rem; }
h2 {
  font-weight: 700; letter-spacing: -.02em; line-height: 1.15;
  font-size: 1.45rem; margin: 0 0 .9rem;
}
h3 { font-weight: 700; font-size: 1.02rem; margin: 2rem 0 .5rem; letter-spacing: -.01em; }
p { margin: 0 0 1.1rem; color: var(--silver); }
p strong, li strong { color: var(--bone); font-weight: 600; }
ul { margin: 0 0 1.2rem; padding-left: 1.1rem; color: var(--silver); }
li { margin-bottom: .5rem; }

.meta { font-size: .84rem; color: var(--steel); }
.page-head .meta { margin-top: 1.6rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

/* contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }

.field { margin-bottom: 1.3rem; }
label {
  display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--steel); margin-bottom: .5rem;
}
input, textarea, select {
  width: 100%; background: transparent; color: var(--bone);
  border: 0; border-bottom: 1px solid var(--line);
  font: inherit; padding: .6rem 0; border-radius: 0;
  transition: border-color .25s ease;
}
select { appearance: none; cursor: pointer; }
select option { background: var(--ink); color: var(--bone); }
input:focus, textarea:focus, select:focus { outline: 0; border-bottom-color: var(--bone); }
textarea { resize: vertical; min-height: 7rem; }

button.send {
  margin-top: 1rem; cursor: pointer;
  background: var(--bone); color: var(--ink);
  border: 0; border-radius: 999px; padding: .95rem 2.2rem;
  font: inherit; font-weight: 600; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase;
  transition: transform .25s ease, opacity .25s ease;
}
button.send:hover { transform: scale(.97); }
.form-note { font-size: .82rem; color: var(--steel); margin-top: 1.1rem; }

.direct a { color: var(--bone); text-decoration: none; border-bottom: 1px solid var(--line); }
.direct a:hover { border-bottom-color: var(--bone); }

/* footer */
.site-foot { border-top: 1px solid var(--line); padding: 2.2rem 0 3rem; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.site-foot p, .site-foot a { font-size: .8rem; color: var(--steel); margin: 0; text-decoration: none; }
.site-foot a:hover { color: var(--bone); }
.foot-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* small screens: the lockup is 17.9:1, so it and the nav cannot share one row */
@media (max-width: 760px) {
  .wrap { width: min(1180px, 100% - 2rem); }
  .site-head .wrap { flex-wrap: wrap; gap: .9rem; padding: .9rem 0; }
  .site-head img { width: 11em; max-width: 60vw; }
  .head-links { flex-wrap: wrap; gap: 1rem; }
  .head-links a { font-size: .64rem; letter-spacing: .14em; }
  .page-head { padding: 4.5rem 0 2.5rem; }
  main { padding: 2.8rem 0 4rem; }
  .site-foot .wrap { flex-direction: column; gap: 1rem; }
}
