/* Three 17 — consultancy site styles (home page, plus the header/footer shared with policy pages).
   Built from the "Three 17 Website" canvas design. */
:root{
  --teal:#00809D; --teal-d:#006A82; --navy:#244061; --sky:#77B6CB;
  --tint:#F3F9FB; --mist:#E8F1F5; --rule:#D5EEF3; --line:#E3EEF2; --field:#9DB3C4; --paper:#FFFFFF;
  --shadow:0 16px 40px rgba(36,64,97,.08);
  --r:14px;
}
*{box-sizing:border-box;margin:0;padding:0}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:88px}
body{font-family:Aptos,'Source Sans 3','Segoe UI',system-ui,sans-serif;color:var(--navy);background:var(--paper);font-size:17px;line-height:1.6;font-weight:400;-webkit-font-smoothing:antialiased}
h1,h2,h3{font-weight:500;line-height:1.15}
a{color:var(--teal)}
a:hover{color:var(--teal-d)}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--sky);outline-offset:2px}
img{max-width:100%;height:auto}
ul,ol{list-style:none}
address{font-style:normal}

.t17-wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.t17-wrap-narrow{max-width:880px}
.t17-skip{position:absolute;left:-9999px;top:8px;z-index:100;background:var(--teal);color:#fff;padding:10px 16px;border-radius:8px}
.t17-skip:focus{left:8px;color:#fff}

/* ---- Buttons ---- */
.t17-btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:48px;padding:14px 26px;border-radius:8px;border:1.5px solid transparent;font:inherit;font-weight:600;text-decoration:none;cursor:pointer;transition:background-color .15s,color .15s,transform .15s}
.t17-btn:hover{transform:translateY(-1px)}
.t17-btn-sm{min-height:44px;padding:11px 20px;font-size:16px}
.t17-btn-primary{background:var(--teal);color:#fff}
.t17-btn-primary:hover{background:var(--teal-d);color:#fff}
.t17-btn-outline{background:#fff;color:var(--teal);border-color:var(--teal)}
.t17-btn-outline:hover{background:var(--tint);color:var(--teal-d)}
.t17-text-link{align-self:flex-start;font-weight:600;text-decoration:none;padding:10px 0;min-height:44px;display:inline-flex;align-items:center}
.t17-text-link:hover{text-decoration:underline}

/* ---- Header ---- */
.t17-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line)}
.t17-header-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 16px;padding-top:12px;padding-bottom:12px}
.t17-brand{display:flex;align-items:center}
.t17-brand img{height:52px;width:auto;display:block}
.t17-nav{display:flex;flex-wrap:wrap;align-items:center;gap:28px;font-size:16px}
.t17-nav a{color:var(--navy);text-decoration:none;font-weight:500}
.t17-nav a:hover{color:var(--teal)}
@media(max-width:960px){
  .t17-nav{order:3;flex-basis:100%;flex-wrap:nowrap;overflow-x:auto;gap:24px;padding:4px 0 2px;scrollbar-width:none}
  .t17-nav::-webkit-scrollbar{display:none}
  .t17-nav a{white-space:nowrap;min-height:44px;display:inline-flex;align-items:center}
}
@media(max-width:480px){.t17-brand img{height:44px}}

/* ---- Shared section patterns ---- */
.t17-section{padding:96px 0}
.t17-bg-tint{background:var(--tint)}
.t17-section-head{display:flex;flex-direction:column;gap:14px;max-width:740px;margin-bottom:48px}
.t17-split .t17-section-head{margin-bottom:0;gap:20px}
.t17-wrap-narrow .t17-section-head{margin-bottom:36px}
.t17-section-head h2{font-size:clamp(30px,3.6vw,44px);letter-spacing:-.01em}
.t17-section-head>p:not(.t17-eyebrow){font-size:19px;font-weight:300}
.t17-section-head-row{max-width:none;flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px}
.t17-section-head-row>div:first-child{display:flex;flex-direction:column;gap:14px;max-width:740px}
.t17-eyebrow{font-size:14px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--teal)}
/* Optional section photos */
.photo-band{margin:0 0 48px}
.photo-band img{display:block;width:100%;height:auto;aspect-ratio:21/9;object-fit:cover;border-radius:16px;box-shadow:var(--shadow)}
@media(max-width:600px){.photo-band img{aspect-ratio:4/3}}
.t17-side-photo{margin-top:8px}
.t17-side-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r)}
.t17-grid{display:grid;gap:20px}
.t17-grid-2{grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr));gap:24px}
.t17-grid-4{grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr))}
.t17-grid-steps{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:16px}
.t17-split{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr));gap:56px;align-items:start}
.t17-card{background:var(--tint);border-radius:var(--r);padding:28px;display:flex;flex-direction:column;gap:12px}
.t17-card h3{font-size:22px}
.t17-card p{font-weight:300}
.t17-icon{color:var(--teal);flex:none}

