/* The square brand frame is echoed in rules, tabs and image corners. */
.brand-rule { display: block; width: 48px; height: 1px; background: #d6bc87; margin-bottom: 20px; transform-origin: right; }
html[dir="ltr"] .brand-rule { transform-origin: left; }
.reading-progress { position: absolute; inset-inline-start: 0; bottom: -1px; height: 2px; width: 100%; background: #d5bd8b; transform: scaleX(0); transform-origin: right; pointer-events: none; }
html[dir="ltr"] .reading-progress { transform-origin: left; }
.nav-link { position: relative; }
.nav-link::after { content: ""; position: absolute; inset-inline: 0; bottom: 9px; height: 1px; background: #ccb589; transform: scaleX(0); transform-origin: right; transition: transform 240ms ease; }
html[dir="ltr"] .nav-link::after { transform-origin: left; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.brand-mark { position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: -4px; border-top: 1px solid #b9a272; border-inline-start: 1px solid #b9a272; width: 12px; height: 12px; opacity: 0; transition: opacity 240ms; }
.brand:hover .brand-mark::after { opacity: 1; }
.btn > .direction-icon { transition: translate 240ms ease; }
.btn:hover > .direction-icon { translate: 4px 0; }
html[dir="rtl"] .btn:hover > .direction-icon { translate: -4px 0; }
.footer-utilities { display: flex; align-items: center; gap: 18px; }
.motion-toggle { width: 30px; height: 30px; color: #c2cfc6; border-color: #43574b; }
.motion-toggle:hover { background: #2a4033; color: #e7cf9d; }
.motion-toggle:disabled { cursor: default; opacity: .55; }
.motion-toggle .icon { width: 14px; height: 14px; }
.motion-toggle span { display: grid; place-items: center; }
.motion-play, html[data-motion="off"] .motion-pause { display: none !important; }
html[data-motion="off"] .motion-play { display: grid !important; }

.studio-section { background: #f4f6f4; border-block: 1px solid #e3e9e4; }
.studio-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; margin-bottom: 35px; }
.studio-heading h2 { max-width: 550px; font-size: 27px; font-weight: 500; }
.studio-heading > p { font-size: 13px; max-width: 540px; color: #597160; }
.studio-tabs { display: flex; border-bottom: 1px solid #cdd9cf; margin-bottom: 36px; }
.studio-tab { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 14px 25px; font-size: 12px; color: #62756a; position: relative; flex: 1; line-height: 1.65; text-align: center; }
.studio-tab .icon { width: 19px; height: 19px; }
.studio-tab::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: #28583f; transform: scaleX(0); transition: transform 240ms ease; }
.studio-tab:hover { color: #20472f; background: #eaf0eb; }
.studio-tab[aria-selected="true"] { color: #19422b; background: #e6eee7; }
.studio-tab[aria-selected="true"]::after { transform: scaleX(1); }
.studio-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.studio-panels { min-width: 0; }
[data-enhanced="true"] .studio-panels { display: grid; align-items: start; }
[data-enhanced="true"] .studio-panels .studio-panel { grid-area: 1 / 1; }
/* Reserve the tallest panel's space while keeping inactive panels inaccessible. */
[data-enhanced="true"] .studio-panels .studio-panel[hidden] { display: block !important; visibility: hidden; pointer-events: none; }
.studio-panel { min-width: 0; padding-block: 6px 0; }
.studio-panel + .studio-panel { margin-top: 32px; padding-top: 32px; border-top: 1px solid #ccd7ce; }
[data-enhanced="true"] .studio-panel { min-height: 370px; margin: 0; padding-block: 6px 0; border: 0; }
.studio-index { font: 10px "Manrope", sans-serif; color: #9c8151; direction: ltr; text-align: start; margin-bottom: 18px; }
html[dir="rtl"] .studio-index { text-align: right; }
.studio-panel h3 { font-size: 22px; font-weight: 500; line-height: 1.8; max-width: 500px; }
.studio-description { font-size: 13px; color: #607569; margin-top: 13px; max-width: 510px; min-height: 52px; }
.studio-points { display: grid; gap: 10px; margin-block: 21px 26px; }
.studio-points li { display: flex; align-items: baseline; gap: 12px; font-size: 12px; color: #344d3e; }
.studio-points .icon { width: 14px; height: 14px; align-self: center; color: #8a744c; }
.studio-panel .btn { min-height: 46px; gap: 28px; font-size: 11px; }
.studio-figure { min-width: 0; margin: 0; }
.studio-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e4eae5; }
.studio-media::after { content: ""; position: absolute; inset: 12px; border-top: 1px solid #fff9; border-inline-start: 1px solid #fff9; pointer-events: none; width: 35px; height: 35px; }
.studio-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.studio-figure:hover .studio-media img { transform: scale(1.018); }
.studio-figure figcaption { margin-top: 12px; font-size: 10px; color: #748779; }
.studio-charity { background: #f2f6f5; }
.studio-signitur { background: #f5f5f3; }
.studio-software { background: #f0f4f5; }

/* A conceptual architecture drawing, not a client dashboard or portfolio. */
.solution-media { background: #152a23; color: #e3ebe6; aspect-ratio: auto; }
.solution-media::after { border-color: #bba57466; }
.solution-flow { display: flex; flex-direction: column; justify-content: space-between; min-height: 370px; padding: 32px; background-image: linear-gradient(#36544636 1px, transparent 1px), linear-gradient(90deg, #36544636 1px, transparent 1px); background-size: 32px 32px; }
.solution-flow + .solution-flow { border-top: 1px solid #496155; }
.flow-topline, .flow-bottomline { display: flex; align-items: center; gap: 15px; }
.flow-topline { justify-content: space-between; font: 9px "Manrope", sans-serif; color: #aebeb4; direction: ltr; }
.flow-code { color: #cfb681; }
.flow-nodes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; gap: 24px; }
.flow-nodes li { display: grid; justify-items: center; gap: 15px; font-size: 11px; text-align: center; line-height: 1.7; min-width: 0; position: relative; }
.flow-port { display: grid; place-items: center; width: 60px; height: 60px; background: #203a2f; border: 1px solid #698875; position: relative; z-index: 1; }
.flow-port .icon { width: 24px; height: 24px; color: #d4bd8d; }
.flow-link { position: absolute; width: calc(100% + 24px); height: 1px; inset-inline-start: 50%; top: 29px; background: #6d8777; transform-origin: right; }
html[dir="ltr"] .flow-link { transform-origin: left; }
.flow-link::after { content: ""; position: absolute; inset-inline-end: 50%; top: -2px; width: 5px; height: 5px; background: #d0b57f; }
.flow-bottomline { color: #a6bdb0; font-size: 10px; }
.flow-symbol { display: grid; place-items: center; }
.flow-symbol .icon { width: 16px; height: 16px; }
.flow-rule { height: 1px; background: #547060; flex: 1; margin-inline-start: 6px; }

.questions-section { padding-block: 0 55px; }
.questions-layout { display: grid; grid-template-columns: .8fr 1.5fr; gap: 96px; }
.questions-layout h2 { font-size: 22px; font-weight: 500; padding-top: 20px; }
.essential-question { border-top: 1px solid #d6dfd8; }
.essential-question:last-child { border-bottom: 1px solid #d6dfd8; }
.essential-question summary { display: flex; align-items: center; gap: 25px; justify-content: space-between; cursor: pointer; font-size: 13px; list-style: none; min-height: 66px; padding-block: 17px; }
.essential-question summary::-webkit-details-marker { display: none; }
.essential-question summary > span:first-child { flex: 1; }
.essential-question summary > span:not(:first-child) { color: #6f825f; display: grid; place-items: center; width: 20px; height: 20px; }
.essential-question .icon { width: 17px; height: 17px; }
.essential-question:not([open]) summary > .question-minus, .essential-question[open] summary > .question-plus { display: none; }
.essential-question[open] summary > .question-minus { display: grid; }
.essential-question p { max-width: 670px; padding-bottom: 23px; padding-inline-end: 44px; font-size: 12px; line-height: 2.1; }
.contact-context { grid-column: 1 / -1; padding: 10px 14px; border-inline-start: 2px solid #a68d5b; background: #e6eee7; font-size: 11px; color: #3e634b; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.sector-explorer { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; align-items: stretch; }
.sector-choices { display: grid; grid-template-rows: repeat(4, minmax(90px, 1fr)); align-self: start; border-top: 1px solid #d8e0da; }
.sector-choice { display: flex; align-items: center; gap: 20px; padding: 22px 16px; border-bottom: 1px solid #d8e0da; min-width: 0; position: relative; }
.sector-choice::before { content: ""; width: 2px; position: absolute; inset-block: 20px; inset-inline-start: 0; background: #a88e58; transform: scaleY(0); transition: transform 240ms ease; }
.sector-choice[aria-selected="true"]::before { transform: scaleY(1); }
.sector-choice:hover, .sector-choice[aria-selected="true"] { background: #f1f5f1; }
.sector-number { font: 10px "Manrope", sans-serif; color: #a28e65; flex-shrink: 0; }
.sector-choice-copy { display: grid; gap: 5px; min-width: 0; flex: 1; }
.sector-choice-copy strong { font-size: 19px; font-weight: 500; line-height: 1.8; }
.sector-choice-copy small { font-size: 10px; color: #79877c; line-height: 1.7; }
.sector-choice-arrow { display: grid; place-items: center; flex-shrink: 0; color: #93a196; opacity: .3; }
.sector-choice[aria-selected="true"] .sector-choice-arrow { opacity: 1; color: #32573e; }
.sector-panels, .sector-panel { min-width: 0; }
.sector-panel + .sector-panel { margin-top: 35px; }
[data-enhanced="true"] .sector-panel { margin: 0; }
.sector-visual { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: #e3eae4; }
.sector-visual img { width: 100%; height: 100%; object-fit: cover; }
.sector-image-label { position: absolute; bottom: 18px; inset-inline-start: 20px; font-size: 10px; color: #fff; background: #14221de8; padding: 5px 11px; }
.sector-panel-copy { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 78px; padding-block: 18px 0; }
.sector-panel-copy p { font-size: 12px; max-width: 320px; }
.sector-open { display: flex; align-items: center; gap: 12px; font-size: 11px; color: #28523a; white-space: nowrap; min-height: 44px; }
.sector-open .icon { width: 18px; height: 18px; }
.sector-open:hover { color: #8c7346; }
.section-nav { position: sticky; top: var(--header-height, 87px); z-index: 90; background: #fff; border-bottom: 1px solid #dce4de; }
.section-nav-inner { min-height: 55px; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.section-nav-name { color: #405b49; font-size: 12px; }
.section-nav-inner > div { display: flex; align-items: center; gap: 35px; }
.section-nav a { min-height: 55px; display: grid; align-items: center; position: relative; font-size: 11px; color: #7a877e; }
.section-nav a::after { content: ""; position: absolute; bottom: -1px; inset-inline: 0; height: 2px; background: #a68c58; transform: scaleX(0); transition: transform 230ms ease; }
.section-nav a[aria-current="location"], .section-nav a:hover { color: #244b34; }
.section-nav a[aria-current="location"]::after { transform: scaleX(1); }
html:has(.section-nav) { scroll-padding-top: calc(var(--header-height, 87px) + 76px); }
.studio-panel-actions { display: flex; align-items: center; gap: 12px; }
.studio-panel-actions .btn { min-width: 0; max-width: calc(100% - 56px); }
.service-share { width: 44px; height: 46px; border-color: #bdcbbf; color: #43624c; flex-shrink: 0; background: transparent; }
.service-share:hover { background: #e4ede6; color: #234b34; }
.service-share .icon { width: 17px; height: 17px; }
.share-status { min-height: 22px; margin-top: 8px; font-size: 10px; color: #4b7457; }
.share-fallback { max-width: 100%; width: 100%; border: 1px solid #c0cec3; background: #fff; color: #3b5946; font: 10px "Manrope", sans-serif; padding: 8px; direction: ltr; }
.back-to-top { width: 30px; height: 30px; color: #c2cfc6; border-color: #43574b; }
.back-to-top .icon { width: 14px; height: 14px; }
.back-to-top:hover { color: #e0c89a; background: #2a4033; }
.enquiry-fields { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; min-width: 0; padding: 0; border: 0; margin: 0; }
.brief-label { display: flex; align-items: start; justify-content: space-between; gap: 10px; min-height: 42px; line-height: 1.7; }
.brief-label > [data-brief-label] { flex: 1; min-width: 0; }
.brief-label small { flex-shrink: 0; padding-top: 3px; }
.brief-label small { font-size: 9px; font-weight: 400; color: #7d8d81; }
.field-error { font-size: 10px; color: #a33c34; line-height: 1.7; }
.contact-draft { display: block; min-width: 0; border-top: 1px solid #bacabc; padding-top: 22px; margin-top: 5px; }
.contact-draft h3 { font-size: 17px; font-weight: 500; }
.draft-recipient { margin-top: 5px; font: 10px "Manrope", sans-serif; color: #6c8574; direction: ltr; unicode-bidi: plaintext; overflow-wrap: anywhere; }
.draft-content { font: inherit; font-size: 12px; line-height: 2; color: #49634f; white-space: pre-wrap; overflow-wrap: anywhere; margin: 18px 0; max-height: 280px; overflow-y: auto; }
.draft-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.draft-actions .icon-button { color: #345b40; border-color: #a9bfae; width: 44px; height: 46px; }
.draft-actions .icon-button:hover { background: #dfe9e1; }

@media (max-width: 1190px) {
  .sector-explorer { gap: 40px; }
  .sector-choice-copy strong { font-size: 18px; }
  .sector-choice { padding-block: 19px; gap: 14px; }
  .studio-heading, .studio-layout { gap: 45px; }
  .questions-layout { gap: 60px; }
  .solution-flow { padding: 26px; }
  .studio-heading h2 { font-size: 25px; }
}
@media (max-width: 900px) {
  .sector-explorer { gap: 28px; grid-template-columns: .85fr 1.15fr; }
  .sector-choice { padding-inline: 12px; }
  .sector-choice-copy strong { font-size: 16px; }
  .sector-panel-copy { gap: 12px; align-items: start; flex-direction: column; min-height: 110px; }
  .studio-layout { gap: 32px; }
  .studio-panel h3 { font-size: 20px; }
  .studio-tab { font-size: 11px; padding-inline: 14px; }
  .flow-nodes { gap: 14px; }
  .flow-link { width: calc(100% + 14px); }
  .flow-port { width: 46px; height: 46px; }
  .flow-link { top: 22px; }
  .flow-port .icon { width: 21px; height: 21px; }
  .solution-flow { padding: 22px; }
}
@media (max-width: 700px) {
  .sector-explorer { grid-template-columns: 1fr; gap: 25px; }
  .sector-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(103px, 1fr)); }
  .sector-choice { padding: 17px 12px; gap: 9px; }
  .sector-choice:nth-child(odd) { border-inline-end: 1px solid #d8e0da; }
  .sector-choice-arrow { display: none; }
  .sector-choice-copy strong { font-size: 14px; overflow-wrap: anywhere; }
  .sector-choice-copy small { font-size: 9px; }
  .sector-number { font-size: 9px; }
  .sector-panel-copy { min-height: 90px; flex-direction: row; align-items: center; padding-top: 12px; }
  .sector-panel-copy p { font-size: 11px; }
  .sector-open { font-size: 10px; gap: 9px; }
  .sector-image-label { font-size: 9px; inset-inline-start: 14px; bottom: 14px; }
  .section-nav-inner { min-height: 48px; }
  .section-nav-name { display: none; }
  .section-nav-inner > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; width: 100%; }
  .section-nav a { font-size: 10px; min-height: 48px; text-align: center; line-height: 1.6; }
  .section-nav { top: var(--header-height, 73px); }
  html:has(.section-nav) { scroll-padding-top: calc(var(--header-height, 73px) + 68px); }
  .enquiry-fields { gap: 16px; }
  .contact-draft h3 { font-size: 16px; }
  .draft-content { font-size: 11px; }
  .brand-rule { width: 35px; margin-bottom: 15px; }
  .studio-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 28px; }
  .studio-heading h2 { font-size: 23px; }
  .studio-heading > p { font-size: 12px; }
  .studio-tabs { margin-bottom: 28px; }
  .studio-tab { flex-direction: column; gap: 8px; min-height: 79px; padding: 12px 5px; font-size: 10px; }
  .studio-tab .icon { width: 18px; height: 18px; }
  .studio-layout { grid-template-columns: 1fr; gap: 28px; }
  [data-enhanced="true"] .studio-panel { min-height: 355px; }
  .studio-panel h3 { font-size: 21px; }
  .studio-description { font-size: 12px; }
  .studio-points li { font-size: 11px; }
  .studio-index { margin-bottom: 12px; }
  .studio-media { aspect-ratio: 4 / 3; }
  .solution-media { aspect-ratio: auto; }
  .solution-flow { min-height: 300px; padding: 27px; }
  .flow-port { width: 52px; height: 52px; }
  .flow-link { top: 25px; }
  .flow-nodes li { font-size: 10px; }
  .questions-section { padding-bottom: 38px; }
  .questions-layout { grid-template-columns: 1fr; gap: 18px; }
  .questions-layout h2 { font-size: 21px; padding: 0; }
  .essential-question summary { font-size: 12px; }
  .essential-question p { font-size: 11px; }
  .footer-utilities { margin-inline-start: auto; }
}
@media (max-width: 370px) {
  .sector-choice-copy strong { font-size: 13px; }
  .sector-choice-copy small { font-size: 8px; }
  .sector-panel-copy { gap: 16px; flex-direction: column; align-items: start; min-height: 104px; }
  .section-nav-inner > div { gap: 8px; }
  .section-nav a { font-size: 9px; }
  .enquiry-fields { grid-template-columns: 1fr; }
  .studio-heading h2 { font-size: 21px; }
  .studio-tab { font-size: 9px; }
  [data-enhanced="true"] .studio-panel { min-height: 390px; }
  .studio-panel h3 { font-size: 20px; }
  .studio-panel .btn { padding-inline: 15px; gap: 15px; font-size: 10px; }
  .solution-flow { padding: 24px 20px; }
  .flow-port { width: 46px; height: 46px; }
  .flow-link { top: 22px; }
}
html[data-motion="off"] { scroll-behavior: auto; }
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
