:root {
  --bg: #f6f1ea;
  --panel: #fffdfa;
  --panel-alt: #f2ece3;
  --line: #ddd3c7;
  --line-strong: #c8bdae;
  --text: #151515;
  --muted: #5f5a53;
  --accent: #8a5d51;
  --accent-soft: rgba(138, 93, 81, 0.1);
  --shadow: 0 10px 30px rgba(20, 20, 20, 0.06);
  --radius: 20px;
  --container: min(1180px, calc(100% - 32px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 32%),
    linear-gradient(180deg, #f9f5ef 0%, var(--bg) 24%, #f5efe6 100%);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  width: 100%;
  height: auto;
}

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

a:hover {
  color: var(--accent);
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  z-index: 1000;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.skip-link:focus {
  left: 16px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(246, 241, 234, 0.88);
  border-bottom: 1px solid rgba(221, 211, 199, 0.85);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
  font-size: 0.92rem;
  color: var(--muted);
}

.main-nav a {
  padding: 6px 0;
  position: relative;
}

.main-nav a[aria-current="page"] {
  color: var(--text);
}

.main-nav a[aria-current="page"]::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 1px;
  background: currentColor;
}

.header-cta,
.button,
.button-secondary,
.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.header-cta,
.button {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.header-cta:hover,
.button:hover {
  background: #2b2b2b;
  color: #fff;
}

.button-secondary:hover,
.filter-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.header-cta:hover,
.button:hover,
.button-secondary:hover,
.filter-button:hover {
  transform: translateY(-1px);
}

main {
  padding: 28px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: center;
  padding: 36px 0 22px;
}

.hero-stack {
  display: grid;
  gap: 18px;
  align-items: start;
}

.avatar-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  flex: none;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eyebrow,
.section-label,
.card-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--accent);
}

.hero h1,
.page-title {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-size: clamp(3rem, 6vw, 5.9rem);
}

.hero-copy {
  max-width: 54rem;
}

.hero-subtitle {
  margin: 18px 0 12px;
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
  color: var(--muted);
}

.hero-body,
.lede,
.section-copy p,
.prose p,
.project-copy,
.faq-copy,
.about-copy {
  color: var(--muted);
  font-size: 1rem;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-meta {
  margin-top: 18px;
  color: var(--text);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 0.92rem;
}

.hero-meta span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
}

.hero-media {
  display: grid;
  gap: 14px;
}

.media-frame,
.project-media-frame,
.video-frame,
.work-feature,
.panel,
.info-card,
.faq-item,
.contact-card,
.credit-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.media-frame,
.work-feature {
  border-radius: 28px;
  overflow: hidden;
}

.media-frame img,
.work-feature img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 78% center;
}

.hero-aside-note {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  color: var(--muted);
}

.section {
  padding: 28px 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
}

.section-head h2,
.section-head h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.05;
  font-weight: 500;
}

.section-head p {
  margin: 0;
  max-width: 46rem;
  color: var(--muted);
}

.section-lead {
  max-width: 52rem;
  color: var(--muted);
  font-size: 1rem;
}

.selected-grid,
.work-grid,
.project-grid,
.service-grid,
.footer-grid,
.split-grid,
.about-grid,
.contact-grid,
.credit-grid {
  display: grid;
  gap: 18px;
}

.selected-grid,
.work-grid,
.project-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.project-card {
  grid-column: span 4;
  display: grid;
  gap: 14px;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.project-card.featured {
  grid-column: span 8;
}

.project-grid .project-card {
  grid-column: span 6;
}

.project-grid .project-media-frame {
  aspect-ratio: 4 / 3;
}

.project-grid .project-card h3 {
  font-size: 1.22rem;
}

.project-media-frame {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e9e1d7;
}

.project-media-frame img,
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 6px;
}

.project-card h3,
.work-feature h3,
.info-card h3,
.contact-card h3,
.credit-card h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.15;
}

.project-copy {
  margin: 0;
}

.project-link {
  font-size: 0.92rem;
  color: var(--accent);
}

.project-link:hover {
  text-decoration: underline;
}

.split-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card {
  padding: 24px;
  border-radius: 22px;
}

.info-card p {
  margin-top: 12px;
  margin-bottom: 0;
  color: var(--muted);
}

.info-card ul,
.credit-list,
.compact-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.info-card li,
.credit-list li,
.compact-list li {
  margin-bottom: 8px;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.18rem;
  font-weight: 500;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.faq-item {
  border-radius: 18px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-copy {
  margin: 0;
  padding: 0 20px 18px;
}

.about-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
}

.about-panel {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.about-panel h3 {
  margin: 0 0 14px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.28rem;
  font-weight: 500;
}

.about-panel p {
  margin: 0;
  color: var(--muted);
}

.about-grid .media-frame {
  align-self: start;
}

.about-panel + .about-panel {
  margin-top: 18px;
}

.about-panel .page-title {
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.01;
  margin-bottom: 16px;
}

.about-panel .about-copy {
  max-width: 44rem;
  margin-top: 0;
}

.about-panel .about-copy + .about-copy {
  margin-top: 12px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--accent);
}

.section-link:hover {
  text-decoration: underline;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.filter-button {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.75);
}

.filter-button.is-active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.featured-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.video-frame {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #e8e0d8;
}

.video-card h3 {
  margin: 14px 0 6px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 500;
}

.video-card p {
  margin: 0;
  color: var(--muted);
}

.credit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.credit-card {
  padding: 18px 20px;
  border-radius: 18px;
}

.credit-card p,
.contact-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.contact-card {
  padding: 24px;
  border-radius: 24px;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.contact-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.contact-detail:first-child {
  border-top: 0;
  padding-top: 0;
}

.contact-detail strong {
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

.field label {
  font-size: 0.86rem;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
}

.footer {
  border-top: 1px solid rgba(221, 211, 199, 0.9);
  background: rgba(255, 255, 255, 0.5);
}

.footer-inner {
  padding: 28px 0 34px;
}

.footer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer h3,
.footer strong {
  font-weight: 600;
}

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

.footer a:hover {
  color: var(--accent);
}

.footer small {
  display: block;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(221, 211, 199, 0.9);
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.hidden {
  display: none !important;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1080px) {
  .hero,
  .about-grid,
  .contact-grid,
  .split-grid,
  .featured-videos,
  .service-grid,
  .footer-grid,
  .credit-grid,
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-card,
  .project-card.featured {
    grid-column: span 6;
  }

  .project-grid .project-card {
    grid-column: span 6;
  }
}

@media (max-width: 820px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero,
  .about-grid,
  .contact-grid,
  .split-grid,
  .featured-videos,
  .service-grid,
  .footer-grid,
  .credit-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 18px;
  }

  .selected-grid,
  .work-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card.featured {
    grid-column: auto;
  }

  .project-grid .project-card {
    grid-column: auto;
  }

  .hero h1,
  .page-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 20px, 1180px);
  }

  main {
    padding-top: 18px;
  }

  .header-inner {
    padding-block: 12px;
  }

  .header-cta,
  .button,
  .button-secondary,
  .filter-button {
    width: 100%;
  }

  .hero-actions,
  .section-actions,
  .filters {
    flex-direction: column;
  }
}
