/* Enoma company storytelling: pre-footer newsletter, CEO gallery and discreet developer credit */
.prefooter-newsletter{margin-top:45px;padding:38px 0;background:var(--section-bg);border-top:1px solid var(--app-line)}
.prefooter-newsletter .footer-newsletter{border:0;margin:0;padding:12px 0}
.prefooter-newsletter .footer-newsletter>div:first-child{max-width:570px}
.developer-attribution{background:var(--app-bg);color:var(--app-muted);border-top:1px solid var(--app-line);padding:13px 0}
.developer-attribution-inner{display:flex;align-items:center;justify-content:space-between;gap:13px 24px;flex-wrap:wrap}
.developer-credit-text{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:10px}
.developer-name{font-size:11px;font-weight:800;color:var(--brand-secondary-text);text-decoration:none}
a.developer-name:hover,.developer-links a:hover{text-decoration:underline}
.developer-links{display:flex;align-items:center;justify-content:flex-end;gap:8px 16px;flex-wrap:wrap}
.developer-links a{color:var(--brand-secondary-text);font-size:10px;text-decoration:none;font-weight:700;line-height:1.5}
.ceo-profile-hero{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);align-items:center;gap:clamp(24px,5vw,80px);padding-top:clamp(38px,6vw,80px);padding-bottom:clamp(38px,6vw,80px)}
.ceo-profile-copy{min-width:0}
.ceo-profile-copy .ceo-back{display:inline-flex;align-items:center;min-height:44px;color:var(--brand-secondary-text);font-size:12px;font-weight:800;text-decoration:none;margin-bottom:25px}
.ceo-profile-copy h1{font:400 clamp(39px,6vw,79px)/1.05 Georgia,serif;letter-spacing:-2px;color:var(--app-text);margin:8px 0 15px;overflow-wrap:anywhere}
.ceo-profile-copy>strong{color:var(--brand-secondary-text);font-size:14px;display:block;letter-spacing:.02em;margin-bottom:20px}
.ceo-profile-copy>p:not(.public-eyebrow){font-size:15px;color:var(--app-muted);line-height:1.9;margin:0 0 24px;white-space:normal;overflow-wrap:anywhere}
.ceo-profile-copy>.public-button{margin-top:8px}
.ceo-main-photo{position:relative;min-height:440px;aspect-ratio:4/4.5;border-radius:25px;overflow:hidden;background:var(--app-soft)}
.ceo-main-photo img{width:100%;height:100%;object-fit:cover;display:block}
.ceo-main-photo:after{content:"";position:absolute;inset:auto 0 0;height:6px;background:linear-gradient(90deg,var(--brand-secondary),var(--brand-primary))}
.ceo-story-section{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:clamp(20px,5vw,70px);align-items:start;margin-block:clamp(35px,6vw,80px);padding-block:clamp(25px,4vw,50px);border-top:1px solid var(--app-line);border-bottom:1px solid var(--app-line)}
.ceo-story-section h2,.ceo-section-head h2,.ceo-contact-section h2{font:400 clamp(29px,4vw,48px)/1.16 Georgia,serif;color:var(--app-text);letter-spacing:-.7px;margin:5px 0 0}
.ceo-story-text{font-size:14px;color:var(--app-muted);line-height:1.95;overflow-wrap:anywhere}
.ceo-items-section{margin-block:clamp(30px,5vw,78px)}
.ceo-section-head{margin-bottom:26px}
.ceo-items-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.ceo-item-card{background:var(--app-surface);border:1px solid var(--app-line);border-radius:17px;overflow:hidden;min-width:0;box-shadow:0 9px 24px #00000006}
.ceo-item-image{display:block;aspect-ratio:4/3;background:var(--app-soft);overflow:hidden}
.ceo-item-image img{width:100%;height:100%;object-fit:cover;transition:transform .25s}
.ceo-item-image:hover img{transform:scale(1.03)}
.ceo-item-copy{padding:19px 20px 23px}
.ceo-item-date{font-size:10px;color:var(--brand-secondary-text);font-weight:850;letter-spacing:.07em}
.ceo-item-card h3{font:400 24px/1.25 Georgia,serif;color:var(--app-text);margin:9px 0}
.ceo-item-card p{font-size:12px;line-height:1.8;color:var(--app-muted);margin:8px 0 0;overflow-wrap:anywhere}
.ceo-contact-section{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:clamp(24px,4vw,48px);border-radius:21px;background:var(--app-soft);margin-block:50px}
.ceo-contact-section>div{max-width:720px}
.ceo-contact-section p:not(.public-eyebrow){font-size:13px;color:var(--app-muted);line-height:1.8}
.ceo-contact-section>.public-button{flex-shrink:0}
@media(max-width:960px){.ceo-items-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.ceo-profile-hero,.ceo-story-section{grid-template-columns:1fr}.ceo-main-photo{min-height:0;max-height:580px}.ceo-profile-copy h1{font-size:clamp(39px,9vw,67px)}.ceo-contact-section{flex-direction:column;align-items:stretch}.ceo-contact-section .public-button{align-self:flex-start}}
@media(max-width:570px){.prefooter-newsletter{margin-top:25px;padding:20px 0}.developer-attribution-inner{flex-direction:column;align-items:flex-start}.developer-links{justify-content:flex-start}.ceo-items-grid{grid-template-columns:1fr}.ceo-item-copy{padding:17px}.ceo-profile-hero{padding-top:23px}.ceo-profile-copy h1{font-size:42px}.ceo-main-photo{border-radius:18px}.ceo-contact-section .public-button{width:100%}}

/* CEO contact messages use the existing consent-protected Enoma contact service. */
.ceo-contact-section{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);align-items:start;gap:clamp(20px,4vw,55px)}
.ceo-contact-form{min-width:0;display:flex;flex-direction:column;gap:14px;padding:clamp(16px,2.5vw,26px);border:1px solid var(--app-line);background:var(--app-surface);border-radius:15px}
.ceo-contact-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ceo-contact-fields label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:800;color:var(--app-text);min-width:0}
.ceo-contact-fields label:last-child{grid-column:1/-1}
.ceo-contact-fields input,.ceo-contact-fields textarea{background:var(--app-bg);color:var(--app-text);width:100%;min-height:47px;padding:12px;border:1px solid var(--app-line);border-radius:10px;font:inherit;font-size:13px;min-width:0}
.ceo-contact-fields textarea{resize:vertical;line-height:1.7}
.ceo-contact-consent{display:flex;gap:10px;align-items:flex-start;color:var(--app-muted);font-size:11px;line-height:1.65}
.ceo-contact-consent input{width:18px;height:18px;accent-color:var(--brand-primary);flex-shrink:0;margin:2px 0 0}
.ceo-contact-form button{align-self:flex-start;cursor:pointer;border:0}
.ceo-contact-form :is(input,textarea,button):focus-visible{outline:3px solid var(--brand-secondary);outline-offset:2px}
@media(max-width:860px){.ceo-contact-section{grid-template-columns:1fr}}
@media(max-width:520px){.ceo-contact-fields{grid-template-columns:1fr}.ceo-contact-fields label:last-child{grid-column:auto}.ceo-contact-form button{width:100%}}

