/* Irishman Applied Intelligence — public practice site */
.practice {
  --paper: #f8f7f3; --white: #fffefa; --text: #1b2024; --muted: #50585d;
  --rule: #cacbc6; --blue: #294ba2; --ink: var(--text); --ink-dim: var(--muted);
  --emerald: var(--blue); --ink-on-emerald: #fff; --line: var(--rule); --bg: var(--paper);
  color: var(--text); background: var(--paper); font-weight: 400;
}
.practice::after { display: none; }
.practice .container, .practice .nav-inner { max-width: 1440px; padding-inline: clamp(22px,5.2vw,82px); }
.practice .nav, .practice .nav.scrolled { background: var(--paper); border-bottom: 1px solid var(--rule); padding: 13px 0; backdrop-filter: none; }
.practice .nav-logo { gap: 10px; }
.practice .nav-logo-mark { width: 37px; height: 37px; border: 0; border-radius: 4px; background: var(--text); color: var(--white); }
.practice .nav-logo-text { font: 700 22px/.95 var(--font-body); letter-spacing: -.055em; }
.practice .nav-logo-text em { display: block; font: 500 9px/1.5 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; color: var(--text); }
.practice .nav-links { gap: clamp(20px,2.4vw,38px); }
.practice .nav-links a { color: var(--text); font-weight: 500; }
.practice .nav-links .nav-cta, .practice .action, .practice .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  background: var(--text); border: 1px solid var(--text); border-radius: 4px;
  color: white !important; box-shadow: none; text-shadow: none; font: 600 14px/1.35 var(--font-body); padding: 14px 18px;
}
.practice .action:hover, .practice .btn-primary:hover, .practice .nav-cta:hover { background: #32445a; border-color: #32445a; box-shadow: none; }
.practice :focus-visible { outline: 3px solid #577ce3; outline-offset: 4px; }
.practice .scroll-progress { background: var(--blue); }
.practice :where(section,article,[id]) { scroll-margin-top: 84px; }
.practice .display, .practice .section-title, .practice .contact-title {
  font: 550 clamp(34px,3.8vw,61px)/1.07 var(--font-body); letter-spacing: -.058em; color: inherit; text-wrap: balance; margin: 14px 0 32px;
}
.practice .studio-section, .practice .work-edition, .practice .section { padding: clamp(55px,6.8vw,108px) 0; }
.rate-group, .question, .directory { border-top: 1px solid var(--rule); }
.question:last-child, .rate-group:last-child, .directory { border-bottom: 1px solid var(--rule); }
.rate-group summary, .question summary, .directory summary {
  cursor: pointer; position: relative; list-style: none; padding: 20px 42px 20px 0;
  font: 550 clamp(17px,1.6vw,23px)/1.3 var(--font-body); letter-spacing: -.028em; color: var(--text);
}
.practice summary::-webkit-details-marker { display: none; }
.rate-group summary::after, .question summary::after, .directory summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  color: var(--blue); font: 400 22px/1 var(--font-body);
}
.practice details[open] > summary::after { content: '−'; }
.work-edition { background: #e9e9e3; color: var(--text); }
.proof-grid { display: grid; grid-template-columns: 1.16fr 1fr; gap: clamp(16px,3vw,42px); }
.practice .proof-story { display: block; background: var(--white); color: var(--text); border: none; }
.proof-story > img { width: 100%; height: clamp(180px,21vw,340px); object-fit: cover; display: block; }
.proof-story:nth-child(2) > img { object-position: 22% 0%; }
.proof-story > div { padding: clamp(18px,2.4vw,34px); }
.proof-story h3 { display: flex; justify-content: space-between; margin: 7px 0; font: 600 clamp(24px,2.35vw,36px)/1.15 var(--font-body); letter-spacing: -.045em; }
.proof-story h3 span { font-weight: 400; color: var(--blue); }
.proof-story div > p:not(.eyebrow) { color: var(--muted); max-width: 54ch; }
.proof-story strong, .practice-services article a, .directory a { display: inline-block; margin-top: 15px; font-weight: 600; font-size: 14px; color: var(--blue); }
.proof-story:hover strong, .practice-services a:hover, .directory a:hover, .field-index a:hover, .clients a:hover { text-decoration: underline; }
.studio-section { background: var(--paper); }
.practice-services { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.practice-services article { border-top: 2px solid var(--text); padding: 20px 0 28px; }
.practice-services h3 { font: 600 clamp(22px,2.1vw,31px)/1.15 var(--font-body); letter-spacing: -.04em; }
.practice-services p { color: var(--muted); margin-top: 13px; }
.directory { margin-top: 15px; }
.directory > div { display: flex; column-gap: 25px; flex-wrap: wrap; padding-bottom: 22px; }
.practice .pricing { background: #e8ebf0; color: var(--text); }
.practice .pricing-note { max-width: 75ch; color: var(--muted); margin-bottom: 30px; }
.practice .pricing-tracks { display: block; margin-top: 0; }
.rate-group { border-color: #afb6c0; }
.rate-group .pricing-track-sub { color: var(--muted); }
.practice .pricing-cards { padding-bottom: 22px; }
.practice .price-card, .practice .price-card.featured { background: #f7f8fb; border: 1px solid #c5cbd1; border-radius: 4px; color: var(--text); box-shadow: none; }
.practice .price-card::before, .practice .price-tag { display: none; }
.practice .price-amount { color: var(--blue); }
.practice .price-card p, .practice .price-name, .practice .micro-note { color: var(--muted); }
.practice .btn-ghost { border-color: #939da3; color: var(--text); border-radius: 4px; background: transparent; }
.practice .process { background: var(--text); color: var(--white); }
.practice .process .eyebrow { color: #b4c6ed; }
.practice .process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.practice .process-step { padding: 18px 0 0; border: none; border-top: 1px solid #69737a; box-shadow: none; background: none; border-radius: 0; }
.practice .process-step::before { display: none; }
.practice .process-step h3 { color: white; font: 600 21px/1.2 var(--font-body); letter-spacing: -.035em; }
.practice .process-step p { color: #c4c9cb; }
.practice .process-num { color: #b4c6ed; }
.practice .faq { background: var(--paper); }
.practice .faq-list { max-width: none; }
.question p { color: var(--muted); max-width: 85ch; padding: 0 0 22px; }
.practice .contact { background: #e9e9e3; text-align: left; color: var(--text); }
.practice .contact-inner { max-width: 1000px; }
.practice .contact-sub, .practice .contact-title { margin-left: 0; }
.practice .lead-form { margin-left: 0; }
.practice .lead-field :is(input,select,textarea), .practice .newsletter-row input { color: var(--text); background: var(--white); border: 1px solid #999e9e; border-radius: 4px; }
.practice .lead-field label { color: var(--text); }
.practice .contact-actions, .practice .contact-details { justify-content: flex-start; }
.practice .footer { background: #20252a; --ink:#fff; --ink-dim:#c3c8ce; color:#fff; }
.practice .footer a:hover { color: white; }
.practice .footer .btn-primary { background: #52688d; }
.practice .chat-fab, .practice .chat-panel { --ink:#fff; --ink-dim:#cbd0d4; --bg:#20252a; --emerald:#afc3f1; background: #20252a; color: white; border-color: #597191; }
.practice .mobile-cta { display: none; }
.practice .chat-fab { bottom: 18px; }
.practice .chat-panel { bottom: 80px; }
@media (max-width: 960px) {
  .practice .process-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 840px) {
  .practice .nav-links { background: var(--paper); }
  .practice .nav-burger span { background: var(--text); }
}
@media (max-width: 760px) {
  .proof-grid, .practice-services { grid-template-columns: 1fr; }
  .practice-services { gap: 0; }
  .practice .process-grid { gap: 20px; }
  .proof-story > img { height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
}
@media (max-width: 420px) {
  .practice .process-grid { grid-template-columns: 1fr; }
}
.practice [hidden] { display: none !important; }
.rate-group summary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rate-group summary span { font: 500 .73rem/1.5 var(--font-mono); color: #435275; text-align: right; }
.practice .price-card.featured::after { display: none; }
@media (max-width: 540px) {
  .rate-group summary { display: block; }
  .rate-group summary span { display: block; text-align: left; margin-top: 4px; }
}

/* Public studio identity */
.practice {
  --paper: #f8f6ef; --white: #fffdfa; --text: #20252b; --muted: #535961;
  --rule: #c9c7bd; --blue: #75432b; --accent: #ffd476; --night: #141a22;
}
.practice .container, .practice .nav-inner { max-width: 1520px; padding-inline: clamp(22px, 5.3vw, 86px); }
.practice .eyebrow, .studio-kicker, .client-line .container > span, .example-source, .example-bar small {
  font: 600 11px/1.5 var(--font-mono); letter-spacing: .09em; text-transform: uppercase;
}
.practice .eyebrow { color: #75432b; padding-left: 0; }
.practice .eyebrow::before { display: none; }
.practice .nav, .practice .nav.scrolled { background: var(--night); border-bottom: 1px solid #373d43; color: #fffdfa; }
.practice .nav-logo-mark { background: transparent; border: 1px solid #70777d; color: var(--accent); }
.practice .nav-logo-text em, .practice .nav-links a { color: #e7e8e6; }
.practice .nav-links .nav-cta { background: #f6f3e9; color: var(--night) !important; border-color: #f6f3e9; }
.practice .nav-links .nav-cta:hover { background: var(--accent); color: var(--night) !important; }
.practice .nav-links a:not(.nav-cta)::after { background: var(--accent); }
.practice .nav-burger span { background: #f6f3e9; }
.practice :focus-visible { outline-color: #b36c05; }
.studio-cover { position: relative; isolation: isolate; background: var(--night); color: #fffdf7; margin-top: 65px; }
.studio-photo, .studio-photo img, .studio-cover::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.studio-photo { z-index: -2; }
.studio-photo img { object-fit: cover; object-position: 64% 46%; }
.studio-cover::before { content: ''; z-index: -1; background: linear-gradient(90deg,rgba(12,17,23,.80),rgba(12,17,23,.45) 39%,transparent 71%); }
.studio-intro { min-height: clamp(535px, 43vw, 720px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: clamp(65px,6vw,92px); }
.studio-kicker { color: var(--accent); display: flex; align-items: center; gap: 12px; }
.studio-kicker::before { content: ''; width: 30px; height: 1px; background: currentColor; }
.studio-intro h1 { margin: 23px 0; font: 500 clamp(62px,6.5vw,106px)/.99 var(--font-body); letter-spacing: -.075em; color: #fffdf7; }
.studio-intro h1 em { font: italic 500 1em/1 var(--font-display); letter-spacing: -.063em; }
.studio-deck { max-width: 45ch; color: #f1ede5; font: 400 clamp(16px,1.32vw,21px)/1.5 var(--font-body); }
.studio-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 25px; margin-top: 29px; }
.studio-primary, .studio-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 45px; font: 600 14px/1.35 var(--font-body); }
.studio-primary { background: var(--accent); color: #251c0f; padding: 13px 19px; border-radius: 3px; }
.studio-primary:hover { background: #ffe4a6; }
.studio-secondary { color: #fffdf7; text-decoration: underline; text-decoration-color: #9fa0a0; text-underline-offset: 6px; }
.studio-secondary:hover { text-decoration-color: var(--accent); }
.client-line { border-bottom: 1px solid var(--rule); background: #efede5; }
.client-line .container { display: flex; gap: 18px clamp(22px,5vw,90px); align-items: center; padding-block: 20px; }
.client-line .container > span { color: #63666a; }
.client-line a { font-size: clamp(15px,1.3vw,20px); letter-spacing: -.045em; font-weight: 600; }
.client-line a:hover, .scope-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.scope-section, .walkthrough { padding-block: clamp(52px,6.3vw,100px); }
.section-intro { display: grid; grid-template-columns: 1.3fr .75fr; gap: 5vw; align-items: end; margin-bottom: clamp(28px,3vw,45px); }
.section-intro h2, .walk-copy h2 { font: 500 clamp(37px,4.2vw,68px)/1.02 var(--font-body); letter-spacing: -.067em; margin: 12px 0 0; text-wrap: balance; }
.section-intro > p, .scope-grid article > p, .walk-copy > p:not(.eyebrow) { color: var(--muted); font-size: clamp(16px,1.2vw,19px); line-height: 1.55; }
.section-intro > p { max-width: 43ch; }
.scope-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #9b9d9a; }
.scope-grid article { min-width: 0; padding: 28px clamp(18px,2.2vw,36px) 0; }
.scope-grid article + article { border-left: 1px solid var(--rule); }
.scope-grid article:first-child { padding-left: 0; }
.scope-grid article:last-child { padding-right: 0; }
.scope-grid h3 { color: var(--text); font: 600 clamp(23px,2.15vw,35px)/1.12 var(--font-body); letter-spacing: -.055em; margin: 17px 0 11px; }
.scope-grid article > p { max-width: 38ch; }
.scope-grid ul { list-style: none; margin: 20px 0 0; padding: 0; }
.scope-grid li { border-top: 1px solid var(--rule); font: 500 14px/1.5 var(--font-body); padding: 8px 0; }
.scope-grid li a { display: flex; align-items: center; justify-content: space-between; }
.scope-grid li a::after { content: '↗'; color: var(--blue); }
.scope-illustration { width: 44px; height: 31px; position: relative; color: #85552e; }
.scope-illustration > * { display: block; position: absolute; border: 1.5px solid currentColor; border-radius: 2px; }
.ui-front i { width: 33px; height: 23px; left: 0; top: 1px; }
.ui-front i::after { content: ''; position: absolute; top: 4px; left: 0; right: 0; border-top: 1px solid currentColor; }
.ui-front b { width: 11px; height: 20px; left: 28px; top: 10px; background: var(--paper); }
.ui-back i,.ui-back b,.ui-back em { width: 30px; height: 8px; left: 2px; }
.ui-back i { top: 0; }.ui-back b { top: 11px; }.ui-back em { top: 22px; }
.ui-back > *::after { content: ''; width: 4px; border-top: 1px solid; position: absolute; right: 3px; top: 2px; }
.ui-agent i,.ui-agent b,.ui-agent em { width: 10px; height: 10px; border-radius: 50%; }
.ui-agent i { top: 10px; left: 0; }.ui-agent b { top: 0; left: 29px; }.ui-agent em { top: 20px; left: 29px; }
.ui-agent::before,.ui-agent::after { content: ''; width: 23px; position: absolute; left: 8px; top: 15px; border-top: 1.5px solid; transform-origin: left; transform: rotate(-21deg); }.ui-agent::after { transform: rotate(20deg); }
.walkthrough { background: #202c3a; color: #f7f4ed; }
.walk-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px,7vw,112px); align-items: center; }
.walk-copy .eyebrow { color: var(--accent); }
.walk-copy h2 { color: inherit; max-width: 13ch; }
.walk-copy > p:not(.eyebrow) { color: #d2d7dc; margin: 20px 0; max-width: 43ch; }
.walk-copy a { color: var(--accent); font: 500 15px/1.5 var(--font-body); }
.walk-copy a:hover { text-decoration: underline; }
.example-console { background: #fbfaf6; color: var(--text); border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px #11192050; }
.example-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #e8e6df; border-bottom: 1px solid #c9c9c2; padding: 14px 22px; }
.example-bar > span { font-size: 16px; font-weight: 650; letter-spacing: -.03em; }
.example-bar small { color: #5b5d60; font-size: 9px; }
.example-tabs { display: grid; grid-template-columns: repeat(3,1fr); }
.example-tabs button, .example-steps summary { cursor: pointer; color: #515965; background: #f2f1ec; border: none; border-bottom: 1px solid #d3d2cb; font: 550 13px/1.35 var(--font-body); padding: 15px 6px; }
.example-tabs button[aria-selected=true] { color: #28384a; background: #fffdf8; box-shadow: inset 0 -3px #95602a; }
.example-tabs button:focus-visible { outline-offset: -4px; }
.example-body { padding: clamp(22px,2.4vw,36px); min-height: 280px; }
.example-body .example-source { color: #75502c; }
.example-body h3 { font: 600 clamp(23px,2vw,33px)/1.12 var(--font-body); margin: 8px 0 15px; letter-spacing: -.055em; }
.example-body blockquote, .example-body > p:not(.example-source) { color: #4b525a; font-size: 16px; margin: 0; line-height: 1.5; }
.example-body blockquote { border-left: 2px solid #be9751; padding-left: 15px; }
.example-body dl { margin: 22px 0 0; }
.example-body dl div { display: grid; grid-template-columns: minmax(76px,.5fr) 1fr; gap: 12px; border-top: 1px solid #d8d6cf; padding: 8px 0; font-size: 14px; }
.example-body dt { color: #60666c; }.example-body dd { margin: 0; font-weight: 550; }
.example-steps summary { padding-inline: 20px; }
.practice .work-edition { background: #eeece4; }.practice .pricing { background: #edece7; }
.practice .scope-section, .practice .studio-section, .practice .faq { background: var(--paper); }
.practice .contact { background: #eeece3; }.practice .process .eyebrow, .practice .process-num { color: var(--accent); }
.practice .contact-inner { max-width: 1120px; }.practice .contact-sub { color: var(--muted); }
.practice .footer .nav-logo-mark { flex-shrink: 0; }
@media (max-width: 840px) {
  .practice .nav-links { background: var(--night); }
  .scope-grid article { padding-inline: 15px; }
  .scope-grid h3 { font-size: 23px; }
}
@media (max-width: 680px) {
  .studio-photo img { object-position: center top; }
  .studio-cover { margin-top: 62px; }
  .studio-cover::before { background: linear-gradient(0deg, #111922 0%, rgba(13,20,27,.96) 24%, rgba(13,20,27,.65) 50%, rgba(13,20,27,.02) 83%); }
  .studio-intro { min-height: clamp(525px,132vw,680px); justify-content: flex-end; padding-block: 120px 32px; }
  .studio-intro h1 { font-size: clamp(44px,9vw,64px); margin: 15px 0 13px; }
  .studio-deck { max-width: 39ch; font-size: 16px; }
  .studio-actions { margin-top: 18px; gap: 5px 17px; }.studio-primary,.studio-secondary { font-size: 13px; }
  .studio-kicker { font-size: 10px; }.studio-kicker::before { width: 16px; }
  .client-line .container { display: grid; grid-template-columns: repeat(3,auto); gap: 5px 10px; justify-content: space-between; padding-block: 14px; }
  .client-line .container > span { grid-column: 1 / -1; font-size: 9px; }.client-line a { font-size: clamp(11px,3.35vw,16px); }
  .section-intro,.walk-grid { grid-template-columns: 1fr; gap: 18px; }.walk-grid { gap: 28px; }
  .section-intro h2, .walk-copy h2 { max-width: 17ch; }
  .scope-grid { grid-template-columns: 1fr; }
  .scope-grid article, .scope-grid article:first-child, .scope-grid article:last-child { padding: 23px 0; display: grid; grid-template-columns: 45px 1fr; column-gap: 14px; }
  .scope-grid article + article { border-left: 0; border-top: 1px solid var(--rule); }
  .scope-grid h3 { align-self: center; margin: 0; font-size: 25px; }.scope-grid article > p,.scope-grid ul { grid-column: 2; }.scope-grid article > p { margin-top: 8px; }.scope-grid ul { margin-top: 14px; }
  .scope-section { padding-bottom: 32px; }
  .example-bar { padding-inline: 15px; }.example-tabs button { font-size: 12px; }.example-body { min-height: 280px; }
}
@media (max-width: 365px) {
  .studio-actions { column-gap: 14px; }.studio-primary { padding-inline: 12px; }.studio-secondary { gap: 7px; }
  .studio-intro { min-height: 550px; }.scope-grid article { column-gap: 7px; }
}

.client-projects { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(20px,3.2vw,52px); margin-bottom: clamp(36px,5vw,72px); }
.client-projects article { border-top: 1px solid #95978e; padding-top: 18px; }
.client-projects h3, .portfolio-heading { font: 600 clamp(22px,2.1vw,32px)/1.15 var(--font-body); letter-spacing: -.045em; margin: 9px 0; }
.client-projects article > p:not(.eyebrow), .scoping-note p { color: var(--muted); max-width: 50ch; line-height: 1.5; }
.client-projects a, .scoping-note a { display: inline-flex; gap: 10px; align-items: center; min-height: 42px; font-size: 14px; color: #61381f; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.portfolio-heading { font-size: clamp(20px,1.7vw,25px); margin: 0 0 18px; }
.scoping-note { display: grid; grid-template-columns: .65fr 1.6fr auto; align-items: start; gap: 12px 26px; padding: 22px 0; margin-bottom: 18px; border-block: 1px solid var(--rule); }
.scoping-note strong { font-size: 19px; line-height: 1.3; }.scoping-note p { max-width: 70ch; }.scoping-note a { min-height: 32px; }
.practice .chat-note a, .practice .lead-form-status a { text-decoration: underline; text-underline-offset: 3px; }
.fallback-contact { display: none; }
@media (max-width: 840px) {
  html:not(.js-enabled) .practice .nav-burger { display: none; }
  .fallback-contact { display: inline-block; color: white; }
}
@media (max-width: 720px) {
  .client-projects, .scoping-note { grid-template-columns: 1fr; }
  .client-projects { gap: 18px; }.scoping-note { gap: 7px; }
}
