/* Homepage service entry and business cards. Kept separate from chat sizing. */
.customer-update-banner{position:fixed;z-index:35;left:50%;top:12px;transform:translateX(-50%);display:flex;align-items:center;gap:14px;width:max-content;max-width:calc(100% - 28px);padding:12px 16px;border:1px solid #dac8a7;border-radius:12px;background:#fffaf0;box-shadow:0 6px 24px #14324b20;color:#25485f;font-size:12px;line-height:1.7}
.customer-update-banner button{flex-shrink:0;padding:8px 12px;border:0;border-radius:7px;background:#183c56;color:white;font-size:12px}
.yf-home .location-row {
  color: #63788b;
  margin-bottom: 18px;
}

.home-hero.hero {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  align-items: center;
  gap: 20px;
  min-height: 390px;
  padding: 38px 44px;
  border: 1px solid #254c6b;
  border-radius: 24px;
  background: radial-gradient(ellipse at 98% 3%, #234e6b 0, transparent 52%), #102e49;
  box-shadow: 0 16px 38px #102c481a;
}

.hero-service-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e3d4b7;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}

.hero-service-label svg {
  width: 17px;
  height: 17px;
}

.home-hero .hero-title {
  max-width: 650px;
  color: #fff;
  font-size: 42px;
  font-weight: 650;
  letter-spacing: 1px;
  line-height: 1.34;
  margin: 19px 0 16px;
  text-wrap: balance;
}

.home-hero .hero-title span { color: #f2dfb9; }

.home-hero .hero-service-description {
  max-width: 410px;
  color: #d7e2eb;
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
}

.hero-service-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px 21px;
  margin-top: 27px;
}

.hero-service-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 15px 23px;
  border: 1px solid #f6e7c9;
  border-radius: 12px;
  background: #f1dfbb;
  color: #102c48;
  box-shadow: 0 5px 15px #0619292b;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: .5px;
}

.hero-service-button:hover { background: #fff0d2; }
.hero-service-button > svg:first-child { width: 23px; height: 23px; }
.hero-service-button > svg:last-child { width: 19px; height: 19px; }

.hero-form-link,
.hero-ad-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 0;
  color: #e8eff5;
  font-size: 13px;
  border-bottom: 1px solid #a9c2d257;
}

.hero-form-link svg,
.hero-ad-link svg { width: 15px; height: 15px; }
.hero-ad-link { flex-basis: 100%; justify-content: flex-start; border: 0; }

.hero-service-assurance {
  display: flex;
  gap: 19px;
  margin-top: 20px;
  font-size: 11px;
  color: #bacbd9;
}

.hero-service-assurance span { display: inline-flex; align-items: center; gap: 5px; }
.hero-service-assurance svg { width: 13px; height: 13px; color: #d9c59c; }

.home-support-art.hero-art { min-height: 230px; }
.home-support-art:before,
.home-support-art:after { display: none; }

.support-artwork { width: 270px; height: 250px; position: relative; }
.support-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: absolute;
  inset: 30px 28px 31px;
  color: #eadabc;
  border: 1px solid #6e899d;
  border-radius: 32px 32px 32px 9px;
  background: linear-gradient(145deg, #335a73ab, #15364d);
  box-shadow: 12px 16px 0 #0d263c59, inset 0 1px 0 #ffffff17;
}

.support-emblem svg { width: 70px; height: 70px; stroke-width: 1.1; }
.support-emblem span { font-size: 14px; letter-spacing: 5px; }
.support-art-line { position: absolute; border: 1px solid #7893a44d; border-radius: 6px; }
.support-art-line-one { inset: 5px 56px 5px 4px; border-right: 0; }
.support-art-line-two { inset: 53px 0 60px 73px; border-left: 0; }
.support-art-dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #d9c59c; }
.support-art-dot.dot-one { top: 3px; left: 73px; }
.support-art-dot.dot-two { bottom: 3px; right: 72px; }
.support-art-caption { position: absolute; bottom: 1px; left: 64px; color: #b6c8d5; font-size: 10px; letter-spacing: 2px; }

.yf-home .service-strip { padding: 24px 0 0; }
.yf-home .service-strip > div > strong { color: #3a546a; font-weight: 600; }
.yf-home .service-strip > div > span { color: #6a7e90; }
.home-project-section .section-heading { margin-bottom: 18px; }
.home-project-section .eyebrow { letter-spacing: 1.4px; font-size: 11px; color: #7e6b4e; }
.home-project-section h2 { margin-top: 5px; }

.service-project-card.project-card {
  --project-accent: #245b80;
  --project-wash: #edf5fa;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 292px;
  overflow: hidden;
  padding: 19px 21px 17px;
  border: 1px solid #d8e4ed;
  border-radius: 17px;
  background: linear-gradient(155deg, #fff 28%, var(--project-wash));
  box-shadow: 0 7px 20px #193b5308;
}

.service-project-card.project-tone-1 { --project-accent: #286b75; --project-wash: #eef6f7; }
.service-project-card.project-tone-2 { --project-accent: #4c6189; --project-wash: #f0f3f9; }
.service-project-card.project-tone-3 { --project-accent: #80643b; --project-wash: #f8f4ec; }
.service-project-card:hover { transform: translateY(-3px); border-color: var(--project-accent); }

.project-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.project-category { font-size: 10px; color: var(--project-accent); font-weight: 600; letter-spacing: .6px; }
.project-index { font: 11px/1.3 ui-monospace, Consolas, monospace; color: #8b9dad; }
.project-art-panel { margin: 12px -3px 0; height: 88px; border-bottom: 1px solid #dce6ed; }
.project-artwork.icon,
svg.project-artwork { display: block; width: 144px; height: 88px; max-width: 100%; margin-left: -5px; }
.project-artwork .art-guide { stroke: var(--project-accent); stroke-opacity: .09; stroke-width: 1; }
.project-artwork .art-connector { stroke: var(--project-accent); stroke-opacity: .42; stroke-width: 1; }
.project-artwork .art-point { fill: var(--project-accent); fill-opacity: .55; }
.project-artwork .art-main { stroke: var(--project-accent); stroke-width: 1.05; }
.service-project-card.project-card h3 { margin: 16px 0 8px; color: #153650; font-size: 17px; font-weight: 650; letter-spacing: -.2px; line-height: 1.45; }
.service-project-card.project-card p { color: #60778a; font-size: 12px; line-height: 1.75; margin: 0 0 20px; }
.project-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; margin-top: auto; color: var(--project-accent); font-size: 11px; }
.project-open-arrow { display: inline-flex; align-items: center; justify-content: center; width: 27px; height: 27px; border: 1px solid #b9ccd9; border-radius: 50%; }
.project-open-arrow svg { width: 14px; height: 14px; }

.credit-consult-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .72fr);
  gap: 30px;
  align-items: center;
  overflow: hidden;
  position: relative;
  margin-top: 30px;
  padding: 34px 38px;
  border: 1px solid #d4dfdf;
  border-radius: 21px;
  background: linear-gradient(110deg, #edf3f5 20%, #faf9f5);
}

.credit-consult-copy { position: relative; z-index: 2; }
.credit-consult-kicker { color: #55727f; font-size: 11px; font-weight: 600; letter-spacing: 2px; }
.credit-consult-banner h2 { margin: 10px 0; font-size: 26px; font-weight: 650; color: #183b50; }
.credit-consult-subtitle { font-size: 14px; color: #425e71; line-height: 1.8; margin-bottom: 9px; }
.credit-consult-description { font-size: 11px; color: #6d8290; line-height: 1.85; max-width: 450px; margin-bottom: 0; }
.credit-consult-button { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid #aec0c8; border-radius: 9px; color: #1f4b65; background: #ffffff9c; font-size: 12px; font-weight: 600; margin-top: 19px; }
.credit-consult-button svg { width: 17px; height: 17px; }
.credit-consult-privacy { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #637d88; line-height: 1.7; margin: 13px 0 0; }
.credit-consult-privacy svg { width: 12px; height: 12px; }
.credit-consult-art { position: relative; min-height: 205px; width: 100%; }
.credit-consult-art > img { width: 100%; max-height: 205px; object-fit: contain; border-radius: 12px; }
.credit-art-grid { position: absolute; inset: 0; background-image: linear-gradient(#7894a315 1px, transparent 1px), linear-gradient(90deg, #7894a315 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(ellipse, #000 12%, transparent 73%); }
.credit-illustration { position: absolute; height: 122px; width: 205px; border-radius: 13px; }
.credit-illustration-back { top: 23px; right: 15px; transform: rotate(9deg); background: #cbb68f; border: 1px solid #dfcaa6; box-shadow: 0 8px 22px #425f6a0d; }
.credit-illustration-front { top: 54px; right: 45px; transform: rotate(-8deg); background: linear-gradient(135deg, #183b53, #315d74); border: 1px solid #79919f; box-shadow: 0 15px 25px #203f5326; }
.credit-card-chip { position: absolute; left: 20px; top: 23px; height: 25px; width: 33px; border: 1px solid #cbb789; border-radius: 5px; background: #c0ab7d; display: grid; grid-template-columns: repeat(3, 1fr); }
.credit-card-chip i + i { border-left: 1px solid #8f7c54; }
.credit-card-chip:after { content: ''; position: absolute; height: 8px; left: 0; right: 0; top: 7px; border-top: 1px solid #8f7c54; border-bottom: 1px solid #8f7c54; }
.credit-card-lines { position: absolute; left: 21px; bottom: 27px; display: flex; flex-direction: column; gap: 7px; }
.credit-card-lines i { width: 79px; height: 3px; border-radius: 2px; background: #a2bcc87d; }
.credit-card-lines i:last-child { width: 51px; }
.credit-card-brand { position: absolute; right: 15px; top: 18px; color: #e3d3ad; font-size: 10px; letter-spacing: 1px; }
.credit-card-corner { position: absolute; right: 19px; bottom: 22px; width: 26px; height: 26px; border-right: 1px solid #a7bdc8; border-bottom: 1px solid #a7bdc8; border-radius: 0 0 5px 0; }

/* User-provided artwork stays complete, without text overlays or cropping. */
.consult-photo-card {
  display: flex; flex-direction: column; min-width: 0; padding: 0; overflow: hidden;
  text-align: left; color: #153650; background: #fff; border: 1px solid #dbe4ec;
  border-radius: 17px; box-shadow: 0 7px 22px #193b5309;
  transition: transform .18s ease, border-color .18s ease;
}
.consult-photo-card:hover { transform: translateY(-2px); border-color: #789aae; }
.consult-photo-card:focus-visible, .other-consult-image:focus-visible { outline: 3px solid #af9364; outline-offset: 3px; }
.consult-photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #eaf1f7; }
.consult-photo-copy { display: flex; flex-direction: column; flex: 1; position: relative; padding: 19px 19px 16px; }
.consult-photo-number { font: 10px/1.3 ui-monospace, Consolas, monospace; letter-spacing: 1px; color: #8799a8; margin-bottom: 8px; }
.consult-photo-copy strong { font-size: 18px; font-weight: 650; line-height: 1.5; }
.consult-photo-subtitle { font-size: 12px; color: #687e90; line-height: 1.8; margin-top: 6px; margin-bottom: 18px; }
.consult-photo-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; color: #295670; font-size: 12px; font-weight: 600; }
.other-consult-banner { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.other-consult-image { display: block; width: 100%; min-width: 0; padding: 0; overflow: hidden; background: #fff; border: 1px solid #d3dfe5; border-radius: 14px; text-align: left; color: #254b64; }
.other-consult-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.other-consult-image > span { display: flex; align-items: center; justify-content: space-between; padding: 12px 15px; font-size: 12px; font-weight: 600; }
.other-consult-image > span svg { width: 18px; height: 18px; }
.consult-entry-lead { font-size: 16px; color: #244b65; line-height: 1.8; }
.consult-entry-note { font-size: 12px; color: #607789; line-height: 1.8; margin-top: 20px; }

@media (max-width: 650px) {
  .consult-photo-card { border-radius: 14px; }
  .consult-photo-copy { padding: 12px 12px 13px; }
  .consult-photo-number { font-size: 9px; margin-bottom: 5px; }
  .consult-photo-copy strong { font-size: 15px; }
  .consult-photo-subtitle { font-size: 11px; margin: 5px 0 14px; }
  .consult-photo-footer { font-size: 11px; }
  .other-consult-banner .other-consult-image { margin-top: 23px; }
}
@media (prefers-reduced-motion: reduce) { .consult-photo-card { transition: none; } }

@media (max-width: 1000px) {
  .home-hero.hero { padding: 34px; }
  .home-hero .hero-title { font-size: 37px; }
  .support-artwork { transform: scale(.82); }
  .service-project-card.project-card { min-height: 275px; }
  .credit-consult-banner { padding: 30px; gap: 20px; }
}

@media (max-width: 650px) {
  .yf-home .location-row { font-size: 9px; gap: 10px; margin-bottom: 13px; }
  .yf-home .location-row > span { white-space: nowrap; }
  .yf-home .location-row .text-button { font-size: 10px; min-height: 30px; }
  .home-hero.hero { display: block; min-height: 0; padding: 26px 24px 23px; border-radius: 20px; }
  .hero-service-label { font-size: 11px; letter-spacing: .5px; }
  .hero-service-label svg { width: 16px; height: 16px; }
  .home-hero .hero-title { font-size: clamp(29px, 8.2vw, 34px); font-weight: 650; line-height: 1.35; letter-spacing: .5px; margin: 16px 0 12px; max-width: none; }
  .home-hero .hero-service-description { font-size: 12px; color: #d8e3eb; line-height: 1.85; max-width: none; margin-bottom: 0; }
  .hero-service-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 22px; }
  .hero-service-button { min-height: 54px; width: 100%; padding: 14px 18px; border-radius: 11px; font-size: 16px; gap: 11px; }
  .hero-service-button > span { flex: 1; text-align: left; }
  .hero-form-link { justify-self: center; min-height: 37px; padding: 5px 0; font-size: 12px; }
  .hero-ad-link { justify-content: center; font-size: 11px; min-height: 36px; }
  .hero-service-assurance { justify-content: center; gap: 17px; margin-top: 14px; font-size: 10px; color: #c0d0dc; }
  .hero-service-assurance svg { width: 12px; height: 12px; }
  .home-support-art.hero-art { display: none; }
  .home-hero .carousel-controls { left: auto; right: 22px; bottom: 12px; }
  .yf-home .service-strip { padding-top: 21px; gap: 7px; }
  .yf-home .service-strip > div { padding-right: 7px; }
  .yf-home .service-strip > div > strong { font-size: 11px; }
  .yf-home .service-strip > div > span { font-size: 9px; color: #6b7f90; }
  .home-project-section { margin-top: 30px; }
  .home-project-section .eyebrow { font-size: 10px; letter-spacing: 1px; }
  .home-project-section .section-heading h2 { font-size: 20px; }
  .home-project-section .section-heading > .text-button { font-size: 11px; color: #566f82; }
  .projects-grid { gap: 13px; }
  .service-project-card.project-card { min-height: 240px; padding: 15px 15px 13px; border-radius: 15px; }
  .project-category { font-size: 9px; letter-spacing: .2px; }
  .project-index { font-size: 10px; }
  .project-art-panel { height: 75px; margin-top: 10px; }
  svg.project-artwork { width: 122px; height: 75px; margin-left: -4px; }
  .service-project-card.project-card h3 { font-size: 15px; margin: 13px 0 7px; line-height: 1.45; letter-spacing: -.3px; }
  .service-project-card.project-card p { font-size: 11px; line-height: 1.7; margin-bottom: 14px; }
  .project-card-footer { font-size: 10px; gap: 6px; }
  .project-open-arrow { width: 25px; height: 25px; }
  .project-open-arrow svg { width: 13px; height: 13px; }
  .credit-consult-banner { grid-template-columns: minmax(0, 1fr); margin-top: 26px; gap: 0; padding: 26px 24px 22px; border-radius: 19px; }
  .credit-consult-kicker { font-size: 10px; letter-spacing: 1.4px; }
  .credit-consult-banner h2 { font-size: 25px; margin: 10px 0 9px; }
  .credit-consult-subtitle { font-size: 13px; line-height: 1.75; max-width: 290px; margin-bottom: 9px; }
  .credit-consult-description { font-size: 11px; line-height: 1.85; max-width: 290px; }
  .credit-consult-button { min-height: 44px; margin-top: 17px; font-size: 12px; }
  .credit-consult-privacy { font-size: 9px; margin-top: 12px; }
  .credit-consult-art { min-height: 175px; margin-top: 9px; }
  .credit-consult-art > img { max-height: 175px; }
  .credit-illustration-back { right: 13px; top: 16px; }
  .credit-illustration-front { right: 44px; top: 45px; }
}

@media (max-width: 360px) {
  .home-hero.hero { padding-left: 20px; padding-right: 20px; }
  .hero-service-button { font-size: 15px; padding-left: 14px; padding-right: 14px; }
  .service-project-card.project-card { padding-left: 12px; padding-right: 12px; }
  .service-project-card.project-card h3 { font-size: 14px; }
  .credit-consult-banner { padding-left: 20px; padding-right: 20px; }
  .credit-illustration-front { right: 30px; }
  .credit-illustration-back { right: 0; }
}

.app-download-banner{display:flex;align-items:center;gap:15px;margin:0 0 22px;padding:20px;border:1px solid #c9dbed;border-radius:18px;background:linear-gradient(110deg,#eaf3ff,#fff);box-shadow:0 8px 25px #1538580a}.app-download-banner>img{width:58px;height:58px;border-radius:15px;flex-shrink:0}.app-download-banner>div{min-width:0;flex:1}.app-download-label{font-size:10px;font-weight:650;letter-spacing:1px;color:#526e8d}.app-download-banner h2{margin:3px 0;font-size:21px;color:#12395d}.app-download-banner p{margin:0;font-size:12px;color:#647b92}.app-download-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.app-download-actions a{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:8px 15px;border-radius:9px;background:#0759c5;color:white;font-size:13px;font-weight:600}.app-download-actions a:last-child{background:#fff;border:1px solid #bed1e6;color:#194b7b}.app-download-actions svg{width:15px;height:15px}@media(max-width:650px){.app-download-banner{gap:12px;padding:16px;margin-bottom:18px}.app-download-banner>img{width:50px;height:50px}.app-download-banner h2{font-size:18px}.app-download-actions{gap:8px;margin-top:9px}.app-download-actions a{font-size:12px;min-height:36px;padding:7px 12px}}
