/*
Theme Name: Alden Bailey LC
Theme URI: https://aldenbailey.com/
Author: Codex for Alden Bailey
Description: Alden Bailey LC custom WordPress theme.
Version: 1.0.0
*/

:root {
  --bg: #ede3db;
  --surface: #f7efe9;
  --ink: #181514;
  --muted: #6f615b;
  --line: rgba(162, 51, 22, 0.16);
  --accent: #d82626;
  --accent-deep: #a23316;
  --content: 1220px;
  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 18px 44px rgba(70, 33, 24, 0.14);
  --title-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --body-font: "Avenir Next", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body-font);
  background:
    radial-gradient(circle at top left, rgba(216, 38, 38, 0.10), transparent 24%),
    radial-gradient(circle at top right, rgba(162, 51, 22, 0.08), transparent 22%),
    linear-gradient(180deg, #fbf5f1 0%, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.topbar,
.section,
.hero,
.footer-inner {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
}

.header-hook {
  position: relative;
  z-index: 22;
  padding: 0.75rem 0 0;
}

.header-hook-inner {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(216, 38, 38, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(216, 38, 38, 0.08), rgba(255, 248, 243, 0.96) 34%, rgba(162, 51, 22, 0.08));
  box-shadow: 0 10px 30px rgba(118, 43, 27, 0.08);
}

.hook-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff6f1;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-hook-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.4;
}

.header-hook-inner a {
  color: var(--accent-deep);
  font-weight: 700;
  white-space: nowrap;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  background: rgba(252, 246, 241, 0.9);
  backdrop-filter: blur(10px);
}

.brand-logo {
  width: 11rem;
  height: auto;
  filter: contrast(1.08) saturate(1.04);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.site-nav a,
.footer-socials a {
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-socials a:hover,
.footer-socials a:focus-visible,
.inline-accent-link:hover,
.inline-accent-link:focus-visible {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font: inherit;
}

.hero,
.hero-actions,
.logo-panel,
.gallery-feature,
.project-layout,
.project-card-grid,
.quotes-grid,
.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.hero {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  padding: 1.5rem 0 3rem;
}

.hero-media,
.gallery-main,
.gallery-stack img,
.photo-grid img,
.gallery-page-grid img {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media img,
.gallery-main img,
.gallery-stack img,
.photo-grid img,
.gallery-page-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.focus-roof {
  object-position: center 68%;
}

.focus-building {
  object-position: center 58%;
}

.hero-media {
  min-height: 640px;
}

.hero-media-overlay {
  position: relative;
}

.hero-media-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.14));
}

.hero-logo-overlay {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  width: min(64%, 28rem);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.96;
}

.hero-logo-overlay img {
  width: 100%;
  height: auto;
  filter:
    brightness(1.01)
    contrast(1.06)
    saturate(1.04)
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.12));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 247, 0.9);
  box-shadow: var(--shadow);
}

.hero-content {
  padding: 1.7rem;
}

.logo-banner {
  padding-top: 0;
}

.logo-panel {
  position: relative;
  overflow: hidden;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: center;
  padding: 1.5rem;
  background:
    linear-gradient(135deg, rgba(255, 248, 244, 0.96), rgba(246, 235, 228, 0.94)),
    var(--surface);
}

.logo-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 247, 244, 0.92), rgba(255, 247, 244, 0.68)),
    url("https://www.aldenbailey.com/wp-content/uploads/2012/04/roseland-4.jpg") center/cover no-repeat;
  opacity: 0.26;
  pointer-events: none;
}

.logo-panel > * {
  position: relative;
  z-index: 1;
}

.logo-panel-image {
  width: min(100%, 18rem);
  margin: 0 auto;
  border-radius: 0;
  filter: contrast(1.08) saturate(1.04);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--title-font);
  font-weight: 700;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.2rem, 9vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
}

h2 {
  max-width: 14ch;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.08;
}

.gallery-page-title {
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 5.3rem);
}

.hero-text,
.section-copy p,
.card p,
.footer p,
.footer a,
blockquote {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.hero-text {
  max-width: 54ch;
  margin: 1.5rem 0 0;
}

.hero-actions {
  grid-template-columns: auto auto;
  justify-content: start;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-weight: 600;
}

.button-primary {
  color: #fff7f4;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 250, 247, 0.9);
}

.inline-accent-link {
  color: var(--accent-deep);
  font-weight: 700;
}

.section {
  padding: 3.6rem 0;
}

.intro-section {
  padding-top: 0.2rem;
}

.gallery-page-header {
  padding-bottom: 0.5rem;
}

.gallery-page-section {
  padding-top: 0;
}

.section-copy {
  max-width: 60rem;
}

.section-copy p {
  max-width: 62ch;
}

.section-copy.narrow {
  max-width: 46rem;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: stretch;
}

.about-copy-block {
  align-self: center;
}

.about-visual {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  display: grid;
  align-items: end;
}

.about-visual-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 250, 248, 0.72), rgba(255, 245, 241, 0.82));
}

