:root {
  --bg: #fcfaf3;
  --paper: #f5f0e3;
  --text: #151515;
  --muted: #676256;
  --line: #1f1d19;
  --accent: #1e6b43;
  --max: 1040px;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/CormorantGaramond-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/CormorantGaramond-latin-wght-italic.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.62;
  font-size: 1.1875rem;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 100% 5px;
  opacity: 0.08;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 30;
  padding: 0.7rem 1rem;
  background: var(--text);
  color: var(--bg);
  font-family: "Courier New", Courier, monospace;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header,
main,
.site-footer {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  padding-top: 1rem;
}

.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 0 1.2rem;
  border-bottom: 1px solid var(--line);
}

.brand,
.nav-links a {
  color: inherit;
  text-decoration: none;
}

a {
  color: #175636;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

.brand {
  font-family: "Courier New", Courier, monospace;
  letter-spacing: 0.02em;
  font-size: 0.92rem;
  line-height: 1.35;
  flex: 1 1 26rem;
  max-width: 100%;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.92rem;
  flex: 0 1 auto;
}

.mobile-nav {
  display: none;
}

.mobile-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  width: 2.7rem;
  height: 2.7rem;
  padding: 0.55rem;
  border: 1px solid rgba(31, 29, 25, 0.16);
  background: rgba(252, 250, 243, 0.9);
  box-sizing: border-box;
  cursor: pointer;
}

.mobile-nav-toggle::-webkit-details-marker {
  display: none;
}

.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--text);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: " +";
  color: var(--muted);
}

.nav-dropdown[open] summary::after,
.nav-dropdown:hover summary::after,
.nav-dropdown:focus-within summary::after {
  color: var(--accent);
}

.nav-dropdown-menu {
  display: none;
  min-width: 13rem;
  margin-top: 0.6rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(31, 29, 25, 0.16);
  background: rgba(252, 250, 243, 0.96);
  backdrop-filter: blur(3px);
}

.nav-dropdown[open] .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: grid;
  gap: 0.45rem;
}

.nav-parent-link {
  color: var(--muted);
}

.nav-links a:hover,
.nav-dropdown summary:hover,
.nav-dropdown summary:focus-visible,
.nav-links a:focus-visible,
a:hover,
a:focus-visible {
  color: var(--accent);
}

.section {
  padding: 3rem 0;
}

.section-label,
.terminal-kicker {
  margin: 0 0 0.85rem;
  font-family: "Courier New", Courier, monospace;
  color: var(--muted);
  font-size: 1.2rem;
  letter-spacing: 0.03em;
}

.hero {
  padding-top: 2rem;
}

.editorial-hero-grid,
.split-editorial {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  gap: 2rem;
}

.hero-copy-block {
  max-width: 38rem;
}

.section-head {
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

.section-head.narrow {
  max-width: 28rem;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
}

h1 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  max-width: 19ch;
  margin-bottom: 1rem;
}

h2 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(1.32rem, 2.8vw, 1.88rem);
  margin-bottom: 0.8rem;
}

