/* Haven agency — a considered home for the business behind the portfolio. */
.agency-page { color: #302b27; padding-bottom: 12px; }
.agency-page-heading { display:flex; justify-content:space-between; align-items:center; gap:24px; margin:3px 0 27px; }
.agency-page-heading .eyebrow { color:#2e3f52; font-size:12px; letter-spacing:1.7px; font-weight:600; }
.agency-page-heading h1 { font-size:38px; font-weight:500; line-height:1.2; letter-spacing:-1.5px; margin:12px 0 11px; }
.agency-page-heading p:last-child { color:#6e7781; font-size:14px; line-height:1.7; }
.agency-page-heading>.btn { flex-shrink:0; }
.agency-hero { display:grid; grid-template-columns:1.1fr 1fr; background:#1f2b38; border:1px solid #1f2b38; border-radius:15px; overflow:hidden; min-height:292px; }
.agency-hero-copy { padding:31px 36px 32px; color:#f8f6f3; }
.agency-identity { display:flex; align-items:center; gap:12px; color:#acb9c8; font-size:12px; font-weight:600; letter-spacing:1.4px; }
.agency-monogram { width:35px; height:35px; display:grid; place-items:center; background:#ffffff0b; border:1px solid #ffffff1a; border-radius:9px; color:#d6dfe8; }
.agency-monogram svg { width:21px; height:21px; }
.agency-hero-copy h2 { font-size:57px; line-height:1.1; font-weight:500; letter-spacing:-3px; margin:24px 0 11px; overflow-wrap:anywhere; }
.agency-wordmark-dot { color:#d6dfe8; }
.agency-hero-copy>p { color:#cdd6e0; font-size:16px; line-height:1.6; }
.agency-hero-meta { display:flex; align-items:center; flex-wrap:wrap; gap:13px 19px; margin:17px 0 25px; font-size:12px; color:#adb9c6; }
.agency-hero-meta span { display:inline-flex; align-items:center; gap:6px; }
.agency-hero-meta span+span { border-left:1px solid #ffffff28; padding-left:18px; }
.agency-hero-meta svg { height:13px; width:13px; }
.agency-hero-button { border:0; border-radius:7px; background:#d6dfe8; color:#1f2b38; display:inline-flex; align-items:center; justify-content:space-between; gap:28px; padding:12px 15px; font-size:13px; font-weight:650; cursor:pointer; }
.agency-hero-button:hover { background:#d5dee9; }
.agency-hero-button svg { width:15px; height:15px; }
.agency-hero-image { position:relative; min-width:0; isolation:isolate; }
.agency-hero-image img { width:100%; height:100%; object-fit:cover; object-position:65% center; position:absolute; inset:0; }
.agency-hero-image:after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,#12192200 25%,#121922c9 100%); }
.agency-image-caption { position:absolute; bottom:30px; left:30px; right:25px; z-index:1; color:#f8f6f3; }
.agency-image-caption span { font-size:12px; letter-spacing:1.6px; font-weight:600; color:#d7dfe9; }
.agency-image-caption p { margin:13px 0 0; font-size:29px; line-height:1.15; letter-spacing:-1px; font-weight:500; }
.agency-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin:20px 0 26px; border:1px solid #e8e3de; border-radius:12px; background:#fff; padding:22px 0; }
.agency-stats article { padding:0 23px; min-width:0; }
.agency-stats article+article { border-left:1px solid #e3e7eb; }
.agency-stats article>span { display:flex; gap:7px; align-items:center; font-size:12px; color:#6b7581; line-height:1.5; }
.agency-stats article>span svg { width:14px; height:14px; flex-shrink:0; }
.agency-stats strong { display:block; font-size:29px; letter-spacing:-1px; font-weight:500; margin-top:12px; line-height:1.2; }
.agency-stats small { font-size:12px; font-weight:400; letter-spacing:0; margin-left:6px; color:#747d88; }
.agency-information-grid { display:grid; grid-template-columns:1.3fr 1fr; gap:22px; }
.agency-card { border:1px solid #e8e3de; border-radius:12px; background:#fff; padding:25px 27px; min-width:0; }
.agency-section-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:21px; }
.agency-section-index { color:#6e7a87; font-size:12px; font-weight:650; letter-spacing:1.4px; line-height:1.5; }
.agency-demo-label { font-size:12px; color:#758291; background:#ebeff4; border-radius:4px; padding:4px 6px; }
.agency-hero-copy h2 { overflow-wrap:anywhere; }
.agency-image-caption { right:24px; }
.agency-card h2,.agency-section-title h2 { font-size:21px; font-weight:500; line-height:1.3; letter-spacing:-.7px; }
.agency-about-text { font-size:14px; color:#747b82; line-height:1.9; margin:17px 0 23px; white-space:pre-line; }
.agency-service-label { font-size:12px; letter-spacing:1px; font-weight:600; color:#6e7986; margin:0 0 12px; }
.agency-services { display:flex; flex-wrap:wrap; gap:8px; }
.agency-services>span { display:inline-flex; align-items:center; gap:6px; padding:7px 9px; border:1px solid #dee5ec; background:#f4f7fa; color:#586779; font-size:12px; border-radius:5px; }
.agency-services svg { width:11px; height:11px; flex-shrink:0; }
.agency-inline-button { display:inline-flex; align-items:center; gap:7px; border:0; padding:0; background:transparent; font-size:12px; font-weight:600; color:#2e3f52; cursor:pointer; }
.agency-inline-button:hover { color:#232f3d; }
.agency-inline-button svg { height:14px; width:14px; }
.agency-contact dl { display:grid; gap:16px; margin:20px 0 0; }
.agency-contact dl>div { display:grid; grid-template-columns:105px minmax(0,1fr); gap:12px; }
.agency-contact dt { font-size:12px; color:#818992; line-height:1.7; }
.agency-contact dd { color:#434d58; font-size:13px; line-height:1.6; margin:0; overflow-wrap:anywhere; }
.agency-contact a { color:inherit; text-decoration:none; }
.agency-contact a:hover { text-decoration:underline; text-underline-offset:3px; }
.agency-contact dd svg { width:12px; height:12px; display:inline; vertical-align:middle; margin-left:3px; }
.agency-branches,.agency-team { margin-top:31px; }
.agency-section-title { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:18px; }
.agency-section-title h2 { margin-top:9px; }
.agency-quiet-label { font-size:12px; color:#7f8791; }
.agency-branch-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.agency-branch { display:flex; gap:18px; padding:24px; border:1px solid #e8e3de; border-radius:12px; background:#fff; min-width:0; }
.agency-branch-icon { display:grid; place-items:center; flex-shrink:0; width:48px; height:52px; background:#e4eaf1; color:#627891; border:1px solid #d9e2ec; border-radius:10px; }
.agency-branch-icon svg { width:24px; height:24px; }
.agency-branch-icon-north { color:#9b8868; background:#f3eee4; border-color:#eee6d8; }
.agency-branch>div { flex:1; min-width:0; }
.agency-branch-title { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.agency-branch-title h3 { font-size:16px; font-weight:600; letter-spacing:-.2px; }
.agency-branch-title>span { border-radius:4px; color:#788492; background:#edf1f6; padding:4px 6px; font-size:12px; }
.agency-branch p { color:#788089; font-size:12px; margin:10px 0 11px; line-height:1.7; }
.agency-branch small { display:flex; gap:6px; align-items:center; color:#59697b; font-size:12px; line-height:1.5; }
.agency-branch small svg { height:12px; width:12px; flex-shrink:0; }
.agency-team-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.agency-person { display:flex; align-items:center; gap:12px; text-align:left; padding:18px 15px; border:1px solid #e8e3de; border-radius:10px; background:#fff; cursor:pointer; min-width:0; transition:border-color .2s,transform .2s; }
.agency-person:hover { border-color:#879aaf; transform:translateY(-2px); }
.agency-person-avatar { display:grid; place-items:center; width:39px; height:39px; flex-shrink:0; font-size:14px; font-weight:600; background:#e4eaf1; color:#556b84; border-radius:50%; }
.agency-person-avatar-1 { background:#efe7dc; color:#987958; }
.agency-person-avatar-2 { background:#e8e5ed; color:#857694; }
.agency-person-avatar-3 { background:#dfe5ec; color:#607286; }
.agency-person-text { flex:1; min-width:0; }
.agency-person strong { display:block; font-size:13px; font-weight:600; line-height:1.5; color:#454e59; }
.agency-person small { display:block; font-size:12px; line-height:1.7; margin-top:4px; color:#808993; }
.agency-person>svg { height:12px; width:12px; color:#7f8fa1; flex-shrink:0; }
.agency-footer { display:flex; justify-content:space-between; gap:15px; font-size:12px; color:#87919c; border-top:1px solid #e8e3de; padding:22px 0 0; margin-top:31px; }
.agency-footer>span:first-child { display:flex; gap:8px; align-items:center; color:#6c7a8b; }
.agency-footer svg { height:14px; width:14px; }
#agency-edit-form textarea { border:1px solid #e8e3de; background:#f8f6f3; border-radius:7px; padding:11px 12px; color:#302b27; font:inherit; font-size:14px; line-height:1.7; min-width:0; width:100%; resize:vertical; }
#agency-edit-form textarea:focus { outline:2px solid #2e3f52; outline-offset:2px; }
.agency-form-note { font-size:12px; color:#748190; line-height:1.6; margin-top:18px; }
.agency-page button:focus-visible,.agency-page a:focus-visible { outline:2px solid #5c7592; outline-offset:4px; }
@media(min-width:1600px) { .agency-hero-copy { padding:38px 43px; } .agency-hero-copy h2 { font-size:68px; } .agency-card { padding:29px 32px; } .agency-team-grid { gap:18px; } .agency-person strong { font-size:14px; } }
@media(max-width:1150px) { .agency-team-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .agency-information-grid { grid-template-columns:1.2fr 1fr; gap:18px; } .agency-card { padding:22px; } .agency-contact dl>div { grid-template-columns:1fr; gap:4px; } .agency-contact dl { gap:13px; } .agency-hero-copy { padding:28px; } .agency-identity { font-size:12px; letter-spacing:1px; } .agency-stats article { padding:0 18px; } .agency-stats strong { font-size:26px; } .agency-branch { padding:20px; gap:13px; } }
@media(max-width:850px) { .agency-stats { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:22px; } .agency-stats article:nth-child(3) { border-left:0; } .agency-stats article:nth-child(n+3) { border-top:1px solid #e3e7eb; padding-top:20px; } .agency-information-grid { grid-template-columns:1fr; } .agency-contact dl { grid-template-columns:repeat(2,minmax(0,1fr)); gap:19px; } .agency-branch-grid { grid-template-columns:1fr; gap:13px; } .agency-quiet-label { display:none; } .agency-hero { grid-template-columns:1.2fr 1fr; } .agency-hero-copy h2 { font-size:49px; } .agency-hero-meta { font-size:12px; } .agency-hero-meta span+span { border:0; padding-left:0; } .agency-image-caption { left:21px; bottom:26px; } .agency-image-caption p { font-size:25px; } }
@media(max-width:680px) { .agency-page-heading { display:block; margin:0 0 22px; } .agency-page-heading h1 { font-size:32px; margin:11px 0 10px; } .agency-page-heading p:last-child { font-size:13px; } .agency-page-heading>.btn { margin-top:16px; min-height:38px; font-size:13px; } .agency-hero { grid-template-columns:1fr; border-radius:12px; } .agency-hero-copy { padding:26px; } .agency-hero-copy h2 { font-size:54px; margin-top:21px; } .agency-hero-image { height:175px; } .agency-hero-image img { object-position:50% 53%; } .agency-image-caption { bottom:21px; left:26px; } .agency-image-caption p { font-size:25px; margin-top:9px; } .agency-image-caption p br { display:none; } .agency-hero-meta { gap:12px; } .agency-hero-meta span+span { border-left:1px solid #ffffff28; padding-left:12px; } .agency-stats { margin:17px 0 20px; padding:20px 0; } .agency-stats article { padding:0 18px; } .agency-stats article>span { font-size:12px; gap:6px; } .agency-stats strong { font-size:26px; } .agency-card { padding:22px; } .agency-card h2,.agency-section-title h2 { font-size:20px; } .agency-about-text { font-size:13px; } .agency-section-heading { margin-bottom:17px; } .agency-contact dl { grid-template-columns:1fr; gap:15px; } .agency-contact dl>div { grid-template-columns:95px minmax(0,1fr); gap:10px; } .agency-services { gap:7px; } .agency-services>span { font-size:12px; } .agency-section-title { align-items:flex-end; gap:10px; } .agency-section-title .agency-inline-button { font-size:12px; max-width:90px; flex-shrink:0; line-height:1.6; } .agency-branches,.agency-team { margin-top:27px; } .agency-branch { padding:19px; gap:13px; } .agency-branch-title { gap:7px; } .agency-branch-title h3 { font-size:16px; } .agency-branch-icon { width:40px; height:45px; } .agency-branch-icon svg { height:21px; width:21px; } .agency-branch p { font-size:12px; } .agency-branch small { font-size:12px; } .agency-team-grid { grid-template-columns:1fr; gap:10px; } .agency-person { padding:16px 18px; } .agency-person-avatar { width:40px; height:40px; } .agency-person strong { font-size:14px; } .agency-person small { font-size:12px; } .agency-footer { flex-direction:column; gap:10px; margin-top:26px; } }
@media(max-width:680px){.agency-image-caption p br{display:initial}}
