:root {
  color-scheme: light;
  --ink: #24291f;
  --paper: #f8f5ee;
  --green: #384733;
  --muted: #535a49;
  --rule: #d6d5c6;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body, p, h1, h2, h3 { margin: 0; }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
.wrap { width: min(100% - 72px, 1180px); margin-inline: auto; }
.skip { position: absolute; inset: 8px auto auto 8px; z-index: 1; padding: 12px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.demo-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 18px; padding: 10px max(24px, calc((100% - 1180px) / 2)); background: #e9e6da; color: #454936; font-size: .8rem; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 25px; border-bottom: 1px solid var(--rule); }
.brand { font: 600 clamp(1.4rem, 3vw, 2rem)/1.06 Georgia, serif; letter-spacing: -.045em; text-decoration: none; }
.brand span { color: #65714e; font-style: italic; }
.brand small { display: block; margin-top: 6px; font: 700 .57rem/1.2 Arial, sans-serif; letter-spacing: .19em; text-transform: uppercase; }
nav { display: flex; gap: clamp(10px, 3vw, 30px); font-size: .85rem; font-weight: 650; }
nav a { display: inline-flex; align-items: center; min-height: 44px; }
.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(28px, 5vw, 80px); padding-block: clamp(36px, 6vw, 86px); }
.hero img { height: 100%; max-height: 540px; min-height: 345px; object-fit: cover; border-radius: 3px; }
.label { margin-bottom: 14px; color: var(--muted); font-size: .69rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
h1, h2 { font: 500 clamp(2.8rem, 6vw, 5.5rem)/.99 Georgia, serif; letter-spacing: -.065em; text-wrap: balance; }
h2 { font-size: clamp(2.05rem, 4.2vw, 3.65rem); }
h3 { font: 500 1.65rem/1.1 Georgia, serif; letter-spacing: -.035em; }
.hero-copy > p:not(.label), .estimate > div > p:last-child { max-width: 42ch; margin-top: 20px; color: var(--muted); }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 48px; padding: 10px 17px; border: 1px solid var(--green); border-radius: 3px; background: var(--green); color: #fffdf4; font: 700 .92rem/1.4 Arial, sans-serif; text-decoration: none; cursor: pointer; }
.button:hover { background: #293725; }
.hero .button { margin-top: 24px; }
.services { padding-block: clamp(48px, 7vw, 85px); background: #e9eadf; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.service-grid article { display: grid; align-content: start; gap: 12px; padding: 22px 0; border-top: 1px solid #a9ae98; }
.service-grid article p, form > p { color: var(--muted); }
.service-grid article a { width: fit-content; font-weight: 650; }
.estimate { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 7vw, 92px); padding-block: clamp(52px, 7vw, 96px); }
form { display: grid; gap: 15px; min-width: 0; padding: clamp(16px, 3vw, 28px); border: 1px solid var(--rule); border-radius: 3px; background: #fffdf7; }
form > p { font-size: .89rem; }
form .button { justify-self: start; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
label { display: grid; gap: 4px; min-width: 0; font-size: .87rem; font-weight: 650; }
input, select, textarea { min-width: 0; width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #a9ae98; border-radius: 3px; background: white; color: var(--ink); font: inherit; font-size: 1rem; font-weight: 400; }
textarea { resize: vertical; }
#demo-form-status:empty { display: none; }
#demo-form-status { padding: 10px; background: #e9eadf; color: #293725; }
footer { padding-block: 22px; background: #293725; color: #fffdf4; font-size: .85rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 25px; }
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .demo-bar { padding-inline: 18px; }
  .site-header { padding-block: 14px; }
  .hero, .estimate, .service-grid { grid-template-columns: minmax(0, 1fr); }
  .hero img { min-height: 0; height: auto; }
  .service-grid { gap: 2px; }
}
@media (max-width: 380px) {
  .fields { grid-template-columns: minmax(0, 1fr); }
}

.demo--travel { --ink: #153327; --paper: #f4f6ee; --green: #163429; --muted: #476155; --rule: #d6dfd5; --mark: #daef9e; }
.demo--estate { --ink: #272a23; --paper: #f8f5ee; --green: #264238; --muted: #5f6256; --rule: #dcd7cb; --mark: #ded0b5; }
.demo--renovation { --mark: #f1e8cf; }
.demo--dental { --ink: #153c39; --paper: #edf7f4; --green: #146456; --muted: #3a605a; --rule: #cddfd9; --mark: #e1f6ee; }
.demo--restaurant { --ink: #fff2e0; --paper: #1b1715; --green: #e7a86f; --muted: #dbc8b5; --rule: #5a4b41; --mark: #322019; color-scheme: dark; }
.demo { background: var(--paper); color: var(--ink); }
.demo .brand { display: flex; align-items: center; gap: 10px; }
.demo .brand svg { flex: 0 0 34px; width: 34px; height: 34px; padding: 4px; border-radius: 6px; background: var(--green); color: var(--mark); }
.demo--dental .brand svg, .demo--restaurant .brand svg { border-radius: 50%; }
.demo--travel .brand, .demo--travel h1, .demo--travel h2, .demo--dental .brand, .demo--dental h1, .demo--dental h2 { font-family: "Instrument Sans", Arial, sans-serif; font-weight: 750; }
.demo--renovation .hero-image { grid-row: 1; grid-column: 1; }
.demo--renovation .hero-copy { grid-column: 2; }
.demo--dental .hero-image { border-radius: 20px; }
.demo--dental .button { border-radius: 99px; }
.demo .service-grid article { padding: 18px; border: 1px solid var(--rule); border-radius: 6px; background: var(--paper); }
.demo .service-grid img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 3px; }
.demo .services, .demo form { background: color-mix(in srgb, var(--paper), var(--muted) 8%); }
.demo input, .demo select, .demo textarea { background: var(--paper); border-color: var(--muted); }
.demo--restaurant .button { color: #2f221c; }
.demo--restaurant .button:hover { background: #f3bd90; }
.demo--travel .hero, .demo--restaurant .hero { position: relative; display: grid; isolation: isolate; min-height: clamp(400px, 51vw, 630px); margin-block: 22px 42px; padding: clamp(26px, 6vw, 85px); grid-template-columns: minmax(0, 590px); }
.demo--travel .hero::before, .demo--restaurant .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #111a16db, #12191466 75%); border-radius: 7px; }
.demo--travel .hero-image, .demo--restaurant .hero-image { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; min-height: 0; object-fit: cover; z-index: -2; border-radius: 7px; }
.demo--travel .hero-copy, .demo--restaurant .hero-copy, .demo--travel .hero-copy > p, .demo--restaurant .hero-copy > p { color: #fff7ec; }
.demo--travel .hero .button { background: #e2ef9f; color: #163429; border-color: #e2ef9f; }
.demo--travel .hero .button:hover { background: #eef7bd; }
@media (max-width: 700px) {
  .demo .site-header { align-items: flex-start; }
  .demo .site-header nav { display: grid; gap: 0; text-align: right; }
  .demo .site-header nav a { justify-content: flex-end; min-height: 35px; }
  .demo--renovation .hero-image, .demo--renovation .hero-copy { grid-column: auto; grid-row: auto; }
  .demo .service-grid { gap: 12px; }
}

.demo-bar {
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid #6f4e36;
  background: #191511;
  color: #e7d5c5;
}
.demo-bar a { color: #f0b889; text-underline-offset: 4px; }
