/*
 * pfeiferland.com — one stylesheet.
 * Reproduces the X theme "Integrity Light" look the WordPress site had
 * (values measured from the live site, Oct 2026), minus the WordPress weight.
 *
 * Contents: 1 tokens · 2 base · 3 header/nav · 4 breadcrumbs · 5 cards & wraps
 *           6 section grids · 7 project pages · 8 home · 9 the basics
 *           10 contact · 11 footer · 12 small screens
 */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --font: Times, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --bg: #f7f7f7;
  --text: #080808;
  --heading: #000;
  --link: #0f0f0f;
  --muted: #999;
  --nav-active: #272727;
  --card: #fff;
  --card-border: #ddd;
  --shadow: 0 2.1px 4.9px rgba(0, 0, 0, .133);
  --container: 90%;
  --container-max: 1500px;
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 14px/1.7 var(--font);
}
img, svg, picture { max-width: 100%; height: auto; display: inline-block; vertical-align: middle; }
picture img { display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { color: #000; text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { color: var(--heading); font-weight: 400; margin: 1.25em 0 .2em; line-height: 1.2; }
h3 { font-size: 24px; letter-spacing: -.05em; }
h4 { font-size: 21px; letter-spacing: -.035em; }
p, ol, ul, blockquote, figure { margin: 0 0 1.313em; }
blockquote { margin: 1.5em 0; padding-left: 1.5em; border-left: 4px solid rgba(0,0,0,.08); font-style: italic; }
.container { width: var(--container); max-width: var(--container-max); margin: 0 auto; }
.icon { width: 1em; height: 1em; fill: currentColor; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
/* Shown only when tabbed to (the old theme left it visible at the top). */
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  padding: 8px 14px; background: #fff; border: 1px solid var(--card-border); box-shadow: var(--shadow);
}
.skip-link:focus { top: 8px; }
:focus-visible { outline: 2px solid #1a6fd1; outline-offset: 2px; }

/* 3. Header / navigation ----------------------------------------------- */
.navbar {
  background: #fff;
  border-bottom: 1px solid #ccc;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 10;
}
.navbar-inner { display: flex; align-items: flex-start; justify-content: space-between; min-height: 90px; }
.brand {
  margin-top: 22px;
  font-size: 22px; line-height: 1; letter-spacing: -.035em;
  color: var(--nav-active);
}
.brand:hover { text-decoration: none; color: #000; }
.nav ul { display: flex; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; height: 90px; padding: 37px 20px 0;
  font-size: 13px; line-height: 1; letter-spacing: .085em; text-transform: uppercase;
  color: var(--muted);
}
.nav a:hover, .nav .current a {
  color: var(--nav-active); text-decoration: none;
  box-shadow: inset 0 4px 0 0 #0f0f0f;
}
.nav li:last-child a { padding-right: 0; }
.nav-toggle {
  display: none; margin: 26px 0 0; padding: 9px 13px;
  font: inherit; font-size: 20px; line-height: 1; color: #919191;
  background: #fff; border: 1px solid rgba(0,0,0,.125); border-radius: 4px;
  box-shadow: inset 0 0 0 rgba(0,0,0,0), 0 1px 5px rgba(0,0,0,.125); cursor: pointer;
}

/* 4. Breadcrumbs -------------------------------------------------------- */
.breadcrumb-wrap {
  background: rgba(0, 0, 0, .024);
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .714);
  padding: 10.5px 0;
  font-size: 10px; line-height: 14px; letter-spacing: 1px; text-transform: uppercase;
}
.breadcrumb-inner { display: flex; justify-content: space-between; align-items: center; gap: 1em; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .55em; }
.breadcrumbs a { color: var(--text); }
.breadcrumbs .crumb-home .icon { width: 11px; height: 11px; vertical-align: -1px; }
.breadcrumbs .delimiter { color: rgba(0,0,0,.4); }
.nav-articles { display: flex; gap: 14px; }
.nav-articles a { color: var(--text); }
.nav-articles .icon { width: 12px; height: 12px; }

/* 5. White cards ("entry wrap") ---------------------------------------- */
.entry-wrap {
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
}
.page-wrap { margin-top: 0; margin-bottom: 80px; }
.page-wrap > .entry-wrap { margin-top: 0; padding: 60px; border-top: 0; }
.entry-title { margin: 0; }
.page-wrap .entry-title { font-size: 40px; line-height: 1.05; letter-spacing: -.017em; }

/* 6. Section grids ------------------------------------------------------ */
.landmark { margin-top: 34px; margin-bottom: 40px; text-align: center; }
.h-landmark {
  display: flex; align-items: center; gap: .45em;
  margin: 0; padding-bottom: 8px;
  font-size: 56px; line-height: 1; letter-spacing: -3px;
}
.h-landmark::before, .h-landmark::after { content: ""; flex: 1; border-top: 1px solid rgba(0,0,0,.1); transform: translateY(-.1em); }
.h-landmark span { padding: 0 .1em; }
.portfolio-filters { position: relative; display: inline-block; margin-top: 12px; }
.filters-toggle {
  display: inline-flex; align-items: center; gap: .4em;
  padding: 9px 15px 10px; font: inherit; font-size: 13px; line-height: 1.3; text-transform: uppercase;
  color: rgba(0,0,0,.376); background: transparent;
  border: 1px solid rgba(0,0,0,.125); border-radius: 4px;
  box-shadow: inset 0 0 0 rgba(0,0,0,0), 0 1px 1px rgba(255,255,255,.95);
  cursor: pointer;
}
.is-static .filters-toggle { cursor: default; }
.filters-toggle:hover { color: rgba(0,0,0,.6); }
.filters-toggle .icon { width: 11px; height: 11px; }
.filters-list {
  list-style: none; margin: 10px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px;
}
.filters-list button {
  font: inherit; font-size: 12px; text-transform: uppercase; letter-spacing: .05em;
  background: none; border: 0; padding: 4px 2px; color: rgba(0,0,0,.45); cursor: pointer;
}
.filters-list button[aria-pressed="true"], .filters-list button:hover { color: #000; }

.portfolio-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 28px; align-items: start;
  margin-bottom: 80px;
}
/* With JS, cards are placed masonry-style like the old theme's grid. */
.portfolio-grid.is-masonry { display: block; position: relative; }
.portfolio-grid.is-masonry .portfolio-card { position: absolute; }
.portfolio-card { margin-bottom: 28px; }
.portfolio-card[hidden] { display: none; }
.card-media {
  display: block; background: #fff;
  border: 1px solid var(--card-border); border-bottom: 0;
}
.card-media img { width: 100%; height: auto; }
.portfolio-card .entry-wrap { margin-top: -1px; padding: 29px 17px 35px; text-align: center; }
.portfolio-card .entry-title { padding: 0 16px; font-size: 21px; line-height: 1.05; letter-spacing: -.035em; }
.portfolio-card .entry-title a { color: var(--heading); }
.entry-share {
  display: flex; justify-content: center; gap: 14px;
  margin: 15px 0 -10px; padding: 12px 0;
  border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0;
}
.entry-share a { color: var(--text); font-size: 17px; line-height: 1; }
.entry-share a:hover { color: #000; }

/* 7. Project pages ------------------------------------------------------ */
.project-featured { margin: -60px -60px 50px; }
.project-featured img { width: 100%; }
.project-cols { display: flex; justify-content: space-between; gap: 40px; }
.entry-info { flex: 0 1 63.86%; min-width: 0; }
.entry-extra { flex: 0 1 27.94%; }
.p-meta { margin: 8px 0 0; font-size: 12px; line-height: 1.5; text-transform: uppercase; }
.p-meta > span + span::before { content: "/"; margin: 0 .5em; color: rgba(0,0,0,.4); }
.p-meta a { color: var(--text); }
.entry-content { margin-top: 17.5px; }
.entry-content img { height: auto; }
.entry-content picture { display: inline-block; max-width: 100%; vertical-align: top; }
.entry-content .aligncenter, .entry-content picture:has(> img.aligncenter) { display: block; margin-left: auto; margin-right: auto; }
.entry-content .alignleft { float: left; margin: .35em 1.5em 1em 0; }
.entry-content .alignright { float: right; margin: .35em 0 1em 1.5em; }
.entry-content figure.wp-caption { max-width: 100%; margin: 0 0 1.313em; }
.entry-content figure.wp-caption picture, .entry-content figure.wp-caption img { display: block; width: 100%; }
.entry-content figcaption { margin-top: .5em; font-size: 13px; line-height: 1.5; color: rgba(0,0,0,.6); font-style: italic; }
.entry-content::after { content: ""; display: table; clear: both; }
.x-img-thumbnail { padding: 5px; border: 1px solid #ddd; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.05); }
.project-share { text-align: center; padding: 0; border: 0; margin: 0; display: block; }
.share-title {
  margin: 0 0 .9em; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4;
}
.share-icons { display: flex; justify-content: center; gap: 14px; padding: 10px 0; border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; }
.share-icons a { color: var(--text); font-size: 17px; line-height: 1; }

/* 8. Home ---------------------------------------------------------------- */
.page-home .home-hero picture, .page-home .home-hero img { display: block; width: 100%; }
.home-intro { padding: 56px 0 80px; }
.home-title { margin: 0 0 .2em; text-align: center; font-size: 56px; line-height: 1.1; letter-spacing: -.017em; }
.home-teasers { display: grid; grid-template-columns: repeat(4, 250px); justify-content: space-between; margin-top: 42px; }
.home-teaser-img { display: block; }
.home-teaser-img img { width: 250px; height: auto; }
.home-teaser-title { margin: 42px 0 12px; font-size: 24px; line-height: 1.1; letter-spacing: -.051em; }
.home-teaser-title a { color: var(--heading); }

/* 9. The Basics ---------------------------------------------------------- */
.basics .entry-title { font-size: 35px; line-height: 1.05; }
.basics-row { display: flex; gap: 36.5px; width: 90%; margin: 0 auto; padding: 45px 0; }
.basics-about { flex: 0 0 280px; }
.basics-about > picture img { width: 280px; height: auto; }
.basics-text { margin: 12px 4px; font: 14px/1.4 var(--font-sans); color: #000; }
.basics-text p { margin-bottom: 18.4px; }
.basics-ask { margin: 22px 4px 0; line-height: 1.3; }
.basics-ask a { color: var(--link); }
.basics-ask-q { font-size: 19.2px; }
.basics-ask-cta { font-size: 14.4px; }
.basics-rule { margin: 5px 5px 15px; border: 0; border-top: 2px solid rgba(0,0,0,.5); }
.basics-social { list-style: none; padding: 0 5px; margin: 0; display: flex; flex-wrap: wrap; gap: 26px 10px; width: 260px; }
.basics-social img { width: 50px; height: auto; }
.basics-resume { flex: 1 1 597px; min-width: 0; }
.basics-resume-note { margin: 0 0 .2em; text-align: center; font-size: 14px; line-height: 1.4; }
.basics-resume img { width: 100%; height: auto; }

/* 10. Contact ------------------------------------------------------------ */
.contact .entry-content { max-width: 640px; }
.contact-form { max-width: 640px; margin-top: 10px; }
.field label { display: block; margin-bottom: 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.field input, .field textarea {
  width: 100%; padding: 10px 12px; font: 15px/1.4 var(--font);
  color: var(--text); background: #fff;
  border: 1px solid #ccc; border-radius: 3px; box-shadow: inset 0 1px 1.5px rgba(0,0,0,.08);
}
.field input:focus, .field textarea:focus { border-color: #888; outline: none; box-shadow: 0 0 0 2px rgba(26,111,209,.25); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error, .form-error { display: block; margin-top: 4px; color: #b3261e; font-size: 13px; }
.form-error { padding: 10px 14px; background: #fdf3f2; border: 1px solid #f1c9c5; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 6px 0 16px; min-height: 65px; }
.button {
  display: inline-block; padding: 10px 22px; font: inherit; font-size: 14px; text-transform: uppercase; letter-spacing: .06em;
  color: #fff; background: #272727; border: 1px solid #000; border-radius: 4px; cursor: pointer;
}
.button:hover { background: #000; }

/* 11. Footer ------------------------------------------------------------- */
.colophon {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, .086);
  box-shadow: 0 -1.75px 3.5px rgba(0, 0, 0, .075);
  padding: 34px 0 30px;
  color: #7a7a7a;
}
/* Name lower left, page links lower right, copyright on its own line below. */
.colophon-inner {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline;
  column-gap: 30px; row-gap: 18px;
}
.colophon-brand { font-size: 22px; line-height: 1; letter-spacing: -.035em; color: var(--nav-active); }
.colophon-brand:hover { color: #000; text-decoration: none; }
.footer-nav {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px;
  font-size: 11px; letter-spacing: .085em; text-transform: uppercase;
}
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--nav-active); text-decoration: none; }
.copyright { grid-column: 1 / -1; margin: 0; padding-top: 16px; border-top: 1px solid #f0f0f0; font-size: 11px; color: #999; }

/* 12. Small screens ------------------------------------------------------ */
@media (max-width: 1199px) {
  .home-teasers { grid-template-columns: repeat(2, minmax(0, 250px)); justify-content: space-around; row-gap: 20px; }
}
@media (max-width: 979px) {
  .navbar-inner { flex-wrap: wrap; min-height: 0; padding-bottom: 20px; }
  .nav-toggle { display: inline-flex; }
  .nav { flex-basis: 100%; display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; margin-top: 20px; border-top: 1px solid rgba(0,0,0,.1); }
  .nav a { height: auto; padding: 13px 0; border-bottom: 1px solid rgba(0,0,0,.1); box-shadow: none !important; }
  .nav .current a { color: #000; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .project-cols { flex-direction: column; gap: 30px; }
  .basics-row { flex-direction: column; width: 100%; }
  .basics-about { flex-basis: auto; }
  .h-landmark { font-size: 42px; letter-spacing: -2px; }
}
@media (max-width: 760px) {
  .page-wrap > .entry-wrap { padding: 30px 24px; }
  .project-featured { margin: -30px -24px 30px; }
  .page-wrap .entry-title { font-size: 32px; }
  .entry-content .alignleft, .entry-content .alignright { float: none; margin: 0 0 1em; }
  .home-intro { padding-top: 36px; }
  .home-title { font-size: 40px; }
  .home-teasers { grid-template-columns: 1fr; justify-items: center; }
  .breadcrumb-inner { flex-wrap: wrap; }
  .colophon-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .container { width: 88%; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .h-landmark { font-size: 34px; letter-spacing: -1px; }
  .h-landmark::before, .h-landmark::after { display: none; }
  .h-landmark { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
