/* Personal social destination, extending the established Think Menai brand. */
.ai-nick-page { --ks-space: clamp(56px, 6vw, 88px); overflow-x: clip; }
/* Keep the enquiry route visible without a floating bar over the form. */
.ai-nick-page .ks-compact-header { position: sticky; top: 0; z-index: 100; }
.ai-nick-page .ks-compact-header .shell { min-height: 80px; }
.ai-nick-page .ks-header-enquiry { display: inline-flex; padding: 10px 18px; background: var(--amber-400); color: var(--navy-950); }
.ai-nick-page .ks-header-enquiry > span { color: inherit; }
.ai-nick-page .ks-header-enquiry:hover { background: var(--amber-500); }
.an-hero { --focus: var(--amber-400); padding-block: 56px; color: white; background: var(--navy-950); }
.an-hero-grid { display: grid; grid-template-columns: 1.25fr .8fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.an-hero-copy { min-width: 0; }
.an-hero .ks-label { color: var(--amber-400); }
.ai-nick-page .an-hero h1 { font-size: clamp(3rem, 5.8vw, 5.25rem); line-height: 1.04; letter-spacing: -.05em; }
.an-hero h1 em { color: var(--amber-400); }
.an-opening { max-width: 570px; font-size: clamp(1.1rem, 1.4vw, 1.2rem); line-height: 1.65; color: #d4dbe5; }
.an-hero-actions { margin: 28px 0 16px; }
.an-hero-actions .button { min-width: 205px; justify-content: space-between; }
.an-fee { color: #d4dbe5; font-size: .85rem; margin-bottom: 0 !important; }
.an-portrait { width: 100%; max-width: 420px; justify-self: end; margin: 0; background: var(--cream-100); color: var(--ink); }
.an-portrait > img { width: 100%; aspect-ratio: 1.08; height: auto; object-fit: cover; object-position: center 27%; }
.an-portrait figcaption { padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 4px solid var(--amber-500); }
.an-portrait strong { font-size: 1.02rem; letter-spacing: -.02em; }
.an-portrait span { font-size: .83rem; color: var(--muted); }
.an-help { background: var(--cream-100); }
.an-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.an-services article { display: flex; flex-direction: column; align-items: start; padding-top: 24px; border-top: 1px solid var(--line); }
.ai-nick-page .an-services h3 { font-size: 1.45rem; margin-bottom: 18px; }
.an-services p { color: var(--muted); }
.an-service-cta { display: inline-flex; gap: 20px; align-items: center; min-height: 48px; margin-top: auto; font-weight: 750; font-size: .94rem; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.an-service-cta:hover { text-decoration-thickness: 2px; }
.an-service-cta > span { text-decoration: none; }
.an-kickstart-note { border-top: 1px solid var(--line); padding-top: 24px; margin: 32px 0 0 !important; color: var(--muted); font-size: .88rem; }
.an-kickstart-note a { color: var(--ink); font-weight: 650; text-underline-offset: 4px; }
.an-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 104px); }
.an-intro-grid > div > :last-child { margin-bottom: 0; }
.an-intro-grid > div:last-child > p:not(.ks-intro) { color: var(--muted); }
.an-experience { background: var(--cream-50); }
.an-work { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; }
.an-project { display: block; min-width: 0; color: var(--ink); text-decoration: none; }
.an-project > img { width: 100%; height: auto; aspect-ratio: 2; object-fit: contain; background: white; }
.an-project-caption { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-top: 18px; }
.an-project-caption small, .an-project-caption strong { display: block; }
.an-project-caption small { color: var(--muted); font-size: .8rem; margin-bottom: 5px; }
.an-project-caption strong { font-size: 1.12rem; letter-spacing: -.02em; }
.an-project:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.an-project-caption > span:last-child { font-size: 1.4rem; }
.ai-nick-page .ks-proof-note { margin: 20px 0 0; font-size: .76rem; }
.an-next-step { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 32px 0 0; margin-top: 36px; border-top: 1px solid var(--line); }
.an-next-step > div { max-width: 650px; }
.an-next-step h3 { margin-bottom: 12px; }
.an-next-step p { color: var(--muted); margin-bottom: 0; }
.an-next-step .button { flex-shrink: 0; }
.ai-nick-page .ks-faq { padding-top: 0; }
.ai-nick-page .ks-enquiry { scroll-margin-top: 8px; }
.ai-nick-page .ks-direct { margin-top: 20px; }
@media (max-width: 1060px) {
 .an-hero-grid { gap: 40px; grid-template-columns: 1.1fr .9fr; }
 .an-portrait figcaption { display: block; }
 .an-portrait strong, .an-portrait span { display: block; }
 .an-portrait span { margin-top: 6px; }
 .an-services { gap: 28px; }
}
@media (max-width: 800px) {
 .an-hero { padding-block: 40px; }
 .an-hero-grid, .an-intro-grid { grid-template-columns: 1fr; gap: 32px; }
 .ai-nick-page .an-hero h1 { font-size: clamp(2.65rem, 7.8vw, 4rem); }
 .an-portrait { max-width: 440px; display: grid; grid-template-columns: 120px 1fr; justify-self: start; align-items: stretch; }
 .an-portrait > img { aspect-ratio: 1; }
 .an-portrait figcaption { display: flex; flex-direction: column; align-items: start; justify-content: center; border-top: 0; gap: 6px; padding: 16px 22px; }
 .an-portrait span { margin-top: 0; }
 .an-services { grid-template-columns: 1fr; gap: 24px; }
 .an-services article { padding-top: 24px; }
 .ai-nick-page .an-services h3 { margin-bottom: 12px; }
 .an-services p { margin-bottom: 8px; max-width: 620px; }
 .an-next-step { align-items: start; flex-direction: column; gap: 24px; }
}
@media (max-width: 600px) {
 .ai-nick-page .ks-compact-header .shell { min-height: 72px; gap: 18px; }
 .ai-nick-page .ks-compact-header .brand img { width: 132px; }
 .ai-nick-page .ks-header-person { display: none; }
 .ai-nick-page .ks-header-enquiry { padding: 9px 12px; gap: 10px; font-size: .8rem; }
 .an-hero-actions .button { width: 100%; }
 .an-work { grid-template-columns: 1fr; gap: 28px; }
 .an-project > img { aspect-ratio: 1.9; }
 .an-next-step { margin-top: 28px; padding-top: 28px; }
 .an-next-step .button { width: 100%; justify-content: space-between; }
 .an-fee { font-size: .82rem; }
}
@media (max-width: 360px) {
 .ai-nick-page .ks-compact-header .brand img { width: 116px; }
 .an-portrait { grid-template-columns: 92px 1fr; }
 .an-portrait > img { height: 100%; }
 .an-portrait figcaption { padding: 14px; }
 .an-portrait strong { font-size: .92rem; }
}
@media (max-height: 480px) {
 /* Leave room for the form when a phone keyboard or short landscape view is in use. */
 .ai-nick-page .ks-compact-header { position: relative; }
}
