/* FOAT LIMITED — proposal build. Design direction: bold-oxblood
   Palette: near-black #1c1c1c (primary) / off-white #f2f0eb (accent) on a light neutral base.
   Type: Libre Baskerville (headings, serif) + Inter (body, sans). */

:root {
  --near-black: #1c1c1c;
  --cream: #f2f0eb;
  --base: #faf9f6;
  --rule: #1c1c1c;
  --muted: #4a4a46;
  --banner-h: 34px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--base);
  color: var(--near-black);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  padding-top: var(--banner-h);
}

h1, h2, h3 {
  font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.6em 0;
  color: var(--near-black);
}

a {
  color: var(--near-black);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover, a:focus {
  color: var(--muted);
}

p { margin: 0 0 1.1em 0; }

.rule {
  border: none;
  border-top: 3px solid var(--rule);
  margin: 0.4em 0 1.6em 0;
  width: 100%;
}

.rule--thin {
  border-top-width: 1px;
  margin: 1.6em 0;
}

/* ---------- Proposal banner (fixed, unremovable by ordinary use) ---------- */
.proposal-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--banner-h);
  background: #0c0c0c;
  color: var(--cream);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  border-bottom: 1px solid #333;
}

/* ---------- Watermark (fixed, low-density, non-interactive) ---------- */
.watermark {
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  overflow: hidden;
}

.watermark span {
  position: absolute;
  left: -40%;
  width: 180%;
  text-align: center;
  white-space: nowrap;
  transform: rotate(-30deg);
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 800;
  font-size: 6rem;
  letter-spacing: 0.15em;
  color: #808080;
  opacity: 0.06;
}

.watermark span:nth-child(1) { top: 4%; }
.watermark span:nth-child(2) { top: 32%; }
.watermark span:nth-child(3) { top: 60%; }
.watermark span:nth-child(4) { top: 88%; }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--near-black);
  color: var(--cream);
  position: relative;
  z-index: 10;
}

.site-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-header__name {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.35rem;
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-header__name:hover,
.site-header__name:focus {
  color: var(--cream);
  opacity: 0.85;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--cream);
  color: var(--cream);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  color: var(--near-black);
  padding: 8px 14px;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.header-phone:hover,
.header-phone:focus {
  color: var(--near-black);
  opacity: 0.85;
}

/* ---------- Layout shell ---------- */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Hero (asymmetric: oversized heading, graphic block offset below-right) ---------- */
.hero {
  padding: 64px 0 40px 0;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  max-width: 100%;
  border-bottom: 6px solid var(--near-black);
  padding-bottom: 0.3em;
}

.hero__deck {
  font-size: 1.2rem;
  max-width: 46ch;
  color: var(--muted);
  margin-top: 0.6em;
}

.hero__graphic-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

.hero__graphic {
  width: min(58%, 460px);
  aspect-ratio: 4 / 3;
  background: var(--near-black);
  position: relative;
  overflow: hidden;
}

.hero__graphic::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(242,240,235,0.08) 22px 24px);
}

.hero__graphic::after {
  content: "P & H";
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: var(--cream);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 2.4rem;
  letter-spacing: 0.02em;
}

/* ---------- Sections ---------- */
.section {
  padding: 40px 0;
}

.section h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  border-bottom: 4px solid var(--near-black);
  display: inline-block;
  padding-bottom: 0.2em;
  margin-bottom: 0.7em;
}

.section--panel {
  background: var(--cream);
}

.lede {
  font-size: 1.15rem;
  max-width: 60ch;
}

/* Editorial services block with bold lead-ins */
.service-entry {
  max-width: 66ch;
  margin-bottom: 1.8em;
  padding-top: 1.4em;
  border-top: 1px solid #d8d4c9;
}

.service-entry:first-of-type {
  border-top: none;
  padding-top: 0;
}

.service-entry p {
  margin: 0;
}

.service-entry .lead-in {
  font-weight: 700;
}

.placeholder {
  background: #eceae2;
  border: 1px dashed #9a968a;
  padding: 0 6px;
  font-style: normal;
  white-space: nowrap;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; }
  .hero__graphic { width: 100%; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-facts dt {
  font-weight: 700;
  margin-top: 1.1em;
}

.contact-facts dd {
  margin: 0.2em 0 0 0;
}

form {
  display: grid;
  gap: 16px;
  max-width: 560px;
}

.field {
  display: grid;
  gap: 6px;
}

label {
  font-weight: 700;
  font-size: 0.92rem;
}

input, textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 12px;
  border: 1px solid #999488;
  background: #fff;
  color: var(--near-black);
}

input:focus, textarea:focus {
  outline: 2px solid var(--near-black);
  outline-offset: 1px;
}

textarea { resize: vertical; min-height: 120px; }

.error-text {
  color: #7a1414;
  font-size: 0.86rem;
  min-height: 1.1em;
}

.field.has-error input,
.field.has-error textarea {
  border-color: #7a1414;
}

button[type="submit"] {
  justify-self: start;
  background: var(--near-black);
  color: var(--cream);
  border: none;
  padding: 12px 26px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.01em;
}

button[type="submit"]:hover,
button[type="submit"]:focus {
  background: var(--muted);
}

.form-status {
  padding: 12px 14px;
  border: 1px solid var(--near-black);
  background: var(--cream);
  display: none;
  max-width: 560px;
}

.form-status.is-visible { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--near-black);
  color: var(--cream);
  margin-top: 60px;
  position: relative;
  z-index: 10;
}

.site-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer a { color: var(--cream); }

.site-footer nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer .proposal-note {
  border-top: 1px solid #444;
  padding: 16px 24px 26px 24px;
  font-size: 0.85rem;
  color: #cfcbc0;
  max-width: 1180px;
  margin: 0 auto;
}

.site-footer .proposal-note a {
  color: #f2f0eb;
  font-weight: 700;
}

@media (max-width: 600px) {
  .site-header__inner { padding: 14px 18px; }
  .wrap { padding: 0 18px; }
  .hero { padding: 40px 0 28px 0; }
}
