:root {
  --ink: #302820;
  --paper: #faf7ee;
  --line: #c9c3b2;
  --green: #364a37;
  --edge: clamp(1.2rem, 5vw, 5rem);
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, ol { margin: 0; }
a { color: inherit; text-decoration-thickness: .07em; text-underline-offset: .24em; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #ac542c; outline-offset: 4px; }
.shell, .hero { width: min(calc(100% - 2 * var(--edge)), 1440px); margin-inline: auto; }
header, footer, nav, .brand { display: flex; align-items: center; }
header, footer { justify-content: space-between; gap: 1rem; }
header { padding-block: 16px; flex-wrap: wrap; }
nav { flex-wrap: wrap; column-gap: clamp(14px, 3vw, 48px); }
nav a { padding-block: 6px; }
nav a, footer a, .brand { text-decoration: none; }
.brand { gap: 8px; font-size: 1.5rem; font-weight: 750; letter-spacing: -.055em; }
.mark { width: 42px; height: 40px; position: relative; overflow: hidden; mix-blend-mode: multiply; }
.mark img { width: 134%; position: absolute; left: -17%; top: -34%; }
.hero { display: grid; grid-template-columns: 1fr 1.12fr; border-block: 1px solid var(--line); }
.hero-copy { padding: clamp(36px, 6vw, 100px) clamp(16px, 3vw, 55px) clamp(36px, 6vw, 100px) 0; align-self: center; }
h1, h2 { font: 500 clamp(3.1rem, 5.5vw, 6rem)/1.02 Georgia, "Times New Roman", serif; letter-spacing: -.058em; }
h2 { font-size: clamp(2.3rem, 4.4vw, 4.5rem); }
p { font-size: 1.075rem; line-height: 1.58; }
.hero-copy p { max-width: 36ch; margin: 25px 0 30px; }
.action { display: inline-flex; align-items: center; justify-content: center; gap: 22px; background: var(--green); color: white; text-decoration: none; font: inherit; font-weight: 600; border: none; border-radius: 5px; padding: 14px 22px; cursor: pointer; }
.action:hover { background: #253526; }
.photo { min-height: clamp(340px, 37vw, 620px); background: #dbb37b url("interior.png") center / cover no-repeat; }
.catalog, .brief, .process { padding-block: clamp(54px, 7vw, 112px); }
.catalog h2, .process h2 { margin-bottom: clamp(24px, 3vw, 44px); }
.brief { display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(24px, 5vw, 88px); }
.other a { display: inline-block; margin-top: 18px; font-weight: 600; }
.other details { border-bottom: 1px solid var(--line); }
.other details:first-child { border-top: 1px solid var(--line); }
summary { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding-block: 19px; cursor: pointer; font-size: clamp(1.2rem, 2vw, 1.8rem); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; }
details[open] summary::after { content: "−"; }
.other a { margin-bottom: 18px; }
.process { background: var(--green); color: #fffaf0; }
.process ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 64px); padding: 0; list-style-position: inside; }
.process li { padding-top: 14px; border-top: 1px solid #a6af99; }
.process li::marker { color: #e5c293; font-family: Georgia, serif; }
.process h3 { display: inline; font-size: 1.3rem; }
.process p, .brief h2 + p { margin-top: 14px; }
.brief h2 { max-width: 12ch; }
.brief h2 + p { max-width: 37ch; }
.editor { display: grid; gap: 10px; }
.editor label { font-weight: 600; }
select, textarea { width: 100%; color: inherit; background: #fffdf8; border: 1px solid #a29987; border-radius: 4px; font: inherit; line-height: 1.5; padding: 12px; }
textarea { resize: vertical; }
.editor .action { justify-self: start; }
#status:empty { display: none; }
footer { border-top: 1px solid var(--line); padding-block: 24px; }
@media (max-width: 760px) {
  .hero, .brief, .process ol { grid-template-columns: 1fr; }
  .hero-copy { padding-right: 0; }
  .photo { min-height: 0; aspect-ratio: 4 / 3; }
  nav { font-size: .9rem; }
}

.section-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: clamp(18px, 5vw, 80px); margin-bottom: 32px; }
.section-intro h2, .jobs h1, .listed-job h2 { text-wrap: balance; }
.section-intro p, .jobs p { max-width: 62ch; text-wrap: pretty; }
.field-roles article { border-top: 1px solid var(--line); padding-top: 18px; }
.field-roles h3 { font: 500 clamp(1.55rem, 2.4vw, 2.5rem)/1.14 Georgia, serif; letter-spacing: -.035em; margin-bottom: 14px; }
.jobs p + p { margin-top: 12px; }
.customer-guide { padding-top: clamp(54px, 7vw, 110px); }
.customer-guide details p { max-width: 76ch; padding-bottom: 18px; }
.jobs-intro { border-top: 1px solid var(--line); padding-block: clamp(36px, 6vw, 90px); }
.jobs-intro p { margin-top: 22px; }
.listed-job, .field-roles article, .candidate-note { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 80px); }
.listed-job { background: var(--green); color: var(--paper); padding: clamp(24px, 4vw, 60px); }
.listed-job h2 { font-size: clamp(2rem, 3.6vw, 3.8rem); margin-top: 12px; }
.listed-job .action { background: var(--paper); color: var(--green); margin-top: 18px; }
.field-roles { padding-top: clamp(48px, 6vw, 90px); }
.field-roles article, .candidate-note { padding-block: clamp(24px, 3vw, 46px); }
.candidate-note { border-top: 1px solid var(--line); }
.candidate-note h2 { font-size: clamp(2rem, 3.4vw, 3.6rem); }
nav [aria-current="page"] { text-decoration: underline; text-underline-offset: .36em; }
@media (max-width: 760px) {
  .section-intro, .listed-job, .field-roles article, .candidate-note { grid-template-columns: 1fr; }
  .field-roles h3 { margin-bottom: 0; }
}

.service-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: clamp(18px, 3vw, 45px); margin-block: 20px 4px; }
.service-notes h3 { margin-bottom: 4px; font-size: 1.125rem; }
.service-detail p { max-width: 65ch; text-wrap: pretty; }

.job-list { margin-bottom: clamp(36px, 5vw, 72px); }
.job-list h2 { margin-bottom: 24px; }
.job-option { border-block-start: 1px solid var(--line); }
.job-option:last-child { border-block-end: 1px solid var(--line); }
.job-option summary { display: grid; grid-template-columns: minmax(0, 1fr) auto 1em; }
.job-rate { font-size: 1rem; font-weight: 600; color: var(--green); }
.job-description { padding-bottom: 24px; }
@media (max-width: 600px) {
  .job-option summary { grid-template-columns: minmax(0, 1fr) 1em; gap: 6px 12px; }
  .job-rate { grid-column: 1; }
  .job-option summary::after { grid-column: 2; grid-row: 1 / 3; }
}

.catalog .catalog-lead { max-width: 74ch; margin: 0 0 28px; }
.service-detail > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto 1em; }
.rate-preview { color: var(--green); font-size: 1rem; font-weight: 600; }
.service-prices { margin: 0 0 12px; padding: 10px clamp(14px, 2vw, 28px); background: #efeada; }
.service-prices div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding-block: 10px; align-items: baseline; }
.service-prices div + div { border-top: 1px solid var(--line); }
.service-prices dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.service-detail .price-note { margin-bottom: 20px; }
@media (max-width: 650px) {
  .service-detail > summary { grid-template-columns: minmax(0, 1fr) 1em; gap: 4px 12px; }
  .rate-preview { grid-column: 1; }
  .service-detail > summary::after { grid-column: 2; grid-row: 1 / 3; }
  .service-prices div { grid-template-columns: 1fr; gap: 3px; }
}

.casebook { padding-top: clamp(52px, 7vw, 100px); }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(20px,3vw,48px); }
.case-grid article { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; align-items: start; gap: 12px; }
.case-grid h3, .chat-example h3 { font: 500 clamp(1.5rem,2.2vw,2.2rem)/1.15 Georgia,serif; }
.case-grid strong { color: var(--green); font-size: 1.25rem; }
.case-grid a { margin-top: auto; }
.chat-example, .contact-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px,4vw,60px); padding: clamp(22px,4vw,58px); margin-top: clamp(40px,5vw,72px); }
.chat-example { background: #efeada; }
.chat-example h3 + p, .contact-panel h2 + p { margin-top: 12px; }
.conversation { padding: 0; list-style: none; display: grid; gap: 12px; }
.conversation li { max-width: 88%; padding: 12px 16px; background: white; border-radius: 14px 14px 14px 2px; }
.conversation li:nth-child(odd) { justify-self: end; background: #dde6d6; border-radius: 14px 14px 2px 14px; }
.conversation b { font-size: .86rem; }
.contact-panel {
  background: var(--green);
  color: var(--paper);
  grid-template-areas: "intro editor" "methods editor";
  align-items: start;
  row-gap: 24px;
  margin-bottom: clamp(32px, 5vw, 72px);
}
.contact-intro { grid-area: intro; }
.contact-methods { grid-area: methods; }
.contact-methods > p { margin-top: 12px; font-size: .95rem; }
.contact-panel .editor { grid-area: editor; min-width: 0; }
.contact-panel :is(select, textarea) { color: var(--ink); }
.contact-panel .action { background: var(--paper); color: var(--green); }
.contact-panel dl { margin: 0; }
.contact-panel dl div { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid #a8b29c; padding-block: 14px; gap: 12px; }
.contact-panel dd { margin: 0; }
@media (max-width: 760px) {
  .case-grid, .chat-example, .contact-panel { grid-template-columns: minmax(0,1fr); }
  .contact-panel { grid-template-areas: "intro" "editor" "methods"; }
  header nav { gap: 6px 16px; }
}

.examples { padding-top: clamp(48px, 7vw, 100px); }
.examples-link { display: inline-block; margin: 12px 0 12px 12px; }
.example-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 4vw, 60px) clamp(18px, 3vw, 42px); }
.work-example { margin: 0; }
.comparison { position: relative; }
.comparison img { display: block; width: 100%; height: auto; }
.comparison span { position: absolute; bottom: 8px; left: 8px; background: #302820; color: #fffaf0; border-radius: 3px; padding: 3px 9px; font-size: .82rem; }
.comparison span:last-child { left: calc(50% + 8px); }
.work-example figcaption { padding-top: 14px; }
.work-example small { color: var(--green); font-weight: 600; }
.work-example h3 { font: 500 clamp(1.45rem, 2.2vw, 2.2rem)/1.15 Georgia, serif; margin: 5px 0 8px; }
.work-example p { max-width: 56ch; }
@media (max-width: 800px) {
  .example-grid { grid-template-columns: 1fr; }
}