.about-visual-image {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  width: min(72%, 31rem);
  height: auto;
  border-radius: 22px;
  box-shadow: var(--shadow);
  z-index: 1;
}

.about-visual-caption {
  position: relative;
  z-index: 1;
  margin: 0 1.5rem 1.5rem;
  padding: 1.1rem 1.2rem;
  max-width: 22rem;
  border-radius: 22px;
  background: rgba(255, 250, 247, 0.9);
  backdrop-filter: blur(10px);
}

.about-visual-caption span {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
}

.about-visual-caption p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.services-top {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: end;
}

.services-feature {
  position: relative;
  margin-top: 0.5rem;
  min-height: 250px;
}

.services-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.services-feature-note {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  max-width: 14rem;
  padding: 0.8rem 0.9rem;
  border-radius: 20px;
  background: rgba(255, 250, 248, 0.86);
  backdrop-filter: blur(10px);
}

.services-feature-note span {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}

.services-feature-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.service-grid,
.photo-grid,
.gallery-page-grid {
  display: grid;
  gap: 1rem;
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2rem;
}

.service-grid article,
.quote-card,
.project-card-grid .card {
  padding: 1.5rem;
}

.gallery-feature {
  grid-template-columns: 1.3fr 0.7fr;
  margin-top: 2rem;
}

.gallery-main {
  min-height: 520px;
}

.gallery-stack {
  display: grid;
  gap: 1rem;
}

.gallery-stack img {
  min-height: 252px;
}

.photo-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1rem;
}

.photo-grid img {
  min-height: 250px;
}

.photo-grid-compact img {
  min-height: 220px;
}

.project-layout {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.project-list {
  margin: 1.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.9;
}

.project-card-grid {
  grid-template-columns: 1fr 1fr;
}

.project-label {
  margin: 0 0 0.7rem;
  color: var(--accent-deep) !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem !important;
  font-weight: 700;
}

.accent-card {
  background:
    linear-gradient(180deg, rgba(216, 38, 38, 0.08), rgba(216, 38, 38, 0.03)),
    var(--surface);
}

.references-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.reference-card {
  overflow: hidden;
}

.reference-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top;
  border-bottom: 1px solid var(--line);
}

.reference-copy {
  padding: 1.35rem 1.4rem 1.5rem;
}

.reference-copy h3 {
  margin-bottom: 0.8rem;
}

.reference-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.quotes-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 2rem;
}

blockquote {
  margin: 0;
  font-family: var(--title-font);
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--ink);
}

cite {
  display: block;
  margin-top: 1rem;
  color: var(--muted);
  font-style: normal;
  font-family: var(--body-font);
  font-size: 0.98rem;
}

