/* Shared FDM site design system. No external fonts or services. */
:root {
  --ink: #19251f;
  --muted: #56615c;
  --paper: #f6f7f2;
  --line: #d9dfd5;
  --night: #12251e;
  --accent: #d1f26a;
  --green: #315d43;
  --max: 1240px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  cursor: default;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.65 Arial,
    Helvetica,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(2.8rem, 5.4vw, 5.5rem);
}
h2 {
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}
h3 {
  font-size: 1.45rem;
}
p + p {
  margin-top: 1rem;
}
a {
  color: inherit;
  cursor: pointer;
  text-underline-offset: 0.25em;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
/* Keep text selectable while reserving the I-beam for text-entry fields. */
input:not([type]),
input[type="text"],
input[type="search"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="password"],
input[type="number"],
textarea,
[contenteditable="true"] {
  cursor: text;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
svg {
  display: block;
}
:focus-visible {
  outline: 3px solid #a54c00;
  outline-offset: 5px;
}
/* The skip destination is a landmark, not an interactive control. */
main:focus {
  outline: none;
}
.dark :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--accent);
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(var(--max), calc(100% - 96px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  padding: 0.7rem 1rem;
  background: white;
  color: var(--ink);
  z-index: 100;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--night);
  color: white;
  border-bottom: 1px solid #ffffff26;
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  width: 36px;
  height: 48px;
}
.brand-name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.brand-name small {
  display: block;
  font:
    10px/1.6 ui-monospace,
    Consolas,
    monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a9bdb1;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.84rem;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 24px;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
}
.site-nav .nav-cta {
  background: var(--accent);
  color: var(--night);
  padding: 0.65rem 1rem;
  border-radius: 3px;
  font-weight: 700;
  gap: 1.5rem;
}
.site-nav .nav-cta:hover {
  background: #e2ff91;
  color: var(--night);
}
.dark {
  background: var(--night);
  color: white;
}
.eyebrow {
  font:
    11px/1.5 ui-monospace,
    Consolas,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--green);
  margin-bottom: 1.5rem;
}
.dark .eyebrow {
  color: var(--accent);
}
.hero {
  padding: 64px 0 0;
  background-image: radial-gradient(#ffffff08 1px, transparent 1px);
  background-size: 20px 20px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 5%;
  align-items: center;
  padding-bottom: 64px;
}
.hero h1 {
  max-width: 700px;
}
.hero h1 em {
  color: var(--accent);
  font-style: normal;
}
.hero-copy > p:not(.eyebrow) {
  color: #c4d0c9;
  max-width: 510px;
  margin-top: 1.7rem;
  font-size: 1.05rem;
}
.hero-tag {
  font:
    11px/1.5 ui-monospace,
    Consolas,
    monospace;
  color: #a9bdb1 !important;
}
.hero-copy > p.hero-slogan {
  color: var(--accent);
  font-size: 1.15rem;
  margin-top: 1.4rem;
}
.actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  min-height: 50px;
  padding: 0.8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--accent);
  color: var(--night);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #dfff8a;
  transform: translateY(-2px);
}
.text-link {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-block: 0.25rem;
  display: inline-block;
}
.text-link span {
  margin-left: 1rem;
}
.dark .text-link {
  color: #e2ebdf;
}
.hero-visual {
  background: #e4e9e1;
  border-radius: 4px;
  padding: 28px 28px 0;
  overflow: hidden;
  color: var(--ink);
}
.hero-visual::before {
  content: "DFL / PRINT STUDY 01";
  display: block;
  font:
    10px ui-monospace,
    Consolas,
    monospace;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}
