/* Roundhouse portfolio expansion · 21 September 2026
   Additive layer: original Orbit styling is preserved in styles.css. */
:root {
  --castpoint-navy: #0b1830;
  --castpoint-cobalt: #2864ff;
  --castpoint-aqua: #45d7e8;
  --castpoint-ice: #eff5fb;
  --bite-navy: #081d27;
  --bite-chartreuse: #d8f53c;
  --bite-chalk: #f4f6f0;
}
.app-menu { position: relative; padding-left: 30px; border-left: 1px solid var(--line); }
.app-menu summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; padding: 12px 0; }
.app-menu summary::-webkit-details-marker { display: none; }
.app-menu summary::marker { content: ''; }
.app-menu summary:hover { color: var(--blue); }
.app-menu summary:focus-visible { outline: 3px solid #6d91ff; outline-offset: 5px; border-radius: 3px; }
.app-menu summary svg, .app-menu-panel svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; fill: none; flex-shrink: 0; }
.app-menu[open] summary > svg { transform: rotate(180deg); }
.app-menu-panel { position: absolute; z-index: 30; right: 0; top: calc(100% + 10px); width: 314px; padding: 8px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 48px #10182b1c; border-radius: 8px; }
.app-menu-panel a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 14px; border-radius: 5px; }
.app-menu-panel a + a { border-top: 1px solid #edf0f6; }
.app-menu-panel a:hover { background: var(--paper); color: var(--blue); }
.app-menu-panel strong { display: block; font-size: 16px; font-weight: 700; }
.app-menu-panel small { display: block; font-size: 12px; font-weight: 400; color: #626f83; margin-top: 2px; }
.portfolio-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: -3px 0 30px; border: 1px solid var(--line); border-radius: 7px; }
.portfolio-index > a { display: flex; align-items: center; gap: 15px; padding: 21px 23px; min-width: 0; transition: background .2s; }
.portfolio-index > a + a { border-left: 1px solid var(--line); }
.portfolio-index > a:hover { background: var(--paper); }
.portfolio-index > a:first-child { border-radius: 7px 0 0 7px; }
.portfolio-index > a:last-child { border-radius: 0 7px 7px 0; }
.index-number { font-size: 11px; color: #718098; font-weight: 600; align-self: flex-start; padding-top: 5px; }
.index-name { font-size: 18px; font-weight: 700; letter-spacing: -.35px; line-height: 1.35; }
.index-name small { display: block; margin-top: 5px; font-size: 11px; font-weight: 500; color: #637086; letter-spacing: 0; line-height: 1.45; }
.index-arrow { margin-left: auto; font-size: 21px; font-weight: 400; color: #718098; }
.index-terrasea .index-name { color: #207d6a; }
.index-castpoint .index-name { color: #204ccd; }
.index-bite .index-name { color: var(--bite-navy); }
#terrasea, #castpoint, #find-the-bite { scroll-margin-top: 25px; }
.portfolio-app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.portfolio-app { display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; min-width: 0; background: var(--paper); }
.app-visual { height: 360px; flex-shrink: 0; padding: 32px 38px 28px; position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; }
.app-castpoint .app-visual { background: var(--castpoint-navy); color: var(--castpoint-ice); }
.app-bite .app-visual { background: var(--bite-navy); color: var(--bite-chalk); }
.app-brand-logo { width: 272px; max-width: 86%; height: 60px; object-fit: contain; object-position: left center; position: relative; z-index: 1; }
.app-bite .app-brand-logo { width: 298px; }
.app-visual-headline { position: relative; z-index: 1; margin-top: 26px; font-size: clamp(26px, 2.65vw, 36px); line-height: 1.16; letter-spacing: -1px; font-weight: 650; }
.app-castpoint .app-visual-headline span { color: var(--castpoint-aqua); }
.app-bite .app-visual-headline span { color: var(--bite-chartreuse); }
.visual-features { display: flex; position: relative; z-index: 1; margin-top: auto; border-top: 1px solid #ffffff2b; padding-top: 19px; gap: 8px; }
.visual-features > span { flex: 1; display: flex; align-items: center; flex-direction: column; gap: 7px; font-size: 11px; letter-spacing: .25px; font-weight: 500; line-height: 1.4; }
.visual-features img { width: 28px; height: 28px; }
.bearing-decoration { position: absolute; width: 380px; height: 380px; right: -130px; top: -95px; z-index: 0; border: 1px solid #45d7e820; border-radius: 50%; }
.bearing-decoration::before { content: ''; position: absolute; width: 6px; height: 6px; top: 172px; left: -3px; background: var(--castpoint-aqua); border-radius: 50%; opacity: .55; }
.bearing-decoration span { position: absolute; border: 1px solid #45d7e820; border-radius: 50%; inset: 38px; }
.bearing-decoration span:nth-child(2) { inset: 76px; }
.bearing-decoration span:nth-child(3) { inset: 114px; }
.contour-decoration { position: absolute; width: 110%; max-width: none; height: 130%; right: -33%; top: -8%; object-fit: cover; opacity: .15; z-index: 0; pointer-events: none; }
.app-copy { padding: 32px 38px 31px; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.app-copy .product-kicker { font-size: 11px; letter-spacing: .85px; line-height: 1.5; }
.app-copy h3 { font-size: 34px; line-height: 1.2; font-weight: 750; letter-spacing: -1px; margin-top: 21px; }
.app-copy .app-lead { font-size: 19px; font-weight: 650; line-height: 1.4; letter-spacing: -.3px; margin-top: 10px; }
.app-body { font-size: 16px; line-height: 1.85; color: #526077; margin-top: 18px; }
.app-detail { font-size: 15px; line-height: 1.8; color: #606c80; margin-top: 12px; }
.app-copy .activity-list { margin-top: 21px; margin-bottom: 26px; }
.app-castpoint .activity-list span { background: #e3edf9; color: #344e78; }
.app-bite .activity-list span { background: #e7ecdf; color: #43542b; }
.app-card-footer { width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.app-card-footer .product-link { margin-top: 0; }
.app-domain { color: #67758b; font-size: 12px; }
.app-copy .product-endorsement { margin-top: 19px; }
.app-bite .app-copy { background: #f4f6f0; }
.app-bite .product-link { color: #244d36; border-bottom-color: #a8be74; }
.app-bite .product-link:hover { color: #081d27; }
.app-bite .product-index { border-color: #cdd7c1; }
.footer-products { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding-bottom: 28px; }
.footer-products > p { font-size: 12px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: #68768b; }
.footer-products nav { display: flex; gap: 35px; flex-wrap: wrap; }
.footer-products a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.footer-products a:hover { color: var(--blue); }
.footer-products svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1180px) {
  .app-menu { padding-left: 23px; }
  .portfolio-index > a { padding: 19px 17px; gap: 10px; }
  .app-visual, .app-copy { padding-left: 30px; padding-right: 30px; }
  .app-brand-logo { width: 250px; }
  .app-bite .app-brand-logo { width: 274px; }
  .portfolio-app-grid { gap: 24px; margin-top: 24px; }
}
@media (max-width: 900px) {
  .app-menu { padding-left: 18px; }
  .app-visual { padding: 26px; height: 326px; }
  .app-copy { padding: 28px 26px; }
  .app-brand-logo { max-width: 95%; height: 55px; }
  .app-visual-headline { margin-top: 22px; letter-spacing: -.75px; }
  .app-copy h3 { font-size: 30px; }
  .app-copy .product-kicker { font-size: 10px; letter-spacing: .4px; }
  .app-copy .app-lead { font-size: 18px; }
  .index-name { font-size: 16px; }
  .index-name small { font-size: 10px; }
  .index-number { display: none; }
  .portfolio-app-grid { gap: 20px; margin-top: 20px; }
}
@media (max-width: 700px) {
  .app-menu { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 8px; }
  .app-menu summary { padding: 20px 0 9px; justify-content: space-between; color: var(--blue); }
  .app-menu-panel { position: static; width: 100%; box-shadow: none; margin-top: 10px; padding: 4px; background: #fff; }
  .app-menu-panel a { padding: 12px; }
  .app-menu-panel strong { font-size: 15px; }
  .main-nav { max-height: calc(100dvh - 83px); overflow-y: auto; }
  .portfolio-index { margin-top: 0; margin-bottom: 24px; }
  .portfolio-index > a { padding: 14px 10px; display: block; }
  .index-name { font-size: 14px; letter-spacing: -.4px; display: block; }
  .index-name small { font-size: 10px; line-height: 1.4; min-height: 28px; }
  .index-arrow { display: block; font-size: 18px; margin-top: 5px; }
  .portfolio-app-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
  .app-visual { padding: 29px 26px 26px; height: 330px; }
  .app-brand-logo { height: 56px; width: 260px; max-width: 90%; }
  .app-bite .app-brand-logo { width: 282px; }
  .app-visual-headline { font-size: clamp(26px, 6.3vw, 34px); margin-top: 22px; }
  .app-copy { padding: 30px 26px; }
  .app-copy .product-kicker { font-size: 11px; letter-spacing: .5px; }
  .app-copy h3 { font-size: 33px; }
  .app-copy .app-lead { font-size: 19px; }
  .app-body { font-size: 17px; }
  .app-detail { font-size: 16px; }
  .app-card-footer { gap: 12px; }
  .app-domain { font-size: 11px; }
  .footer-products { flex-direction: column; align-items: flex-start; gap: 13px; padding-top: 3px; padding-bottom: 23px; }
  .footer-products nav { gap: 22px; }
  .footer-products a { font-size: 13px; }

}
@media (max-width: 370px) {
  .portfolio-index > a { padding-left: 7px; padding-right: 7px; }
  .index-name { font-size: 13px; }
  .index-name small { font-size: 9px; }
  .app-visual, .app-copy { padding-left: 22px; padding-right: 22px; }
  .app-copy .product-kicker { font-size: 10px; letter-spacing: .2px; }
  .app-domain { width: 100%; }
  .footer-products nav { gap: 14px; }
  .footer-products a { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-index > a { transition: none; }
}