.gallery-page-grid {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-page-grid img {
  min-height: 220px;
}

.footer {
  padding: 2.4rem 0 3.2rem;
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
}

.footer-inner {
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
}

.footer-title {
  margin: 0 0 0.6rem;
  color: var(--ink) !important;
  font-family: var(--title-font);
  font-size: 1.35rem;
}

.footer p {
  margin: 0.2rem 0;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.is-open {
  display: flex !important;
}

@media (max-width: 1080px) {
  .hero,
  .logo-panel,
  .project-layout,
  .footer-inner,
  .gallery-feature,
  .about-layout,
  .services-top {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .photo-grid,
  .quotes-grid,
  .project-card-grid,
  .gallery-page-grid,
  .references-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-media,
  .gallery-main {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .header-hook-inner {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .topbar {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 0 0;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 1rem;
  }

  .service-grid,
  .photo-grid,
  .quotes-grid,
  .project-card-grid,
  .hero-actions,
  .gallery-page-grid,
  .references-grid {
    grid-template-columns: 1fr;
  }

  .hero-logo-overlay {
    top: 0.75rem;
    left: 50%;
    right: auto;
    width: min(calc(100% - 2rem), 16rem);
    transform: translateX(-50%);
  }

  .hero-logo-overlay img {
    width: 100%;
  }

  h1,
  h2,
  .gallery-page-title {
    max-width: none;
  }
}


.gallery-source-section {
  padding-top: 1rem;
}

.gallery-source-section-last {
  padding-bottom: 4.5rem;
}

.gallery-source-head {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.gallery-source-head h2 {
  max-width: 16ch;
}

.gallery-source-head p {
  margin: 0;
  color: var(--muted);
  max-width: 56rem;
}

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-page-grid-featured {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.gallery-page-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: rgba(255, 250, 248, 0.7);
}

.gallery-page-grid-featured img {
  aspect-ratio: 4 / 5;
}

.gallery-page-grid-archive img,
.gallery-page-grid-flickr img {
  min-height: 220px;
}

@media (max-width: 900px) {
  .gallery-page-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .gallery-page-grid-featured {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 720px) {
  .gallery-source-section {
    padding-top: 0.35rem;
  }

  .gallery-page-grid,
  .gallery-page-grid-featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

@media (max-width: 520px) {
  .gallery-page-grid,
  .gallery-page-grid-featured {
    grid-template-columns: 1fr;
  }
}




.focus-roof-crew {
  object-position: center 44%;
}



.hero-media-single {
  min-height: 640px;
}


.hero-text-only {
  grid-template-columns: 1fr;
  padding-top: 1rem;
}

.hero-content-wide {
  max-width: 58rem;
  margin: 0 auto;
}

.hero-content-wide h1 {
  max-width: 12ch;
}


.hero-main-split {
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);
  align-items: stretch;
  gap: 1.5rem;
  padding: 1rem 0 2.2rem;
}

.hero-main-visual {
  overflow: hidden;
  min-height: 780px;
}

.hero-main-photo {
  width: 100%;
  height: 100%;
  min-height: 780px;
  object-fit: cover;
  object-position: center 78%;
}

.hero-main-copy {
  padding: 1.9rem;
  display: grid;
  align-content: start;
  gap: 1.15rem;
  min-width: 0;
}

.hero-main-copy h1 {
  max-width: 8.6ch;
  font-size: clamp(3.2rem, 6vw, 4.9rem);
  line-height: 0.96;
}

@media (max-width: 1100px) {
  .hero-main-split {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  }

  .hero-main-visual,
  .hero-main-photo {
    min-height: 660px;
  }
}

@media (max-width: 900px) {
  .hero-main-split {
    grid-template-columns: 1fr;
  }

  .hero-main-visual,
  .hero-main-photo {
    min-height: 420px;
  }
}


.historic-archives-head p:last-child {
  max-width: 58rem;
}

.historic-archives-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.archive-card {
  overflow: hidden;
}

.archive-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  filter: grayscale(1) contrast(1.06);
}

.archive-card-feature {
  grid-column: span 2;
}

.archive-card-feature img {
  aspect-ratio: 16 / 8;
}

.archive-copy {
  padding: 1.2rem 1.2rem 1.35rem;
}

.archive-copy h3 {
  margin-bottom: 0.65rem;
}

.archive-copy p {
  margin: 0;
}

.archive-copy .project-label {
  margin-bottom: 0.6rem;
}

.awards-card img {
  object-position: top center;
}

@media (max-width: 900px) {
  .historic-archives-grid {
    grid-template-columns: 1fr;
  }

  .archive-card-feature {
    grid-column: span 1;
  }

  .archive-card-feature img {
    aspect-ratio: 4 / 3;
  }
}


.historic-record-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1.25rem;
  align-items: stretch;
}

.historic-record-copy {
  padding: 1.6rem;
}

.historic-record-copy h2 {
  max-width: 16ch;
}

.historic-record-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.2rem;
}

.historic-record-block {
  display: grid;
  gap: 0.75rem;
}

.historic-record-list,
.historic-awards-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.65;
}


.historic-record-visual {
  display: grid;
  min-height: 100%;
  overflow: hidden;
}


@media (max-width: 980px) {
  .historic-record-layout,
  .historic-record-columns {
    grid-template-columns: 1fr;
  }
}


.historic-record-visual {
  position: relative;
  display: grid;
  overflow: hidden;
}

.historic-record-visual img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
}

.historic-record-visual-note {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  background: rgba(255, 250, 248, 0.86);
  backdrop-filter: blur(8px);
}

.historic-record-visual-note span {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}

.historic-record-visual-note p {
  margin: 0;
  color: var(--muted);
}


.hero-main-copy, .logo-panel-copy, .archive-copy, .reference-copy, .footer, .footer a, .section-copy p, .card p, blockquote { color: var(--muted); }
.button-secondary { background: rgba(255, 250, 247, 0.92); color: var(--ink); }
.footer { background: #f4e9e2; }
.footer-title { color: var(--ink); }