h3 {
  font-weight: 700;
  font-family: "Courier New", Courier, monospace;
  font-size: 1rem;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lead,
.section-intro,
.copy-column {
  max-width: 44rem;
}

.button {
  display: inline-block;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  font-family: "Courier New", Courier, monospace;
}

.button:hover,
.button:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.editorial-section {
  border-top: 1px solid var(--line);
}

.editorial-list,
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.editorial-item,
.editorial-panel,
.photo-panel,
.service-visual-panel {
  background: rgba(245, 240, 227, 0.58);
  border: 1px solid rgba(31, 29, 25, 0.16);
}

.editorial-item {
  padding: 1.1rem 1.15rem 1.2rem;
}

.editorial-item-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.editorial-item-link article {
  height: 100%;
}

.editorial-item h3::before {
  content: "> ";
  color: var(--accent);
}

.editorial-panel {
  padding: 1.25rem 1.25rem 1.35rem;
}

.quiet-panel {
  align-self: center;
}

.hero-side-column {
  display: grid;
  gap: 1rem;
  align-self: start;
}

.hero-logo-wrap {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

.hero-logo {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.site-footer {
  padding-bottom: 3rem;
}

.site-footer a {
  text-decoration: none;
}

.footer-editorial {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.contact-block {
  margin: 0;
  font-style: normal;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.92rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.social-links svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.scroll-top-link {
  position: fixed;
  right: 1rem;
  top: 68vh;
  z-index: 20;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(31, 29, 25, 0.2);
  background: rgba(252, 250, 243, 0.72);
  color: var(--muted);
  font-family: "Courier New", Courier, monospace;
  font-size: 1.1rem;
  line-height: 1;
  backdrop-filter: blur(2px);
  text-decoration: none;
}

.scroll-top-link:hover,
.scroll-top-link:focus-visible {
  color: var(--accent);
  border-color: rgba(30, 107, 67, 0.45);
  background: rgba(252, 250, 243, 0.9);
}

@media (max-width: 820px) {
  body {
    font-size: 1.0625rem;
  }

  .editorial-hero-grid,
  .split-editorial,
  .editorial-list,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    width: 50%;
  }

  .site-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand toggle"
      "menu menu";
    gap: 0.35rem;
  }

  .brand {
    grid-area: brand;
    font-size: 0.82rem;
    line-height: 1.25;
    min-width: 0;
  }

  .nav-links-desktop {
    display: none;
  }

  .mobile-nav {
    grid-area: toggle;
    display: block;
    justify-self: end;
    position: relative;
  }

  .mobile-nav .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    z-index: 25;
    width: min(18rem, calc(100vw - 2rem));
    margin-top: 0;
    padding: 0.75rem 0.95rem 0.95rem;
    justify-content: flex-start;
    gap: 0.75rem 1rem;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(31, 29, 25, 0.16);
    background: rgba(252, 250, 243, 0.97);
    backdrop-filter: blur(4px);
    box-sizing: border-box;
  }

  .mobile-nav[open] .nav-links {
    display: flex;
  }

  .mobile-nav .nav-dropdown {
    width: 100%;
  }

  .mobile-nav .nav-dropdown-menu {
    display: grid;
    position: static;
    min-width: 0;
    margin-top: 0.45rem;
    padding: 0.55rem 0 0 0.9rem;
    border: 0;
    border-left: 1px solid rgba(31, 29, 25, 0.16);
    background: transparent;
    backdrop-filter: none;
  }

  .mobile-nav .nav-dropdown:not([open]) .nav-dropdown-menu {
    display: none;
  }

  .mobile-nav .nav-dropdown[open] .nav-dropdown-menu,
  .mobile-nav .nav-dropdown:hover .nav-dropdown-menu,
  .mobile-nav .nav-dropdown:focus-within .nav-dropdown-menu {
    display: grid;
  }

  .section {
    padding: 2.35rem 0;
  }

  .scroll-top-link {
    right: 0.7rem;
    top: auto;
    bottom: 1rem;
    width: 2.2rem;
    height: 2.2rem;
  }
}

/* cache-bust 2026-05-07T16:45 */

.workflow-panel {
  max-width: 52rem;
}

.workflow-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.workflow-list li+li {
  margin-top: 0.5rem;
}

.workflow-list li::before {
  content: "> ";
  color: var(--accent);
}

/* cache-bust 2026-05-07T16:52 */

.workflow-section .split-editorial {
  align-items: center;
}

.workflow-section .section-head {
  margin-bottom: 0;
}

.workflow-panel {
  align-self: center;
}

.references-section {
  overflow: hidden;
}

.references-marquee {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.3rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: ew-resize;
}

.references-marquee::-webkit-scrollbar {
  display: none;
}

.references-track {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  width: max-content;
}

.reference-logo {
  width: 10.5rem;
  height: 4.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.9rem;
  box-sizing: border-box;
  color: rgba(31, 29, 25, 0.38);
  filter: grayscale(1);
  transition: color 180ms ease, border-color 180ms ease, filter 180ms ease, background 180ms ease, transform 180ms ease;
}

.reference-logo--placeholder {
  border: 1px solid rgba(31, 29, 25, 0.12);
  background: rgba(245, 240, 227, 0.42);
}

.reference-logo--image {
  padding: 0.35rem 0.45rem;
}

.reference-logo span {
  font-family: "Courier New", Courier, monospace;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.reference-logo-image {
  display: block;
  max-width: 100%;
  max-height: 2.55rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.reference-logo:hover,
.reference-logo:focus-within {
  color: var(--accent);
  filter: grayscale(0);
  transform: translateY(-1px);
}

.reference-logo--placeholder:hover,
.reference-logo--placeholder:focus-within {
  border-color: rgba(30, 107, 67, 0.35);
  background: rgba(245, 240, 227, 0.72);
}

/* cache-bust 2026-05-07T18:21 */

.photo-panel {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.profile-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* cache-bust 2026-05-07T19:46 */

.editorial-item h3,
.editorial-panel h3 {
  font-size: 1rem;
}

/* cache-bust 2026-05-07T20:00 */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.hero-actions .button {
  flex: 1 1 15rem;
  text-align: center;
}

.contact-actions-wrap {
  display: flex;
  justify-content: center;
}

.button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #175636;
  border-color: #175636;
}

.button-secondary {
  background: transparent;
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--text);
  color: var(--bg);
}

/* cache-bust 2026-05-07T20:05 */

.hero-cta-block {
  margin-top: 1.2rem;
}

.hero-cta-heading {
  margin: 0 0 0.35rem;
  font-family: "Courier New", Courier, monospace;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* cache-bust 2026-05-07T20:08 */

.service-hero {
  padding-top: 2.4rem;
}

.service-hero-grid {
  align-items: center;
}

.service-visual-panel {
  display: block;
  overflow: hidden;
  background: transparent;
  border: 0;
  padding: 0;
}

.service-visual-image {
  display: block;
  width: 100%;
  height: auto;
}

.service-card-link:hover,
.service-card-link:focus-visible {
  color: inherit;
  border-color: rgba(30, 107, 67, 0.4);
  background: rgba(245, 240, 227, 0.72);
}

.service-card-link:focus-visible {
  outline: none;
}

.service-card {
  padding: 1.1rem 1.15rem 1.2rem;
  background: rgba(245, 240, 227, 0.58);
  border: 1px solid rgba(31, 29, 25, 0.16);
}

.service-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.service-highlight {
  margin-top: 1.5rem;
  padding: 1.35rem 1.4rem 1.45rem;
  background: rgba(245, 240, 227, 0.72);
  border: 1px solid rgba(31, 29, 25, 0.16);
}

.service-highlight h3::before {
  content: "> ";
  color: var(--accent);
}

.service-highlight p:last-child {
  margin-bottom: 0;
}

.service-card-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.85rem;
}

.service-card-head h3 {
  margin: 0;
  font-size: 1rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.service-mark {
  width: 7.5rem;
  min-height: 3.25rem;
  flex: 0 0 7.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(30, 107, 67, 0.28);
  background: linear-gradient(135deg, rgba(30, 107, 67, 0.11), rgba(252, 250, 243, 0.92));
  color: var(--accent);
}

.service-mark span {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
}

.service-logo {
  display: block;
  width: calc(100% - 1rem);
  max-width: 6.2rem;
  max-height: 1.8rem;
  height: auto;
  object-fit: contain;
}

.service-logo-icon {
  width: 2rem;
  max-width: 2rem;
  max-height: 2rem;
}

.approach-panel {
  align-self: center;
}

.approach-box-intro {
  margin-top: 0;
  margin-bottom: 0.9rem;
}

@media (min-width: 641px) {
  .nav-dropdown-menu {
    position: absolute;
    right: 0;
  }
}