/* ---- Hero ---- */
.t17-hero{background:var(--tint)}
.t17-hero-in{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr));gap:48px;align-items:center;padding-top:80px;padding-bottom:72px}
.t17-hero-copy{display:flex;flex-direction:column;gap:24px}
.t17-hero h1{font-size:clamp(40px,5.2vw,62px);line-height:1.08;letter-spacing:-.02em}
.t17-lead{font-size:20px;line-height:1.55;font-weight:300;max-width:560px}
.t17-actions{display:flex;flex-wrap:wrap;gap:12px;padding-top:8px}
.t17-hero-art{display:flex;justify-content:center}
.t17-hero-art img{width:100%;max-width:520px;display:block}
/* Optional hero photo, in place of the illustration */
.t17-hero-art--photo img{max-width:560px;aspect-ratio:6/5;object-fit:cover;border-radius:20px;box-shadow:var(--shadow)}
.t17-proof{border-top:1px solid var(--rule);background:#fff}
.t17-proof-in{display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px 32px;padding-top:22px;padding-bottom:22px;font-size:16px}
.t17-proof strong{color:var(--teal);font-weight:600}

/* ---- Approach ---- */
.t17-approach{background:var(--teal);color:#fff}
.t17-approach .t17-eyebrow{color:#fff}
.t17-step{border:1px solid rgba(255,255,255,.4);border-radius:var(--r);padding:26px;display:flex;flex-direction:column;gap:10px}
.t17-step h3{font-size:22px}
.t17-step p{font-weight:300}
.t17-step-num{font-size:15px;font-weight:600}
.t17-step-final{background:#fff;color:var(--navy);border-color:#fff}
.t17-step-final .t17-step-num{color:var(--teal)}

/* ---- Ways to work ---- */
.t17-engagement{border:1px solid var(--rule);border-radius:16px;padding:36px;display:flex;flex-direction:column;gap:16px}
.t17-engagement h3{font-size:28px;line-height:1.2}
.t17-engagement>p:not(.t17-eyebrow),.t17-engagement ul{font-weight:300}
.t17-engagement ul{list-style:disc;padding-left:20px;display:flex;flex-direction:column;gap:6px}
.t17-engagement-dark{background:var(--navy);border-color:var(--navy);color:#fff}
.t17-engagement-dark .t17-eyebrow,.t17-engagement-dark .t17-text-link{color:#fff}
@media(max-width:480px){.t17-engagement{padding:28px 24px}}

/* ---- Products ---- */
.t17-product{background:#fff;border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.t17-product-logo{background:var(--mist);height:160px;display:flex;align-items:center;justify-content:center;padding:24px}
.t17-product-logo img{height:48px;width:auto;display:block}
.t17-product-logo span{font-size:40px;font-weight:600;letter-spacing:-.01em}
.t17-product:first-child .t17-product-logo{background:#F0F4F7}
.t17-product-body{padding:32px;display:flex;flex-direction:column;gap:14px;flex:1}
.t17-product-body h3{font-size:26px}
.t17-product-body p{font-weight:300}
.t17-product-body .t17-btn{margin-top:auto;align-self:flex-start;padding:12px 22px}
@media(max-width:480px){.t17-product-body{padding:24px}}

/* ---- Testimonials ---- */
.t17-carousel-controls{display:flex;gap:12px}
.t17-round-btn{width:48px;height:48px;border-radius:999px;border:1.5px solid var(--teal);background:#fff;color:var(--teal);cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.t17-round-btn:hover{background:var(--tint)}
.t17-testimonials{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding-bottom:12px;scrollbar-width:thin}
.t17-testimonial{flex:0 0 calc((100% - 40px) / 3);min-width:280px;scroll-snap-align:start;border-top:3px solid var(--sky);background:var(--tint);border-radius:0 0 var(--r) var(--r);padding:28px;display:flex;flex-direction:column;gap:20px}
.t17-testimonial blockquote{font-size:18px;font-weight:300;line-height:1.6}
.t17-testimonial figcaption{margin-top:auto;display:flex;flex-direction:column}
.t17-testimonial-name{font-weight:600}
.t17-testimonial-role{font-size:15px}
@media(max-width:960px){.t17-testimonial{flex-basis:calc((100% - 20px) / 2)}}
@media(max-width:640px){.t17-testimonial{flex-basis:85%}}

/* ---- FAQ ---- */
.t17-faq{display:flex;flex-direction:column;gap:12px}
.t17-faq details{background:#fff;border-radius:var(--r);padding:20px 24px}
.t17-faq summary{display:flex;justify-content:space-between;align-items:center;gap:16px;cursor:pointer;list-style:none;min-height:44px}
.t17-faq summary::-webkit-details-marker{display:none}
.t17-faq summary h3{font-size:19px;line-height:1.4}
.t17-faq-plus{color:var(--teal);font-size:26px;line-height:1;transition:transform .2s;flex:none}
.t17-faq details[open] .t17-faq-plus{transform:rotate(45deg)}
.t17-faq details p{margin-top:12px;font-weight:300}

/* ---- Contact + form ---- */
.t17-contact{margin-top:8px;display:grid;grid-template-columns:110px 1fr;gap:12px 16px}
.t17-contact dt{font-weight:600}
.t17-map-block{display:flex;flex-direction:column;gap:10px}
.t17-map{display:block;width:100%;height:280px;border:1px solid var(--line);border-radius:var(--r);background:var(--mist)}
.t17-map-link{font-size:15px;font-weight:500;align-self:flex-start}
@media(max-width:640px){.t17-map{height:220px}}
.t17-form-card{background:#fff;border-radius:16px;padding:32px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:16px;align-items:flex-start}
.t17-form-card h3{font-size:24px}
.t17-form{width:100%}
@media(max-width:480px){.t17-form-card{padding:24px}.t17-contact{grid-template-columns:1fr;gap:2px}.t17-contact dd{margin-bottom:10px}}

/* Umbraco Forms default theme markup (its own stylesheet is disabled on the form), styled to match the design */
.t17-form .umbraco-forms-hidden{display:none!important}
.t17-form .umbraco-forms-form{padding:0}
.t17-form fieldset{border:0!important;padding:0!important;margin:0!important}
.t17-form legend,.t17-form .umbraco-forms-caption{display:none}
.t17-form .umbraco-forms-field{margin-bottom:16px}
.t17-form label.umbraco-forms-label{display:block;font-size:15px;font-weight:600;margin-bottom:6px}
.t17-form .umbraco-forms-indicator{color:var(--teal)}
.t17-form input.text,.t17-form input[type=text],.t17-form input[type=email],.t17-form input[type=tel],.t17-form textarea,.t17-form select{width:100%!important;max-width:none!important;margin:0;font:inherit;font-size:17px;padding:12px 14px;border:1px solid var(--field);border-radius:8px;min-height:48px;background:#fff;color:var(--navy)}
.t17-form textarea{height:auto;min-height:112px;resize:vertical}
.t17-form input:focus,.t17-form textarea:focus,.t17-form select:focus{border-color:var(--teal)}
.t17-form .umbraco-forms-tooltip,.t17-form small{display:block;float:none;padding:4px 0 0;font-size:14px}
.t17-form .field-validation-error,.t17-form .umbraco-forms-field .field-validation-error{display:block;color:#B42318;font-size:14px;margin-top:4px}
.t17-form .input-validation-error{border-color:#B42318!important}
.t17-form .dataconsent .umbraco-forms-field-wrapper{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px}
.t17-form input[type=checkbox]{width:20px;height:20px;min-height:0;margin:3px 0 0;flex:none;accent-color:var(--teal)}
.t17-form .dataconsent .umbraco-forms-field-wrapper label{flex:1;display:inline;font-size:15px;font-weight:400;line-height:1.5}
.t17-form .dataconsent .field-validation-error{flex-basis:100%}
.t17-form .umbraco-forms-navigation{padding:8px 0 0}
.t17-form input[type=submit],.t17-form button[type=submit],.t17-form .btn.primary{width:100%;min-height:48px;padding:14px 24px;border:0;border-radius:8px;background:var(--teal);color:#fff;font:inherit;font-size:17px;font-weight:600;cursor:pointer}
.t17-form input[type=submit]:hover,.t17-form button[type=submit]:hover{background:var(--teal-d)}
.t17-form .umbraco-forms-submitmessage{display:block;padding:16px;border-radius:8px;background:var(--tint);font-weight:500}

/* ---- Footer ---- */
.t17-footer{background:var(--navy);color:#fff;font-size:15px}
.t17-footer-in{display:flex;flex-direction:column;gap:32px;padding-top:48px;padding-bottom:32px}
.t17-footer-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:32px}
.t17-footer-cols>*{display:flex;flex-direction:column;gap:6px}
.t17-footer-cols p{font-weight:300}
.t17-footer-cols a{color:#fff;font-weight:300}
.t17-footer-cols a:hover{color:var(--sky)}
.t17-footer .t17-footer-h{font-weight:600}
.t17-wordmark{font-size:22px;font-weight:600!important;letter-spacing:.02em;text-decoration:none;align-self:flex-start}
.t17-wordmark span{color:var(--sky)}
.t17-footer-legal{border-top:1px solid rgba(255,255,255,.2);padding-top:20px;font-weight:300}

@media(max-width:640px){.t17-section{padding:64px 0}.t17-hero-in{padding-top:48px;padding-bottom:56px;gap:32px}.t17-lead{font-size:18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.t17-testimonials{scroll-behavior:auto}.t17-btn,.t17-faq-plus{transition:none}.t17-btn:hover{transform:none}}
