/* The Living Edit: a personal route through the studio's real portfolio. */
.reading-line { position: fixed; z-index: 120; inset: 0 0 auto; height: 2px; background: #a68b5e; transform: scaleX(0); transform-origin: left; pointer-events: none; }
.hero { max-height: none; }
.hero-visual { flex-shrink: 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 26px; }
.hero-discover { font-size: 11px; color: #716656; display: inline-flex; gap: 20px; align-items: center; min-height: 44px; }
.hero-discover span { color: #8c7350; font-size: 21px; }
.hero-slider-controls { position: absolute; z-index: 2; left: 32px; right: 32px; bottom: 146px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #fff; }
.hero-slider-controls[hidden] { display: none; }
.hero-shade { background: linear-gradient(0deg, #10170ed9, #10170e26 43%, transparent 65%); }
.hero-paging { display: flex; align-items: center; gap: 7px; }
.hero-paging button { width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff75; background: #20271d65; color: #fff; font-size: 20px; backdrop-filter: blur(8px); }
.hero-paging button:hover, .hero-paging button[aria-pressed="true"] { background: #f8f6f1; color: #252622; }
#hero-slide-count { font: 400 9px var(--sans); letter-spacing: 1px; margin-right: 7px; }
.hero-dots { display: flex; gap: 5px; }
.hero-dot { position: relative; width: 25px; height: 44px; padding: 0; border: 0; background: transparent; }
.hero-dot:after { content: ''; position: absolute; height: 2px; inset: 21px 0 auto; background: #ffffff65; transition: background .2s; }
.hero-dot[aria-pressed="true"]:after { background: #fff; height: 4px; top: 20px; }
.hero-dot:focus-visible, .hero-paging button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hero-image-new { animation: cover-arrive .75s ease-out both; }
@keyframes cover-arrive { from { opacity: .35; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }

.living-edit { background: #272c25; color: #f5f1e7; position: relative; overflow: hidden; }
.living-edit:before { content: ''; position: absolute; inset: 0 7% 0 auto; width: 1px; background: #ffffff08; pointer-events: none; }
.edit-heading { display: grid; grid-template-columns: .8fr 1.25fr 1fr; align-items: end; gap: 40px; margin-bottom: 64px; }
.edit-heading .eyebrow { align-self: start; margin: 9px 0 0; color: #c7bda9; letter-spacing: 2px; font-size: 10px; }
.edit-star { font: 400 36px var(--sans); color: #c6ac7b; margin-right: 8px; }
.edit-heading h2 { margin: 0; font-size: clamp(38px, 4.5vw, 63px); line-height: 1.3; letter-spacing: -1.5px; font-weight: 400; }
.edit-heading h2 span { color: #bfaa86; }
.edit-heading > p:last-child { color: #c4c3b7; font-size: 13px; line-height: 1.9; margin: 0 0 9px; }
.edit-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 68px; align-items: center; }
.edit-artwork { position: relative; min-width: 0; }
.edit-image-link { display: block; position: relative; }
#edit-image-frame { aspect-ratio: 1.18; overflow: hidden; background: #3c4537; }
#edit-image-frame img { width: 100%; height: 100%; display: block; object-fit: cover; animation: edit-arrive .65s ease-out both; transition: transform .8s ease; }
.edit-image-link:hover img { transform: scale(1.035); }
.edit-image-open { position: absolute; right: 0; bottom: 0; padding: 17px 22px; background: #f4efe3; color: #34372d; font-size: 11px; display: flex; align-items: center; gap: 28px; }
.edit-image-open > span { font-size: 22px; }
.edit-image-caption { display: flex; justify-content: space-between; gap: 20px; margin-top: 15px; color: #c2bcad; font-size: 8px; letter-spacing: .8px; }
.edit-image-caption > span:first-child { font-family: var(--sans); }
.edit-stamp { position: absolute; left: -28px; bottom: 72px; width: 84px; height: 103px; background: #b29a70; color: #292e25; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.edit-stamp > span { font: 400 31px/.95 var(--sans); letter-spacing: -2px; }
.edit-stamp small { margin-top: 10px; font: 500 7px/1.6 var(--sans); letter-spacing: 1.5px; text-align: center; }
.edit-options { border-top: 1px solid #626757; }
.edit-options button { width: 100%; display: flex; align-items: center; gap: 22px; text-align: left; color: #aaaF9f; padding: 25px 0; background: transparent; border: 0; border-bottom: 1px solid #626757; }
.edit-options button > span:first-child { align-self: flex-start; font: 400 10px var(--sans); margin-top: 7px; color: #c9b083; }
.edit-options strong { font-size: 23px; font-weight: 400; flex: 1; }
.edit-options small { display: block; font: 400 8px/1.8 var(--sans); margin-top: 7px; letter-spacing: 1.5px; }
.edit-options button > span:last-child { font: 400 28px var(--sans); opacity: .35; transition: transform .25s; }
.edit-options button[aria-pressed="true"] { color: #faf6eb; }
.edit-options button[aria-pressed="true"] > span:last-child { opacity: 1; transform: rotate(45deg); color: #d5bc91; }
.edit-options button:hover { color: #faf6eb; }
.edit-options button:focus-visible, .living-edit a:focus-visible { outline: 2px solid #cbb083; outline-offset: 6px; }
.edit-narrative { margin-top: 30px; min-height: 134px; }
#edit-description { color: #d1d0c4; font-size: 13px; line-height: 2; margin: 0; }
.edit-tags { font-size: 10px; color: #bba681; letter-spacing: .4px; margin-top: 15px; }
.edit-story > .text-link { color: #f2e8d4; border-color: #b3a181; font-size: 12px; min-height: 44px; margin-top: 12px; }
#edit-count { color: #bba681; font: 400 11px var(--sans); margin-left: 8px; }
.edit-footer { display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid #59604e; margin: 60px 0 0; padding-top: 22px; font-size: 9px; color: #afb39f; }
.edit-footer > span:first-child { font-family: var(--sans); letter-spacing: 1.7px; }
@keyframes edit-arrive { from { opacity: .35; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }

.collection-personal { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 0 0 24px; }
.collection-personal p { font-size: 12px; color: #716656; margin: 0; }
#saved-filter { padding: 9px 15px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; border: 1px solid #bdb3a2; color: #615640; background: transparent; font-size: 11px; }
#saved-filter[aria-pressed="true"] { background: #292e25; border-color: #292e25; color: #f8f5ec; }
#saved-filter > span:first-child { font: 400 24px/1 var(--sans); }
#saved-count { font: 500 10px var(--sans); min-width: 17px; }
.collection-context { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
#clear-edit { min-height: 44px; padding: 8px 12px; background: #ddd3bf; border: 0; color: #4e4535; font-size: 11px; }
#clear-edit[hidden] { display: none; }
.project-card { position: relative; cursor: default; }
.project-grid:not(.filtered) .project-card:first-child { display: block; }
.project-card-open { display: block; width: 100%; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; }
.project-grid:not(.filtered) .project-card:first-child .project-card-open { display: grid; grid-template-columns: 1fr auto; }
.project-save { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid #ffffffa1; border-radius: 50%; background: #f7f3e9ed; color: #3d4334; font: 400 28px/1 var(--sans); box-shadow: 0 2px 8px #20271b0d; }
.project-save[aria-pressed="true"] { background: #303829; color: #e5d3ae; border-color: #cbbb9d; }
.project-save:hover { transform: scale(1.06); }
.project-type-badge { top: auto; right: auto; bottom: 22px; left: 22px; }
.project-card-open:focus-visible { outline: 2px solid #8a714b; outline-offset: 6px; }
.project-save:focus-visible { outline: 2px solid #f7f3e9; outline-offset: 3px; box-shadow: 0 0 0 5px #443e2e; }
.dossier-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
.dossier-actions button { min-height: 44px; padding: 9px; background: transparent; color: #60513a; border: 1px solid #b6a585; font-size: 11px; }
.dossier-actions button[aria-pressed="true"] { background: #343a2c; color: #f3e8d2; border-color: #343a2c; }
.dialog-action-status { color: #65583e; font-size: 10px; line-height: 1.8; margin-top: 10px; }
.dialog-action-status:empty { display: none; }
#share-link-fallback { font-size: 11px; }
#share-link-value { width: 100%; padding: 10px; border: 1px solid #b8ab93; background: #faf7ee; color: #4d4537; font-size: 12px; margin-top: 7px; }
.saved-tray { position: fixed; z-index: 90; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; max-width: calc(100% - 32px); padding: 10px 12px 10px 16px; border: 1px solid #c8b58d; background: #2d342aef; color: #f8f3e7; box-shadow: 0 8px 35px #141b1630; backdrop-filter: blur(18px); }
.saved-tray[hidden], body.modal-open .saved-tray { display: none; }
.saved-previews { display: flex; padding-right: 5px; }
.saved-previews img { height: 38px; width: 38px; object-fit: cover; border: 2px solid #c6b798; margin-right: -7px; }
.saved-tray-label { white-space: nowrap; font-size: 11px; color: #e4d9c1; }
.saved-tray-label strong { font: 500 14px var(--sans); margin-inline: 4px; }
.saved-tray button, .saved-tray a { min-height: 44px; font-size: 11px; white-space: nowrap; display: inline-flex; align-items: center; gap: 16px; padding: 9px 12px; border: 1px solid #7e8870; color: #f2ead9; background: transparent; }
.saved-tray a { background: #c8af80; color: #292e23; border-color: #c8af80; }
.saved-tray #hide-saved-tray { border: 0; padding: 5px; width: 44px; justify-content: center; font-size: 22px; color: #d0c8b8; }
body.has-saved { padding-bottom: 90px; }
.portfolio-feedback { position: fixed; z-index: 95; bottom: 109px; left: 50%; transform: translate(-50%, 8px); background: #f8f4ea; color: #413e33; padding: 12px 20px; border: 1px solid #cbbd9f; font-size: 12px; text-align: center; width: max-content; max-width: calc(100% - 40px); box-shadow: 0 4px 25px #292d211a; pointer-events: none; opacity: 0; transition: opacity .2s, transform .2s; }
.portfolio-feedback.is-visible { opacity: 1; transform: translate(-50%, 0); }
body.modal-open .portfolio-feedback { visibility: hidden; }
.inquiry-projects { border-block: 1px solid #c7baa1; padding-block: 18px; margin-block: 22px; }
.inquiry-projects > p { color: #6b5b40; font-size: 11px; margin-bottom: 10px; }
.inquiry-projects ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.inquiry-projects li { display: flex; align-items: center; gap: 12px; padding-left: 12px; background: #e7dfd0; color: #504735; font-size: 12px; }
.inquiry-projects li > span { flex: 1; }
.inquiry-projects button { width: 44px; height: 44px; flex-shrink: 0; background: transparent; border: 0; color: #6e5e40; font-size: 23px; }
.inquiry-projects small { display: block; margin-top: 12px; font-size: 10px; color: #716656; }
.revealed { animation: gentle-arrive .65s cubic-bezier(.2,.65,.35,1) both; }
@keyframes gentle-arrive { from { opacity: .65; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .edit-heading { grid-template-columns: .7fr 1fr; gap: 24px; }
  .edit-heading > p:last-child { grid-column: 2; }
  .edit-layout { gap: 40px; grid-template-columns: 1.1fr 1fr; }
  .edit-options button { gap: 16px; padding-block: 22px; }
  .edit-options strong { font-size: 20px; }
  .edit-options small { font-size: 7px; letter-spacing: 1px; }
  .edit-narrative { min-height: 154px; }
  #edit-image-frame { aspect-ratio: .9; }
  .hero-slider-controls { left: 24px; right: 24px; bottom: 135px; flex-wrap: wrap; }
  .hero-paging { margin-left: auto; }
  .hero-dot { width: 24px; }
}
@media (max-width: 800px) {
  .edit-heading { grid-template-columns: 1fr 1fr; margin-bottom: 38px; }
  .edit-heading .eyebrow { grid-column: 1 / -1; }
  .edit-heading > p:last-child { grid-column: auto; }
  .edit-layout { grid-template-columns: 1fr; gap: 36px; }
  #edit-image-frame { aspect-ratio: 1.5; }
  .edit-stamp { left: -14px; bottom: 55px; width: 66px; height: 83px; }
  .edit-narrative { min-height: 90px; }
  .edit-options button { padding: 19px 0; }
  .edit-options strong { font-size: 22px; }
  .edit-options small { font-size: 8px; }
  .edit-footer { margin-top: 40px; font-size: 8px; }
  .hero-slider-controls { left: 18px; right: 18px; bottom: 134px; }
  .hero-paging button { width: 40px; height: 44px; }
  .hero-dots { gap: 4px; }
  .hero-dot { width: 24px; }
  .hero-paging { gap: 4px; }
  #hero-slide-count { display: none; }
  .hero-actions { gap: 6px; }
}
@media (max-width: 600px) {
  .hero-actions { gap: 10px 22px; }
  .hero-discover { font-size: 11px; }
  .hero-slider-controls { bottom: 151px; left: 20px; right: 20px; }
  .hero-dot { width: 24px; }
  .hero-paging button { width: 44px; }
  .hero-project strong { font-size: 17px; }
  .hero-project small { letter-spacing: 1.6px; }
  .hero-project { gap: 15px; }
  .hero-project-arrow { flex-shrink: 0; }
  .edit-heading { display: block; }
  .edit-heading .eyebrow { margin-bottom: 24px; font-size: 8px; }
  .edit-star { font-size: 30px; }
  .edit-heading h2 { font-size: 43px; }
  .edit-heading > p:last-child { margin-top: 22px; font-size: 12px; }
  #edit-image-frame { aspect-ratio: 1.05; }
  .edit-image-open { padding: 13px 16px; font-size: 10px; gap: 23px; }
  .edit-image-caption { font-size: 7px; line-height: 1.7; gap: 16px; }
  .edit-image-caption > span:last-child { max-width: 110px; text-align: right; }
  .edit-options strong { font-size: 21px; }
  .edit-narrative { min-height: 130px; }
  #edit-description { font-size: 12px; }
  .edit-footer { flex-direction: column; gap: 12px; }
  .edit-footer > span:first-child { font-size: 7px; letter-spacing: 1.1px; }
  .collection-personal { align-items: flex-start; gap: 14px; margin-bottom: 20px; }
  .collection-personal p { font-size: 10px; line-height: 1.9; max-width: 120px; }
  #saved-filter { font-size: 10px; padding-inline: 10px; gap: 7px; flex-shrink: 0; }
  .project-grid:not(.filtered) .project-card:first-child .project-card-open { display: block; }
  .project-save { top: 12px; right: 12px; }
  .project-type-badge { left: 14px; bottom: 14px; top: auto; right: auto; }
  .saved-tray { bottom: 12px; padding: 6px; gap: 5px; max-width: calc(100% - 20px); width: max-content; }
  .saved-previews { display: none; }
  .saved-tray-label { font-size: 10px; margin-left: 7px; }
  .saved-tray-label strong { margin-inline: 1px; }
  .saved-tray button, .saved-tray a { font-size: 10px; padding-inline: 9px; gap: 4px; }
  .saved-tray a { max-width: 115px; white-space: normal; line-height: 1.5; }
  .saved-tray #hide-saved-tray { width: 44px; }
  .portfolio-feedback { font-size: 11px; bottom: 89px; padding: 11px 15px; }
  .collection-caption { align-items: center; gap: 16px; }
  .collection-caption .project-count { white-space: nowrap; }
}
@media (max-width: 360px) {
  .hero-dot { width: 24px; }
  .hero-dots { width: 100%; }
  .hero-paging { gap: 3px; }
  .hero-slider-controls { left: 14px; right: 14px; gap: 7px; }
  .hero-project strong { font-size: 15px; }
  .edit-heading h2 { font-size: 39px; }
  .edit-options strong { font-size: 19px; }
  .edit-options small { letter-spacing: .6px; font-size: 7px; }
  .collection-personal { gap: 8px; }
  #saved-filter { padding-inline: 7px; }
  .saved-tray a { max-width: 94px; }
  .saved-tray-label { margin-left: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-image-new, #edit-image-frame img, .revealed { animation: none; }
  #edit-image-frame img, .edit-options button > span:last-child, .portfolio-feedback { transition: none; }
  .edit-image-link:hover img, .project-save:hover { transform: none; }
}

/* Soft corners and circular direction controls, carried through every view. */
:root { --corner-image: 14px; --corner-panel: 16px; --corner-control: 8px; }
.brief-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
.brief-actions > button { width: 100%; min-height: 48px; margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 18px; text-align: left; }
.brief-actions .copy-brief { background: transparent; border: 1px solid #a89b83; color: #494235; font-size: 12px; }
.brief-actions .copy-brief:hover { background: #e8e0d1; }
.brief-actions .copy-brief > span { display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 26px; border: 1px solid #a89b83; border-radius: 50%; font-size: 17px; }
.brief-preview-panel { padding-top: 20px; margin-top: 18px; border-top: 1px solid #d2c9b9; }
.project-form .brief-preview-panel label { margin-bottom: 10px; }
.project-form #brief-preview { display: block; width: 100%; margin-top: 10px; padding: 14px; background: #faf8f3; border: 1px solid #d2c9b9; font-size: 13px; line-height: 1.9; resize: vertical; min-height: 180px; }
#brief-preview-hint { color: #716656; font-size: 11px; line-height: 1.9; margin-bottom: 8px; }
.brief-line-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 12px; text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 600px) { .project-form #brief-preview { font-size: 16px; } }
.hero-visual, .project-picture, #edit-image-frame, .studio-detail img { border-radius: var(--corner-image); }
.project-picture, #edit-image-frame { overflow: hidden; }
.project-dossier, .project-form, .portfolio-empty { border-radius: var(--corner-panel); }
.project-dossier { overflow-x: hidden; }
.gallery-stage { border-radius: 10px; overflow: hidden; }
.gallery-thumb { border-radius: var(--corner-control); }
.gallery-thumb > img { border-radius: 5px; }
.button, .filter, #saved-filter, #clear-edit, .dossier-actions button,
.gallery-tools #gallery-expand, .copy-brief, .service-tags span,
.project-form input, .project-form textarea, .project-form select, #share-link-value {
  border-radius: var(--corner-control);
}
.hero-visual-label, .project-index, .project-type-badge, .dossier-status { border-radius: 6px; }
.edit-stamp { border-radius: 10px; }
.edit-image-open { right: 14px; bottom: 14px; border-radius: 10px; padding: 12px 16px; }
.saved-tray { border-radius: 14px; }
.saved-tray button, .saved-tray a, .inquiry-projects li, .portfolio-feedback { border-radius: var(--corner-control); }
.saved-previews img { border-radius: 7px; }
.mobile-nav:not([hidden]) { border-radius: 0 0 14px 14px; }
.mobile-nav a, .desktop-nav a { border-radius: 6px; }
.hero-paging button, .image-viewer #viewer-prev, .image-viewer #viewer-next,
.image-viewer #viewer-zoom-in, .image-viewer #viewer-zoom-out,
.gallery-stage > button, .project-open, .back-top, .menu-toggle { border-radius: 50%; }
.image-viewer #viewer-fit { border-radius: var(--corner-control); }
.button > span[aria-hidden="true"], .text-link > span[aria-hidden="true"],
.hero-discover > span, .header-contact > span, .edit-image-open > span {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 30px; height: 30px; border: 1px solid currentColor; border-radius: 50%;
  font: 400 19px/1 var(--sans);
}
.button > span[aria-hidden="true"] { border-color: #ffffff70; }
.button-gold > span[aria-hidden="true"] { border-color: #73644470; }
.header-contact > span { width: 28px; height: 28px; font-size: 18px; border-color: #aaa18f; }
.text-link > span[aria-hidden="true"], .hero-discover > span { width: 27px; height: 27px; font-size: 17px; }
.edit-options button > span:last-child { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #8a927c; border-radius: 50%; font-size: 23px; flex-shrink: 0; }
.saved-tray #view-saved > span, .saved-tray #consult-saved > span,
.dossier-actions #dialog-share > span { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 1px solid currentColor; border-radius: 50%; font: 400 15px/1 var(--sans); flex-shrink: 0; }
.contact-links a i { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid #777f68; border-radius: 50%; font-style: normal; }
@media (max-width: 600px) {
  :root { --corner-image: 11px; --corner-panel: 13px; }
  .header-contact > span { width: 24px; height: 24px; font-size: 16px; }
  .header-contact { gap: 8px; }
  .edit-image-open { right: 12px; bottom: 12px; padding: 10px 12px; gap: 17px; }
  .saved-tray #view-saved > span, .saved-tray #consult-saved > span { width: 19px; height: 19px; font-size: 13px; }
  .hero-paging button { width: 44px; }
}
@media (max-width: 360px) {
  .header-contact { gap: 5px; }
  .saved-tray #view-saved > span { display: none; }
}

/* A compact opening statement leaves room for a useful glimpse of the plan. */
.hero h1 { font-size: clamp(43px, 4.1vw, 65px); line-height: 1.22; letter-spacing: -1.8px; margin-bottom: 22px; }
.hero-content { justify-content: flex-start; padding-top: 48px; padding-bottom: 165px; }
.hero .eyebrow { margin-bottom: 24px; }
.hero-description { font-size: 13px; margin-bottom: 23px; }
.hero-plan-preview { position: absolute; left: max(56px, calc((100vw - 1320px) / 2)); bottom: 53px; width: calc(43% - 88px); max-width: 430px; display: flex; align-items: center; gap: 16px; padding: 14px; border: 1px solid #d2c8b8; border-radius: 12px; background: #f0ece3; transition: background .2s, border-color .2s; }
.hero-plan-preview[hidden] { display: none; }
.hero-plan-preview:hover { background: #e8e0d1; border-color: #b9a782; }
#hero-plan-image { width: 84px; height: 78px; flex-shrink: 0; border-radius: 7px; overflow: hidden; background: #fbfaf5; border: 1px solid #ded7ca; }
#hero-plan-image img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.hero-plan-copy { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.hero-plan-copy small { font: 500 7px/1.5 var(--sans); letter-spacing: 1.1px; color: #877354; }
.hero-plan-copy strong { font-size: 13px; font-weight: 400; line-height: 1.6; color: #47483f; margin-top: 7px; }
#hero-plan-caption { font-size: 10px; color: #7a705f; margin-top: 5px; }
.hero-plan-arrow { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border: 1px solid #ac9c80; color: #7e6a49; border-radius: 50%; font: 400 18px/1 var(--sans); }
@media (min-width: 1600px) {
  .hero-content { padding-top: 76px; }
  .hero-plan-preview { bottom: 78px; }
}
@media (max-width: 1100px) {
  .hero h1 { font-size: 43px; }
  .hero-content { padding-top: 38px; padding-bottom: 155px; }
  .hero-plan-preview { left: 36px; bottom: 49px; width: calc(43% - 63px); gap: 11px; padding: 12px; }
  #hero-plan-image { width: 65px; height: 72px; }
  .hero-plan-copy strong { font-size: 12px; }
  .hero-plan-copy small { font-size: 6px; letter-spacing: .6px; }
  .hero-plan-arrow { width: 25px; height: 25px; }
}
@media (max-width: 800px) {
  .hero h1 { font-size: 38px; }
  .hero-content { padding-top: 32px; }
  .hero-plan-preview { left: 28px; width: calc(47% - 51px); bottom: 42px; }
  .hero-plan-copy strong { font-size: 11px; }
  #hero-plan-caption { font-size: 9px; }
  #hero-plan-image { width: 55px; height: 65px; }
  .hero-plan-preview { gap: 9px; }
}
@media (max-width: 600px) {
  .hero-content { padding: 28px 24px 24px; }
  .hero .eyebrow { font-size: 7px; letter-spacing: 1.4px; margin-bottom: 17px; }
  .hero h1 { font-size: clamp(32px, 8.3vw, 40px); line-height: 1.27; letter-spacing: -.8px; margin-bottom: 16px; }
  .hero-description { font-size: 11px; line-height: 1.85; margin-bottom: 18px; }
  .hero-actions { display: grid; grid-template-columns: auto 1fr; gap: 12px; width: 100%; align-items: center; }
  .hero-actions .button-dark { min-height: 46px; padding: 10px 12px; gap: 18px; font-size: 11px; }
  .hero-actions .button-dark > span { width: 26px; height: 26px; font-size: 17px; }
  .hero-discover { font-size: 10px; gap: 9px; justify-content: flex-end; }
  .hero-discover > span { width: 25px; height: 25px; font-size: 16px; }
  .hero-visual { height: 400px; }
  .hero-plan-preview { position: static; width: calc(100% - 48px); max-width: none; margin: 18px 24px 2px; padding: 12px; gap: 14px; }
  #hero-plan-image { width: 66px; height: 62px; }
  .hero-plan-copy small { font-size: 6px; letter-spacing: .8px; }
  .hero-plan-copy strong { font-size: 12px; }
  #hero-plan-caption { font-size: 9px; }
}
@media (max-width: 360px) {
  .hero-content { padding-inline: 22px; }
  .hero h1 { font-size: 31px; }
  .hero-actions { gap: 9px; }
  .hero-actions .button-dark { font-size: 10px; padding-inline: 10px; gap: 12px; }
  .hero-discover { font-size: 9px; gap: 6px; }
  .hero-plan-preview { width: calc(100% - 40px); margin-inline: 20px; gap: 10px; }
  #hero-plan-image { width: 55px; }
  .hero-plan-copy strong { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-plan-preview { transition: none; }
}
/* Services remain readable as the collection grows. */
.project-completion { display: inline-block; margin: 10px 0 0; padding: 5px 10px; border: 1px solid #c4baa6; border-radius: 6px; font-size: 10px; color: #6e6048; background: #eeebe3; }
.service-number { white-space: nowrap; }
.survey-note { position: relative; margin-top: 38px; padding: 27px; max-width: 350px; border: 1px solid var(--line); border-radius: 14px; background: #eeebe3; }
.survey-note > small { display: block; font: 9px var(--sans); letter-spacing: 1.6px; color: #7b705e; padding-right: 30px; }
.survey-note h3 { margin: 20px 0 10px; font-size: 20px; font-weight: 500; }
.survey-note p { font-size: 12px; line-height: 1.95; color: #6e7068; margin-bottom: 18px; }
.survey-note-icon { position: absolute; right: 20px; top: 20px; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #aaa08e; border-radius: 50%; }
.survey-note .text-link { font-size: 12px; min-height: 44px; width: 100%; margin: 0; }
.service-content .service-inquiry { font-size: 12px; margin: 20px 0 0; min-height: 44px; }
.service-guidance { margin: -6px 0 23px; font-size: 11px; line-height: 1.8; color: #716656; }
.project-toolbar { flex-wrap: wrap; }
.project-toolbar .filters { flex-wrap: wrap; justify-content: flex-start; }
.project-toolbar .filter { flex: 0 0 auto; min-height: 44px; }
#empty-service-link { margin: 0 22px 0 0; }
#empty-service-link[hidden] { display: none; }
@media (max-width: 800px) {
  .survey-note { max-width: none; margin: 24px 0 32px; padding: 22px; }
  .survey-note h3 { margin-top: 14px; }
  .survey-note p br { display: none; }
  .survey-note .text-link { width: auto; max-width: 240px; }
}
@media (max-width: 540px) {
  .project-toolbar .filters { justify-content: flex-start; gap: 4px; }
  .project-toolbar .filter { flex: 0 0 auto; }
  #empty-service-link { display: flex; width: fit-content; margin: 0 auto 14px; }
}