/* Desktop CEO profile refinement: central readable biography and balanced photo rows.
   The original three-column grid left one gallery card stranded at the far left. */
@media (min-width:961px) {
  .ceo-story-section{
    grid-template-columns:minmax(0,1fr);
    justify-items:center;
    row-gap:24px;
    padding-inline:clamp(20px,4vw,60px);
    padding-block:clamp(36px,5vw,68px);
  }
  .ceo-story-section>div:first-child{text-align:center;max-width:860px}
  .ceo-story-section .ceo-story-text{
    width:100%;
    max-width:860px;
    margin-inline:auto;
    font-size:15px;
    line-height:1.95;
    text-align:left;
  }
  .ceo-items-section{max-width:1180px}
  .ceo-section-head{text-align:center;margin-inline:auto;max-width:780px;margin-bottom:30px}
  .ceo-items-grid{justify-content:center;gap:24px}
  .ceo-items-grid:has(> .ceo-item-card:only-child){
    grid-template-columns:minmax(0,560px);
  }
  .ceo-items-grid:has(> .ceo-item-card:first-child:nth-last-child(2)){
    grid-template-columns:repeat(2,minmax(0,540px));
  }
  .ceo-item-card{width:100%}
  .ceo-item-image{aspect-ratio:4/3}
}
@media (min-width:761px) and (max-width:960px) {
  .ceo-items-grid:has(> .ceo-item-card:only-child){
    grid-template-columns:minmax(0,540px);
    justify-content:center;
  }
}