.hero-visual img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center 48%;
  border-radius: 2px;
}
.hero-visual figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 18px 0;
  font-size: 0.8rem;
}
.hero-visual figcaption span {
  font:
    10px ui-monospace,
    Consolas,
    monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #ffffff30;
}
.rail-item {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rail-item + .rail-item {
  padding-left: 32px;
  border-left: 1px solid #ffffff30;
}
.rail-item strong {
  font-weight: 500;
  font-size: 1.05rem;
}
.rail-item span {
  color: #aebfb5;
  font-size: 0.8rem;
}
.section {
  padding-block: 96px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 3rem;
  margin-bottom: 44px;
}
.section-head h2 {
  max-width: 700px;
}
.section-head > p {
  max-width: 340px;
  color: var(--muted);
  font-size: 0.95rem;
}
.section-head .eyebrow {
  margin-bottom: 1rem;
}
.section-intro {
  max-width: 640px;
  color: var(--muted);
  margin-top: 1.5rem;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}
.service-number {
  font:
    11px ui-monospace,
    Consolas,
    monospace;
  color: var(--green);
  margin-bottom: 40px;
}
.service-card h3 {
  margin-bottom: 20px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.service-card .text-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.8rem;
}
.service-meta {
  font:
    10px/1.6 ui-monospace,
    Consolas,
    monospace;
  color: var(--green);
  letter-spacing: 0.03em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.application-strip {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  padding-top: 28px;
  color: var(--muted);
  font-size: 0.8rem;
}
.application-strip p {
  flex-shrink: 0;
  font:
    10px ui-monospace,
    Consolas,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.application-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.7rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.work-section {
  background: #e9ede5;
}
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.work-card {
  min-width: 0;
}
.image-link {
  display: block;
  position: relative;
  overflow: hidden;
  background: #dce1d8;
  border-radius: 3px;
}
.image-link img {
  height: 310px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.image-link:hover img {
  transform: scale(1.035);
}
.work-card:first-child .image-link img {
  object-position: center 44%;
}
.image-label {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--night);
  color: white;
  padding: 0.4rem 0.65rem;
  font:
    10px ui-monospace,
    Consolas,
    monospace;
  border-radius: 2px;
}
.work-card figcaption {
  padding-top: 20px;
}
.work-card h3 {
  font-size: 1.35rem;
}
.work-card p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 10px;
}
.work-type {
  font:
    10px ui-monospace,
    Consolas,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  display: block;
  margin-bottom: 10px;
}
.workshop {
  margin-top: 40px;
  border-block: 1px solid #bdc7b9;
}
.workshop > summary {
  padding: 20px 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}
.workshop-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding-bottom: 24px;
}
.workshop-grid figure img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: #dce1d8;
}
.workshop-grid figcaption {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 10px;
}
.work-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 24px;
  max-width: 720px;
}
.capability-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: 8%;
}
.capability-intro h2 {
  margin-bottom: 24px;
}
.capability-intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.95rem;
}
.capability-intro .text-link {
  margin-top: 24px;
}
.capability-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}
.capability-table caption {
  text-align: left;
  font:
    11px ui-monospace,
    Consolas,
    monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 20px;
  color: var(--green);
}
.capability-table th,
.capability-table td {
  padding: 20px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.capability-table thead {
  background: #e9ede5;
}
.capability-table th {
  font-weight: 600;
}
.capability-table tbody th {
  min-width: 100px;
}
.capability-table td {
  color: var(--muted);
}
.capability-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 20px;
}
.equipment-panel {
  margin-top: 64px;
  padding: 36px;
  display: grid;
  grid-template-columns: 0.7fr 1.5fr;
  gap: 4rem;
  border: 1px solid var(--line);
  background: white;
}
.equipment-panel h3 {
  max-width: 250px;
}
.equipment-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.equipment-list dt {
  font-weight: 600;
  font-size: 0.9rem;
}
.equipment-list dd {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.equipment-list dl {
  margin: 0;
}
.process-section .section-head > p {
  color: #b6c7bc;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
.process-card {
  border-top: 1px solid #ffffff40;
  padding-top: 24px;
}
.process-card .number {
  font:
    11px ui-monospace,
    Consolas,
    monospace;
  color: var(--accent);
  display: block;
  margin-bottom: 32px;
}
.process-card h3 {
  font-size: 1.3rem;
}
.process-card p {
  font-size: 0.86rem;
  color: #b6c7bc;
  margin-top: 16px;
}
.about-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 10%;
  padding-top: 60px;
  margin-top: 64px;
  border-top: 1px solid #ffffff30;
}
.about-row h3 {
  font-size: 2rem;
  max-width: 400px;
}
.about-row p {
  color: #b6c7bc;
  font-size: 0.95rem;
}
.about-row .byline {
  color: white;
  margin-top: 20px;
  font-size: 0.8rem;
}
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10%;
}
.faq-layout .text-link {
  margin-top: 24px;
}
details.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
  background: transparent;
}
details.faq-item:first-child {
  border-top: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  padding: 24px 30px 24px 0;
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  list-style: none;
  line-height: 1.5;
  letter-spacing: 0;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 23px;
  font-weight: 400;
  font-size: 1.3rem;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-answer {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0 24px 24px 0;
}
.faq-answer ul {
  padding-left: 20px;
  margin-block: 12px;
}
.faq-answer li + li {
  margin-top: 6px;
}
.contact-section {
  background: #dce8d2;
  padding-block: 80px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
}
.contact-copy > p:not(.eyebrow) {
  color: #405543;
  margin-top: 24px;
  max-width: 480px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 30px;
}
.contact-links a {
  font-size: clamp(0.95rem, 1.7vw, 1.2rem);
}
.contact-copy address {
  font-style: normal;
  font-size: 0.85rem;
  margin-top: 30px;
  color: #405543;
}
.brief-card {
  background: white;
  padding: 32px;
  border: 1px solid #c6d4bc;
  border-radius: 3px;
}
.brief-card h3 {
  margin-bottom: 16px;
}
.brief-card > p {
  color: var(--muted);
  font-size: 0.85rem;
}
.brief-card ul {
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}
.brief-card li {
  margin-block: 8px;
}
.brief-card .button {
  background: var(--night);
  color: white;
  margin-top: 20px;
}
.brief-card .button:hover {
  background: #2a4636;
}
.brief-form {
  margin-top: 24px;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-size: 0.8rem;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  border: 1px solid #a6b0a4;
  border-radius: 2px;
  width: 100%;
  padding: 10px 12px;
  background: white;
  color: var(--ink);
  min-height: 44px;
  font-size: 0.9rem;
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #687269;
}
.form-hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 12px;
}
.brief-form .button {
  margin-top: 0;
}
.brief-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.prose section + section {
  margin-top: 36px;
}
.prose .contact-section h2 {
  margin-top: 0;
}
.brief-result {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 24px;
}
.brief-result textarea {
  width: 100%;
  min-height: 180px;
  padding: 12px;
  font-size: 0.8rem;
  border: 1px solid #a6b0a4;
  background: var(--paper);
}
.brief-result label {
  font-size: 0.8rem;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
.brief-result .actions {
  gap: 12px;
  margin-top: 12px;
}
.brief-result .button {
  margin: 0;
  gap: 1rem;
}
.copy-button {
  background: white !important;
  color: var(--ink) !important;
  border-color: var(--line);
}
.form-status {
  font-size: 0.8rem;
  margin-top: 12px;
  color: var(--green);
}
.site-footer {
  background: var(--night);
  color: white;
  padding: 56px 0 24px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 44px;
}
.footer-top > div > p {
  color: #aebfb5;
  font-size: 0.85rem;
  margin-top: 16px;
  max-width: 350px;
}
.footer-links {
  display: flex;
  gap: 1.7rem;
  flex-wrap: wrap;
  align-content: flex-start;
  font-size: 0.85rem;
}
.footer-links a {
  padding-block: 8px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #ffffff26;
  padding-top: 24px;
  color: #aebfb5;
  font-size: 0.72rem;
}
.page-hero {
  padding-block: 64px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 850px;
}
.page-hero p:not(.eyebrow) {
  margin-top: 24px;
  max-width: 600px;
  color: var(--muted);
}
.page-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 8%;
  padding-block: 64px;
}
.page-aside {
  font-size: 0.85rem;
}
.page-aside nav {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.page-aside a {
  padding-block: 6px;
}
.page-aside p {
  font:
    10px ui-monospace,
    Consolas,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 16px;
}
.faq-category {
  margin-bottom: 48px;
}
.category-title {
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.faq-intro {
  padding: 24px;
  background: #e9ede5;
  margin-bottom: 40px;
  font-size: 0.9rem;
}
.cta-box {
  background: #e9ede5;
  padding: 32px;
}
.cta-box h2 {
  font-size: 2rem;
}
.cta-box p {
  margin-block: 16px;
}
.cta-box .button {
  background: var(--night);
  color: white;
}
.prose {
  max-width: 850px;
}
.prose h2 {
  font-size: 1.6rem;
  margin: 40px 0 20px;
}
.prose h3 {
  font-size: 1.15rem;
  margin: 24px 0 14px;
}
.prose p,
.prose li {
  font-size: 0.95rem;
  color: var(--muted);
}
.prose ul {
  padding-left: 24px;
}
.prose li + li {
  margin-top: 8px;
}
.last-updated {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.prose .contact-section {
  padding: 24px;
  margin-top: 32px;
  background: #e9ede5;
}
.prose .contact-section h3 {
  margin-top: 0;
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .site-nav {
    gap: 1rem;
  }
  .hero-grid {
    gap: 32px;
  }
  .hero-visual {
    padding: 20px 20px 0;
  }
  .hero-visual img {
    height: 360px;
  }
  .work-grid {
    gap: 20px;
  }
  .image-link img {
    height: 260px;
  }
  .workshop-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .capability-grid {
    gap: 5%;
  }
  .page-layout {
    grid-template-columns: 190px 1fr;
    gap: 5%;
  }
}
@media (max-width: 800px) {
  html {
    scroll-padding-top: 160px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .header-inner {
    flex-wrap: wrap;
    gap: 0;
    min-height: 0;
    padding-block: 14px;
  }
  .brand-name {
    font-size: 0.9rem;
  }
  .logo-img {
    height: 40px;
    width: 30px;
  }
  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
    font-size: 0.75rem;
  }
  .site-nav .nav-cta {
    padding: 8px 12px;
    gap: 0.6rem;
  }
  .hero {
    padding-top: 40px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
  }
  .hero-copy {
    max-width: 620px;
  }
  .hero h1 {
    font-size: clamp(3rem, 8vw, 4.5rem);
    max-width: 650px;
  }
  .hero-visual {
    max-width: 600px;
    width: 100%;
  }
  .hero-visual img {
    height: 350px;
  }
  .rail-item {
    padding: 20px 10px 20px 0;
  }
  .rail-item + .rail-item {
    padding-left: 16px;
  }
  .rail-item strong {
    font-size: 0.9rem;
  }
  .rail-item span {
    font-size: 0.7rem;
  }
  .section {
    padding-block: 64px;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
  }
  .section-head > p {
    max-width: 550px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-number {
    margin-bottom: 24px;
  }
  .work-grid {
    grid-template-columns: 1fr 1fr;
  }
  .work-card:first-child {
    grid-column: 1/-1;
  }
  .work-card:first-child .image-link img {
    height: 400px;
  }
  .capability-grid,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .capability-intro {
    max-width: 600px;
  }
  .equipment-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
    margin-top: 40px;
  }
  .equipment-panel h3 {
    max-width: none;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .about-row {
    gap: 36px;
  }
  .about-row h3 {
    font-size: 1.7rem;
  }
  .contact-section {
    padding-block: 64px;
  }
  .page-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 40px;
  }
  .page-aside nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 20px;
  }
  .page-aside p {
    width: 100%;
    margin-bottom: 0;
  }
  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
  .application-strip {
    align-items: start;
    gap: 16px;
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .site-nav {
    font-size: 0.7rem;
    gap: 4px;
  }
  .site-nav .nav-cta {
    padding: 8px;
    gap: 6px;
  }
  .brand-name small {
    font-size: 9px;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero-copy > p:not(.eyebrow) {
    font-size: 0.95rem;
  }
  .hero-visual img {
    height: 280px;
  }
  .hero-visual figcaption {
    font-size: 0.7rem;
  }
  .hero-visual figcaption span {
    font-size: 9px;
  }
  .hero .actions {
    align-items: stretch;
    flex-direction: column;
  }
  .hero .actions .button {
    flex: 1;
  }
  .hero .actions .text-link {
    align-self: flex-start;
  }
  .rail-item strong {
    font-size: 0.8rem;
  }
  .rail-item span {
    font-size: 0.65rem;
  }
  .rail-item + .rail-item {
    padding-left: 10px;
  }
  .section {
    padding-block: 52px;
  }
  .service-card {
    padding: 24px;
  }
  .work-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .work-card:first-child {
    grid-column: auto;
  }
  .image-link img,
  .work-card:first-child .image-link img {
    height: 300px;
  }
  .workshop-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .workshop-grid figure img {
    height: 160px;
  }
  .capability-table {
    font-size: 0.78rem;
  }
  .capability-table th,
  .capability-table td {
    padding: 14px 8px;
  }
  .capability-table tbody th {
    min-width: 70px;
  }
  .equipment-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .process-grid {
    gap: 28px 20px;
  }
  .process-card h3 {
    font-size: 1.15rem;
  }
  .process-card p {
    font-size: 0.8rem;
  }
  .about-row {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
  }
  .brief-card {
    padding: 24px;
  }
  .field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .footer-links {
    gap: 12px 24px;
  }
  .page-hero {
    padding-block: 44px;
  }
  .page-hero h1 {
    font-size: 2.6rem;
  }
}
/* A compact chapter index and product-detail composition; original CSS.
   Reference decisions are documented in DESIGN-REVIEW.md. */
.shop-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-block: 20px;
  gap: 12px;
}
.shop-index a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
}
.shop-index a > span:first-child {
  font:
    11px ui-monospace,
    Consolas,
    monospace;
  color: var(--green);
}
.shop-index a > span:last-child {
  margin-left: auto;
}
.shop-index a:hover,
.shop-index a:focus-visible {
  border-color: var(--green);
  background: #e9ede5;
}
.print-details {
  margin-block: 28px;
  font-size: 0.8rem;
}
.print-details > div {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 12px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
}
.print-details dt {
  color: var(--muted);
}
.print-details dd {
  margin: 0;
}
/* Tactile layered edges adapted from Cult UI Texture Card (MIT).
   See THIRD_PARTY_NOTICES.md. */
.work-card {
  padding: 12px;
  background: #f5f7f0;
  border: 1px solid #c9d1c3;
  border-radius: 8px;
  box-shadow:
    inset 0 0 0 1px #fff,
    0 3px 12px #19251f05;
}
.work-card figcaption {
  padding: 20px 8px 12px;
}
.work-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: stretch;
  gap: 28px;
}
.work-card:not(.work-feature) .image-link img {
  object-fit: contain;
}
.work-feature figcaption {
  align-self: center;
  padding: 28px 24px 28px 0;
}
.work-feature h3 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  max-width: 13ch;
}
.work-feature:first-child .image-link img {
  height: 100%;
  min-height: 420px;
  max-height: 560px;
}
@media (max-width: 820px) {
  .shop-index {
    grid-template-columns: 1fr 1fr;
  }
  .work-feature {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .work-feature figcaption {
    padding: 24px 12px;
  }
  .work-feature:first-child .image-link img {
    height: 360px;
    min-height: 0;
  }
}
@media (max-width: 420px) {
  .shop-index {
    gap: 8px;
  }
  .shop-index a {
    font-size: 0.7rem;
    gap: 7px;
  }
}
.brief-card {
  border-radius: 8px;
  box-shadow:
    inset 0 0 0 1px #fff,
    inset 0 0 0 3px #19251f08;
}
.copy-button {
  min-width: 142px;
  justify-content: center;
  gap: 0.6rem !important;
}
.copy-icon,
.copy-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.copy-check {
  display: none;
}
.copy-button[data-copied="true"] {
  background: #e7f4d6 !important;
  border-color: #829c70;
}
.copy-button[data-copied="true"] .copy-icon {
  display: none;
}
.copy-button[data-copied="true"] .copy-check {
  display: block;
}
.copy-button:disabled {
  cursor: progress;
}
.photo-open {
  overflow: hidden;
}
.photo-viewer {
  width: min(1100px, calc(100% - 48px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 1px solid #597060;
  border-radius: 8px;
  background: var(--night);
  color: white;
  box-shadow: 0 24px 80px #0008;
  overflow: auto;
}
.photo-viewer::backdrop {
  background: #07130ee8;
}
.photo-viewer :focus-visible {
  outline-color: var(--accent);
}
.photo-toolbar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 20px;
  background: var(--night);
  border-bottom: 1px solid #ffffff26;
}
.photo-count {
  font:
    12px ui-monospace,
    Consolas,
    monospace;
  color: #c1d3c5;
}
.photo-close,
.photo-controls button {
  min-height: 44px;
  border: 1px solid #ffffff55;
  background: transparent;
  color: white;
  border-radius: 4px;
}
.photo-close {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.85rem;
}
.photo-close span {
  font-size: 1.5rem;
  line-height: 1;
}
.photo-close:hover,
.photo-controls button:hover {
  background: #ffffff15;
}
.photo-stage {
  background: #0b1913;
  padding: 16px;
}
.photo-full {
  width: 100%;
  height: min(58dvh, 650px);
  object-fit: contain;
}
.photo-footer {
  padding: 24px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 32px;
}
.photo-footer h2 {
  font-size: 1.5rem;
  line-height: 1.2;
}
.photo-description {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #c1d3c5;
  max-width: 650px;
}
.photo-original {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--accent);
}
.photo-controls {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
}
.photo-controls button {
  width: 48px;
  font-size: 1.2rem;
}
.photo-error {
  padding: 0 24px 24px;
  color: #ffd1bf;
  font-size: 0.85rem;
}
@media (max-width: 600px) {
  .photo-viewer {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
  }
  .photo-toolbar {
    padding: 8px 12px;
  }
  .photo-stage {
    padding: 8px;
  }
  .photo-full {
    height: 46dvh;
  }
  .photo-footer {
    padding: 20px 16px;
    flex-direction: column;
    gap: 20px;
  }
  .photo-footer h2 {
    font-size: 1.3rem;
  }
  .photo-controls {
    align-self: flex-end;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .site-header,
  .actions,
  .site-footer,
  .skip-link,
  .brief-form {
    display: none !important;
  }
  .wrap {
    width: 100%;
  }
  .section {
    padding-block: 24px;
  }
  .dark {
    color: black;
    background: white;
  }
  .dark p,
  .dark .eyebrow {
    color: black !important;
  }
  .hero-grid {
    display: block;
  }
  .hero-visual {
    display: none;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero h1 em {
    color: black;
  }
  .page-layout {
    display: block;
  }
  .page-aside {
    display: none;
  }
  .contact-section {
    background: white;
  }
  a {
    color: black;
  }
}
