/*
Theme Name: OtaibiF
Theme URI: https://otaibif.com
Author: Faisal Alotaibi
Description: قالب عربي شخصي يجمع التعليم والتقنية، ومصمم للعمل مع إضافة OtaibiF Core.
Version: 1.6.53
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: otaibif
License: GNU General Public License v2 or later
*/

@font-face{font-family:"The Year of Handicrafts";src:url("assets/fonts/TheYearofHandicrafts-Regular.woff2") format("woff2"),url("assets/fonts/TheYearofHandicrafts-Regular(1).otf") format("opentype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"The Year of Handicrafts";src:url("assets/fonts/TheYearofHandicrafts-Medium.woff2") format("woff2"),url("assets/fonts/TheYearofHandicrafts-Medium(1).otf") format("opentype");font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:"The Year of Handicrafts";src:url("assets/fonts/TheYearofHandicrafts-SemiBold.woff2") format("woff2"),url("assets/fonts/TheYearofHandicrafts-SemiBold(1).otf") format("opentype");font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:"The Year of Handicrafts";src:url("assets/fonts/TheYearofHandicrafts-Bold.woff2") format("woff2"),url("assets/fonts/TheYearofHandicrafts-Bold(1).otf") format("opentype");font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:"The Year of Handicrafts";src:url("assets/fonts/TheYearofHandicrafts-Black.woff2") format("woff2"),url("assets/fonts/TheYearofHandicrafts-Black(1).otf") format("opentype");font-style:normal;font-weight:900;font-display:swap}

:root{--otbf-violet:#5427B6;--otbf-lilac:#9B72F2;--otbf-muted:#AB96D9;--otbf-blue:#2B5FBC;--otbf-soft:#F2F2F2;--otbf-ink:#17131F;--otbf-white:#fff;--otbf-line:#e7e1f4;--otbf-shadow:0 18px 50px rgba(43,38,80,.10);--otbf-radius:24px}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:#fff;color:var(--otbf-ink);font-family:"The Year of Handicrafts",Tahoma,Arial,sans-serif;line-height:1.8;direction:rtl}
*{box-sizing:border-box}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
:focus-visible{outline:3px solid var(--otbf-lilac);outline-offset:3px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.otbf-skip-link{position:fixed;z-index:100000;top:10px;right:12px;padding:10px 16px;border-radius:10px;background:#fff;color:var(--otbf-violet);font-weight:700;box-shadow:var(--otbf-shadow);transform:translateY(-160%);transition:transform .15s ease}.otbf-skip-link:focus{transform:none}
.otbf-container{width:min(1160px,calc(100% - 40px));margin-inline:auto}
.otbf-main{overflow:hidden;margin-block-start:0!important;padding-block-start:0!important}
.otbf-section{padding:64px 0}
#about{padding-top:40px;padding-bottom:28px}
#projects{padding-top:32px;padding-bottom:44px}
#skills{position:relative;padding-top:44px;padding-bottom:44px;background:linear-gradient(to bottom,#fff 0,#f8f7fb 72px,#eef4ff 190px,#f3f6fc 100%)}
#skills:after{content:"";position:absolute;right:0;bottom:-82px;left:0;height:84px;background:#f3f6fc;pointer-events:none}
#contact{padding-top:44px;background:linear-gradient(to bottom,#f3f6fc 0,#f8faff 84px,#fff 210px)}
.otbf-projects-archive{padding-top:30px}.otbf-projects-archive .otbf-heading{margin-bottom:26px}
.otbf-section--soft{background:linear-gradient(135deg,#f8f7fb,#eef4ff)}
.otbf-eyebrow{display:inline-block;color:var(--otbf-violet);font-weight:700;margin-bottom:4px}
.otbf-heading{text-align:center;margin-bottom:38px}
.otbf-heading h1,.otbf-heading h2,.otbf-section h2{margin:0;color:#16132c;font-size:clamp(2rem,3.5vw,2.7rem);line-height:1.25}
.otbf-heading h2:after,.otbf-about h2:after{content:"";display:block;width:56px;height:5px;border-radius:10px;background:linear-gradient(90deg,var(--otbf-lilac),var(--otbf-blue));margin-top:12px}
.otbf-heading h2:after{margin-inline:auto}
.otbf-projects-heading{text-align:right;margin-bottom:18px}
.otbf-projects-heading h2:after{margin-top:7px;margin-inline-start:0;margin-inline-end:0}
.otbf-skills-heading{text-align:right;margin-bottom:28px}
.otbf-skills-heading h2:after{margin-top:7px;margin-inline-start:0;margin-inline-end:0}
.otbf-about h2:after{margin-top:8px}
.otbf-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 24px;border:1px solid transparent;border-radius:12px;background:linear-gradient(135deg,var(--otbf-violet),#176cdc);color:#fff;font-weight:700;box-shadow:0 10px 24px rgba(84,39,182,.20);cursor:pointer;transition:.2s ease}
.otbf-button:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(84,39,182,.28)}
.otbf-button--outline{background:#fff;border-color:var(--otbf-lilac);color:var(--otbf-violet);box-shadow:none}
.otbf-center{text-align:center;margin-top:38px}

.wp-site-blocks{padding:0}
.wp-site-blocks>*+*{margin-block-start:0!important}
.wp-site-blocks>header+main,.wp-site-blocks>.wp-block-template-part+.otbf-main,.wp-site-blocks>.otbf-main{margin-block-start:0!important;margin-top:0!important;padding-block-start:0!important;padding-top:0!important}
.otbf-main>:first-child,.otbf-main>.wp-block-shortcode:first-child{margin-block-start:0!important;margin-top:0!important;padding-block-start:0!important;padding-top:0!important}
.otbf-main>.wp-block-shortcode:empty{display:none}
.otbf-site-header{position:sticky;z-index:50;top:0;background:rgba(255,255,255,.92);backdrop-filter:blur(16px);border-bottom:1px solid rgba(231,225,244,.75)}
.admin-bar .otbf-site-header{top:32px}
.otbf-header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.otbf-site-header nav{width:100%}
.otbf-nav{position:relative;display:flex;align-items:center;justify-content:center;gap:6px;list-style:none;padding:0;margin:0}
.otbf-nav a{display:flex;align-items:center;min-height:44px;padding:8px 14px;border-radius:10px;font-size:1rem;font-weight:600}
.otbf-nav a:hover{color:var(--otbf-violet);background:#f2edff}
.otbf-nav li:last-child{position:absolute;left:0}
.otbf-nav .otbf-nav-cta{color:#fff;background:linear-gradient(135deg,var(--otbf-violet),var(--otbf-blue));padding-inline:18px}
.otbf-menu-toggle{display:none;align-items:center;gap:9px;min-height:46px;background:#fff;border:1px solid var(--otbf-line);border-radius:12px;padding:8px 13px;color:var(--otbf-ink);font-weight:700;cursor:pointer}.otbf-menu-toggle__icon{display:grid;gap:4px;width:20px}.otbf-menu-toggle__icon i{display:block;width:20px;height:2px;border-radius:4px;background:currentColor;transition:.2s ease}.otbf-menu-toggle[aria-expanded="true"] .otbf-menu-toggle__icon i:first-child{transform:translateY(6px) rotate(45deg)}.otbf-menu-toggle[aria-expanded="true"] .otbf-menu-toggle__icon i:nth-child(2){opacity:0}.otbf-menu-toggle[aria-expanded="true"] .otbf-menu-toggle__icon i:last-child{transform:translateY(-6px) rotate(-45deg)}

.otbf-hero{min-height:620px;display:flex;align-items:center;margin-top:-28px;background:linear-gradient(to bottom,transparent 72%,#fff 100%),radial-gradient(circle at 10% 30%,rgba(155,114,242,.20),transparent 30%),radial-gradient(circle at 90% 70%,rgba(43,95,188,.12),transparent 35%),#fbfcff;padding:82px 0 18px}
.otbf-hero__grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:44px}
.otbf-badge,.otbf-chip,.otbf-level{display:inline-flex;align-items:center;border-radius:999px;background:#eee9ff;color:var(--otbf-violet);font-weight:700;padding:5px 14px;font-size:.9rem}
.otbf-hero h1{margin:26px 0 20px;color:#111027;line-height:1.08;letter-spacing:-.025em}
.otbf-hero h1 span{display:block}
.otbf-hero-kicker{margin-bottom:8px;color:var(--otbf-blue);font-size:clamp(1.8rem,3.2vw,2.5rem);font-weight:700;line-height:1.25;letter-spacing:0}
.otbf-hero-name{font-size:clamp(3.35rem,5.5vw,5.2rem);font-weight:900;white-space:nowrap}
.otbf-lead{font-size:clamp(1.1rem,1.7vw,1.3rem);color:#524d68;max-width:610px;line-height:1.8}
.otbf-actions{display:flex;flex-wrap:wrap;width:360px;max-width:100%;gap:12px;margin-top:28px}
.otbf-actions .otbf-button{flex:1 1 0}
.otbf-note{width:360px;max-width:100%;margin:14px 0 0 auto;color:#77718d;font-size:.98rem;text-align:center}
.otbf-hero__visual{position:relative;min-height:540px;display:flex;align-items:flex-end;justify-content:center;isolation:isolate}
.otbf-hero__visual:after{content:"";position:absolute;z-index:-2;inset:18% 7% 4%;border-radius:48% 48% 28% 28%;background:linear-gradient(145deg,#d9e7ff,#c6b0fa);filter:drop-shadow(0 25px 35px rgba(84,39,182,.18))}
.otbf-hero__visual img{position:relative;z-index:2;max-height:570px;object-fit:contain;object-position:bottom;filter:drop-shadow(0 20px 20px rgba(31,29,76,.16))}
.otbf-shape{position:absolute;z-index:-1;border-radius:28px;transform:rotate(45deg)}
.otbf-shape--one{width:160px;height:160px;top:12%;right:2%;background:linear-gradient(135deg,var(--otbf-lilac),var(--otbf-violet))}
.otbf-shape--two{width:110px;height:110px;bottom:16%;left:0;background:linear-gradient(135deg,#a9c9ff,var(--otbf-blue));opacity:.65}

.otbf-about{display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:start}
.otbf-richtext{color:#514b61;font-size:1.12rem;line-height:1.95;margin-top:14px}
.otbf-about__cards{display:grid;gap:16px}
.otbf-mini-card{display:grid;grid-template-columns:52px 1fr;grid-template-rows:auto auto;column-gap:16px;padding:20px;background:#fff;border:1px solid var(--otbf-line);border-radius:18px;box-shadow:var(--otbf-shadow)}
.otbf-mini-card>span{grid-row:1/3;display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:linear-gradient(135deg,#eee7ff,#e2eeff);color:var(--otbf-violet)}
.otbf-mini-card .dashicons{width:25px;height:25px;font-size:25px}
.otbf-mini-card strong{font-size:1.18rem}.otbf-mini-card small{color:#706a82}

.otbf-skills-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.otbf-skill-card{padding:24px;background:#fff;border:1px solid #e4e8f4;border-radius:18px;box-shadow:0 8px 24px rgba(43,38,80,.06);transition:.2s ease}
.otbf-skill-card:hover{transform:translateY(-4px);border-color:#c9b7f6}
.otbf-skill-card__top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.otbf-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,var(--otbf-violet),var(--otbf-blue));color:#fff}
.otbf-icon .dashicons{width:23px;height:23px;font-size:23px}
.otbf-skill-card h3{font-size:1.15rem;line-height:1.5;margin:18px 0 14px}
.otbf-level{padding:3px 12px;font-size:.82rem}
.otbf-meter{height:7px;border-radius:99px;background:#eae6f1;overflow:hidden}
.otbf-meter span{display:block;width:var(--value);height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--otbf-lilac),var(--otbf-blue))}

.otbf-filters{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-bottom:28px}
#projects .otbf-filters{justify-content:flex-start}
.otbf-filters button{border:1px solid var(--otbf-line);background:#fff;color:#5e5872;padding:8px 18px;border-radius:999px;cursor:pointer}
.otbf-filters button.is-active,.otbf-filters button:hover{background:var(--otbf-violet);color:#fff;border-color:var(--otbf-violet)}
.otbf-projects-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.otbf-project-card{display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid var(--otbf-line);border-radius:20px;box-shadow:0 10px 30px rgba(43,38,80,.08);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.otbf-project-card:hover{transform:translateY(-5px);border-color:#c9b7f6;box-shadow:var(--otbf-shadow)}
.otbf-project-card[hidden]{display:none}
.otbf-project-card__media{position:relative;display:block;flex:none;aspect-ratio:3/2;background:linear-gradient(135deg,#ddd3fb,#cce0ff);overflow:hidden;color:var(--otbf-violet);font-size:3rem}
.otbf-project-card__media img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;transition:.3s ease}.otbf-project-card:hover img{transform:scale(1.03)}
.otbf-project-card__body{display:flex;flex-direction:column;min-height:300px;padding:18px 24px 24px}.otbf-project-card__meta{position:absolute;z-index:2;top:14px;right:14px;left:14px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:1rem}.otbf-project-card__meta .otbf-chip,.otbf-project-status{display:inline-flex;align-items:center;min-height:30px;padding:3px 11px;border:1px solid rgba(255,255,255,.72);border-radius:999px;background:rgba(255,255,255,.9);box-shadow:0 4px 16px rgba(23,19,31,.12);backdrop-filter:blur(7px);font-size:.78rem;font-weight:700}.otbf-project-card__meta .otbf-chip{color:var(--otbf-violet)}.otbf-project-status{color:#24734a}.otbf-project-status--in-progress{background:rgba(255,245,221,.94);color:#8a5a00}.otbf-project-status--prototype{background:rgba(238,233,255,.94);color:var(--otbf-violet)}.otbf-project-status--available{background:rgba(233,243,255,.94);color:var(--otbf-blue)}.otbf-project-card h3{font-size:1.34rem;margin:0 0 6px;line-height:1.45;font-weight:800}.otbf-project-card p{color:#625c74;margin:0 0 14px;font-size:1rem;line-height:1.7}.otbf-project-card .otbf-project-impact{padding:10px 12px;border-radius:12px;background:#f8f7fc;color:#57506b;font-size:.92rem}.otbf-project-impact strong{color:var(--otbf-violet)}.otbf-project-tech{position:absolute;z-index:2;right:14px;bottom:14px;left:14px;display:flex;direction:rtl;flex-wrap:wrap;justify-content:flex-start;gap:6px;margin:0;font-size:1rem}.otbf-project-tech span{padding:3px 9px;border:1px solid rgba(255,255,255,.78);border-radius:999px;background:rgba(255,255,255,.9);box-shadow:0 3px 12px rgba(23,19,31,.1);backdrop-filter:blur(7px);color:#554d69;font-size:.74rem;line-height:1.5}.otbf-arrow{display:inline-flex;align-items:center;align-self:flex-end;gap:5px;margin-top:auto;color:var(--otbf-violet);font-weight:700}.otbf-arrow .dashicons{font-size:19px;width:19px;height:19px;transition:transform .2s ease}.otbf-arrow:hover .dashicons{transform:translateX(-3px)}
.otbf-project-card__body{flex:1}
.otbf-project-card__body{position:relative;min-height:300px;padding:18px 24px 68px}.otbf-project-card__description{min-height:3.4em}.otbf-project-card .otbf-project-impact{min-height:4.2em;margin-bottom:0}.otbf-project-card .otbf-arrow{position:absolute;right:auto;bottom:22px;left:24px;margin:0!important}

.otbf-posts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.otbf-post-card{background:#fff;border:1px solid var(--otbf-line);border-radius:20px;overflow:hidden;box-shadow:0 10px 30px rgba(43,38,80,.07)}
.otbf-post-card__media{display:grid;place-items:center;aspect-ratio:16/9;background:linear-gradient(135deg,#dceaff,#eadfff);color:var(--otbf-blue);font-size:2.5rem;overflow:hidden}
.otbf-post-card__media img{width:100%;height:100%;object-fit:cover}.otbf-post-card>div{padding:20px}.otbf-post-card h3{margin:7px 0;font-size:1.22rem;line-height:1.5}.otbf-post-card p:not(.otbf-meta){color:#706a82}.otbf-meta{color:#827aa0;font-size:.85rem;margin:0}

.otbf-contact{display:grid;grid-template-columns:.92fr 1.08fr;align-items:start;gap:48px;padding:44px 48px;border-radius:30px;background:linear-gradient(135deg,#f0ebff,#eaf3ff);position:relative;overflow:hidden}
.otbf-contact:before{content:"";position:absolute;width:200px;height:200px;border-radius:50%;background:rgba(155,114,242,.16);left:-70px;bottom:-90px}
.otbf-contact__copy{position:relative;padding-top:14px}.otbf-contact__copy h2{margin:0 0 14px}.otbf-contact__copy p{max-width:470px;margin:0 0 20px;color:#5d586d;font-size:1.1rem}.otbf-contact__copy ul{list-style:none;padding:0;margin:0}.otbf-contact__copy li{display:flex;align-items:center;gap:11px;margin:13px 0;font-weight:600}.otbf-contact__copy li .dashicons{flex:none;width:27px;height:27px;color:var(--otbf-violet);font-size:27px}.otbf-contact__copy .otbf-contact__reply{margin-top:26px;color:#6e687d;font-weight:500}
.otbf-form-wrap{position:relative;align-self:start;width:100%;padding:24px;border-radius:22px;background:#fff;box-shadow:0 12px 30px rgba(49,32,97,.09)}.otbf-form{position:relative;display:grid;grid-template-columns:minmax(0,1fr);align-content:start;row-gap:0;width:100%;height:auto!important;min-height:0!important;margin:0!important;padding:0!important}.otbf-form>input[type=hidden]{display:none!important}.otbf-form label{display:grid;grid-column:1/-1;gap:5px;width:100%;min-width:0;margin:0!important;padding:0!important;font-weight:600;color:#4b4660;line-height:1.4}.otbf-form label+label{margin-top:13px!important}.otbf-form .otbf-field-label{display:block;margin:0;color:#4b4660;text-align:right;line-height:1.4}.otbf-form input,.otbf-form textarea{display:block;width:100%;min-height:50px;margin:0!important;border:1px solid #d9d2e8;background:#fbfaff;border-radius:12px;padding:11px 13px;color:var(--otbf-ink);font:inherit;transition:border-color .2s ease,box-shadow .2s ease}.otbf-form input::placeholder,.otbf-form textarea::placeholder{color:#9992a8}.otbf-form textarea{min-height:132px;resize:vertical}.otbf-form input:focus,.otbf-form textarea:focus{border-color:var(--otbf-lilac);box-shadow:0 0 0 4px rgba(155,114,242,.13);outline:0}.otbf-form__wide{grid-column:1/-1}.otbf-form-actions{display:flex;align-items:center;justify-content:center;margin-top:18px}.otbf-form-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:190px;margin:0 auto}.otbf-form-actions button .dashicons{width:18px;height:18px;font-size:18px}.otbf-form button:disabled{cursor:wait;opacity:.72;transform:none}.otbf-hp{position:absolute;left:-9999px}.otbf-alert{padding:12px 16px;border-radius:12px;margin-bottom:14px;font-weight:600}.otbf-alert--success{background:#e1f7ec;color:#17623c}.otbf-alert--error{background:#fee8e8;color:#8a1c1c}
@media (min-width:621px){.otbf-form{transform:translateY(-48px);margin-bottom:-48px!important}}
.otbf-empty{grid-column:1/-1;text-align:center;padding:35px;border:1px dashed var(--otbf-muted);border-radius:16px;color:#6a647a}

.otbf-project-single{padding:44px 0 72px}.otbf-back{display:inline-flex;align-items:center;gap:6px;margin-bottom:22px;color:var(--otbf-violet);font-weight:700}.otbf-project-hero{display:grid;grid-template-columns:1fr 1.05fr;gap:38px;align-items:center;padding:38px;border-radius:30px;background:linear-gradient(135deg,#f4f1ff,#edf4ff);overflow:hidden}.otbf-project-hero__copy{min-width:0}.otbf-project-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.otbf-project-single h1{font-size:clamp(2.7rem,5vw,4.6rem);line-height:1.1;margin:18px 0 12px}.otbf-project-hero__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.otbf-project-hero__media{aspect-ratio:16/10;margin:0;border-radius:24px;overflow:hidden;box-shadow:0 20px 45px rgba(67,44,133,.18)}.otbf-project-hero__media img{width:100%;height:100%;object-fit:cover}.otbf-project-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0 44px}.otbf-project-facts>div{padding:17px 18px;border:1px solid var(--otbf-line);border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(43,38,80,.05)}.otbf-project-facts span{display:block;margin-bottom:4px;color:#746e86;font-size:.88rem}.otbf-project-facts strong{display:block;line-height:1.55}.otbf-project-story{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:40px}.otbf-project-panel{padding:28px;border:1px solid var(--otbf-line);border-radius:22px;background:#fbfaff}.otbf-project-panel--blue{background:#f4f8ff}.otbf-project-panel h2{display:flex;align-items:center;gap:10px;margin:0 0 10px;color:var(--otbf-violet);font-size:1.65rem}.otbf-project-panel h2 .dashicons{width:27px;height:27px;font-size:27px}.otbf-project-panel p{margin:0;color:#625d78;font-size:1.04rem}.otbf-project-features{margin-bottom:40px}.otbf-project-features>h2,.otbf-project-single__body>h2{margin:0 0 18px;font-size:2rem}.otbf-project-features>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.otbf-project-features article{position:relative;padding:24px 20px;border:1px solid var(--otbf-line);border-radius:18px;background:#fff}.otbf-project-features article>span{display:grid;place-items:center;width:34px;height:34px;margin-bottom:14px;border-radius:10px;background:#eee9ff;color:var(--otbf-violet);font-weight:800}.otbf-project-features h3{margin:0 0 6px;font-size:1.18rem}.otbf-project-features p{margin:0;color:#686277}.otbf-project-impact-section{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;align-items:center;margin-bottom:40px;padding:30px;border-radius:24px;background:linear-gradient(135deg,#eee8ff,#eaf3ff)}.otbf-project-impact-section h2{margin:0 0 8px}.otbf-project-impact-section p{margin:0;color:#2e2945;font-size:1.18rem;font-weight:600}.otbf-project-tags{display:flex;flex-wrap:wrap;gap:8px}.otbf-project-tags span{padding:6px 12px;border-radius:999px;background:#fff;color:var(--otbf-violet);font-size:.9rem;font-weight:700}.otbf-project-single__body{max-width:860px;margin:0 auto 40px;padding:28px;border-top:1px solid var(--otbf-line);font-size:1.08rem}.otbf-project-cta{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:30px;border-radius:22px;background:#17131f;color:#fff}.otbf-project-cta h2{margin:0 0 4px;color:#fff}.otbf-project-cta p{margin:0;color:#cbc5d8}
.otbf-content-shell{padding-block:72px}.otbf-content-shell>*{max-width:820px;margin-inline:auto}.otbf-content-shell h1{font-size:clamp(2.4rem,5vw,4rem);line-height:1.2}

.otbf-site-footer{padding:48px 0 26px;background:#17131f;color:#fff}.otbf-footer-inner{display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center}.otbf-footer-copy p{margin:0;color:#cfc8dc;font-size:1.03rem}.otbf-socials{display:flex;gap:10px;flex-wrap:wrap}.otbf-socials a{display:grid;place-items:center;width:46px;height:46px;border:1px solid #3b3548;border-radius:14px;background:#24202e;color:#fff;transition:.2s ease}.otbf-socials a:hover{background:var(--otbf-violet);border-color:var(--otbf-lilac);transform:translateY(-3px)}.otbf-socials .dashicons{width:22px;height:22px;font-size:22px}.otbf-x-icon{font:700 18px/1 Arial,sans-serif}.otbf-copyright{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:18px;border-top:1px solid #332e3e;padding-top:20px;color:#aaa3b8;font-size:.9rem}.otbf-back-top{display:inline-flex;align-items:center;gap:5px;color:#d9d3e3}.otbf-back-top:hover{color:#fff}.otbf-back-top .dashicons{width:18px;height:18px;font-size:18px}

@media (max-width:900px){.otbf-section{padding:56px 0}.otbf-header-inner{min-height:68px;justify-content:flex-start}.otbf-site-header nav{width:auto}.otbf-menu-toggle{display:flex}.otbf-nav{display:flex;visibility:hidden;opacity:0;transform:translateY(-8px);pointer-events:none;position:absolute;top:calc(100% + 8px);right:20px;left:20px;flex-direction:column;align-items:stretch;gap:4px;padding:12px;background:#fff;border:1px solid var(--otbf-line);border-radius:16px;box-shadow:var(--otbf-shadow);transition:opacity .18s ease,transform .18s ease,visibility .18s}.otbf-nav.is-open{visibility:visible;opacity:1;transform:none;pointer-events:auto}.otbf-nav li{width:100%}.otbf-nav a{width:100%;min-height:48px;padding-inline:16px}.otbf-nav .otbf-nav-cta{margin-inline-start:0;justify-content:center}.otbf-hero{padding-top:72px}.otbf-hero__grid,.otbf-about,.otbf-contact{grid-template-columns:1fr}.otbf-hero__grid{gap:24px}.otbf-hero__copy{text-align:center}.otbf-hero__copy .otbf-lead{margin-inline:auto}.otbf-actions{justify-content:center}.otbf-hero__visual{min-height:440px;order:2}.otbf-about{gap:42px}.otbf-skills-grid,.otbf-projects-grid,.otbf-posts-grid{grid-template-columns:repeat(2,1fr)}.otbf-contact{gap:34px;padding:36px}.otbf-contact__copy{text-align:center}.otbf-contact__copy ul{display:inline-block;text-align:right}.otbf-form button{justify-self:stretch}}
@media (max-width:782px){.admin-bar .otbf-site-header{top:46px}}
@media (max-width:620px){html{scroll-padding-top:76px}.admin-bar .otbf-site-header{top:0}.otbf-container{width:min(100% - 28px,1160px)}.otbf-section{padding:46px 0}.otbf-heading{margin-bottom:28px}.otbf-heading h1,.otbf-heading h2,.otbf-section h2{font-size:2rem}.otbf-eyebrow{font-size:.92rem}.otbf-nav{right:14px;left:14px}.otbf-hero{min-height:auto;padding:70px 0 30px}.otbf-hero h1{margin:14px 0}.otbf-hero-name{font-size:clamp(2.55rem,12vw,3.1rem);white-space:normal}.otbf-hero-kicker{font-size:1.55rem}.otbf-lead{font-size:1.05rem;line-height:1.75}.otbf-actions{margin-top:22px}.otbf-actions .otbf-button{width:100%}.otbf-note{font-size:.88rem}.otbf-hero__visual{min-height:330px}.otbf-hero__visual img{max-height:360px}.otbf-shape--one{width:105px;height:105px}.otbf-shape--two{width:76px;height:76px}.otbf-about{gap:30px}.otbf-richtext{font-size:1rem;line-height:1.9;margin-top:14px}.otbf-mini-card{padding:16px;grid-template-columns:46px 1fr;column-gap:12px}.otbf-mini-card>span{width:46px;height:46px}.otbf-filters{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding:3px 1px 8px;margin-inline:-2px;scrollbar-width:none}.otbf-filters::-webkit-scrollbar{display:none}.otbf-filters button{min-height:44px;white-space:nowrap}.otbf-skills-grid,.otbf-projects-grid,.otbf-posts-grid{grid-template-columns:1fr}.otbf-projects-grid{gap:18px}.otbf-project-card__body{padding:20px 20px 64px}.otbf-project-card .otbf-arrow{bottom:20px;left:20px}.otbf-project-card h3{font-size:1.25rem}.otbf-skill-card{padding:20px}.otbf-contact{padding:28px 18px;border-radius:22px;gap:26px}.otbf-contact__copy p{font-size:1rem}.otbf-form-wrap{padding:18px}.otbf-form{grid-template-columns:1fr;gap:16px}.otbf-form label{gap:7px}.otbf-form__wide{grid-column:auto}.otbf-form input,.otbf-form textarea{font-size:16px}.otbf-form-actions{flex-direction:column;align-items:stretch}.otbf-form-actions button{width:100%;margin:0}.otbf-footer-inner{grid-template-columns:1fr;text-align:center}.otbf-socials{justify-content:center}.otbf-copyright{align-items:center;flex-direction:column}.otbf-site-footer{padding-top:38px}}
@media (max-width:900px){#about{padding-top:36px}.otbf-nav{justify-content:flex-start}.otbf-nav li:last-child{position:static}.otbf-actions,.otbf-note{margin-inline:auto}}
@media (max-width:620px){#about{padding-top:30px}.otbf-hero h1{margin:18px 0 14px}.otbf-hero-kicker{margin-bottom:6px}.otbf-actions,.otbf-note{width:100%}.otbf-actions .otbf-button{flex-basis:100%}}
@media (max-width:620px){.otbf-projects-archive{padding-top:24px}.otbf-projects-archive .otbf-heading{margin-bottom:22px}}
@media (max-width:620px){#projects{padding-bottom:34px}#skills{padding-top:34px;padding-bottom:34px;background:linear-gradient(to bottom,#fff 0,#f8f7fb 58px,#eef4ff 150px,#f3f6fc 100%)}#contact{padding-top:34px;background:linear-gradient(to bottom,#f3f6fc 0,#f8faff 64px,#fff 165px)}.otbf-skills-heading{margin-bottom:24px}.otbf-contact__copy h2{margin-top:0}.otbf-contact__copy li .dashicons{width:25px;height:25px;font-size:25px}}
@media (max-width:620px){.otbf-contact{row-gap:8px}.otbf-contact__copy{padding-top:0}.otbf-contact__copy li:last-child{margin-bottom:0}.otbf-form-wrap{padding-top:12px}}
@media (max-width:620px){.otbf-hero-kicker{text-align:right}}
@media (max-width:620px){.otbf-form{display:block}.otbf-form-wrap{padding-top:12px}.otbf-form>label:first-of-type{margin-top:0!important}}
@media (max-width:620px){.otbf-hero h1{width:max-content;max-width:100%;margin-inline:auto;text-align:right}.otbf-hero h1 .otbf-hero-kicker,.otbf-hero h1 .otbf-hero-name{display:block}.otbf-hero h1 .otbf-hero-name{font-size:clamp(2rem,11vw,3.1rem);white-space:nowrap}.otbf-hero-kicker{margin-inline-end:0}}
/* Give pointer and keyboard interactions a small response without hiding content. */
.otbf-button:focus-visible,.otbf-project-card:focus-within,.otbf-skill-card:focus-within{box-shadow:0 0 0 3px rgba(155,114,242,.25),0 12px 30px rgba(43,38,80,.12)}
@media (hover:none){.otbf-button:active{transform:scale(.98);box-shadow:0 5px 14px rgba(84,39,182,.20)}.otbf-project-card:active{border-color:var(--otbf-lilac);box-shadow:0 5px 16px rgba(43,38,80,.12)}}
.otbf-button,.otbf-skill-card{transition-duration:.28s}
.otbf-project-card{transition-duration:.28s}
/* Applied by JS only to content waiting below the opening viewport. */
.otbf-reveal-pending{opacity:0;transform:translateY(20px)}
/* Universal compact project summary */
.otbf-project-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0 40px}.otbf-project-summary article{padding:24px;border:1px solid var(--otbf-line);border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(43,38,80,.06)}.otbf-project-summary h2{margin:0 0 9px;color:var(--otbf-violet);font-size:1.22rem}.otbf-project-summary p{margin:0;color:#625d78;line-height:1.8}
.otbf-project-components h3{margin:0 0 10px;color:#5b536d;font-size:.95rem}.otbf-button--github{direction:ltr}
.otbf-project-status--idea{background:rgba(245,242,255,.96);color:#6750a4}
@media (max-width:900px){.otbf-project-hero{grid-template-columns:1fr;padding:30px}.otbf-project-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.otbf-project-story,.otbf-project-impact-section{grid-template-columns:1fr}.otbf-project-summary{grid-template-columns:1fr}.otbf-project-features>div{grid-template-columns:1fr}}
@media (max-width:620px){.otbf-project-single{padding:28px 0 46px}.otbf-project-hero{padding:22px;border-radius:22px;gap:24px}.otbf-project-single h1{font-size:2.55rem}.otbf-project-hero__actions{flex-direction:column}.otbf-project-hero__actions .otbf-button{width:100%}.otbf-project-facts{grid-template-columns:1fr;margin-bottom:32px}.otbf-project-story{gap:14px;margin-bottom:32px}.otbf-project-panel{padding:21px}.otbf-project-impact-section{padding:22px}.otbf-project-cta{align-items:stretch;flex-direction:column;padding:24px}.otbf-project-cta .otbf-button{width:100%}}
@media (hover:none){.otbf-button:hover,.otbf-project-card:hover,.otbf-skill-card:hover,.otbf-socials a:hover{transform:none}.otbf-project-card:hover img{transform:none}}
/* Project story and neutral cover for projects without a featured image. */
.otbf-project-cover-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;height:100%;padding:24px;text-align:center;background:linear-gradient(135deg,#eee9ff 0%,#dfe7ff 55%,#eaf3ff 100%);color:#30228d}.otbf-project-cover-placeholder small{display:inline-flex;padding:6px 15px;border-radius:99px;background:#fff;font-size:.82rem;font-weight:700}.otbf-project-cover-placeholder strong{max-width:100%;font-size:clamp(1.35rem,3vw,2.1rem);line-height:1.4;overflow-wrap:anywhere}.otbf-project-card__media .otbf-project-cover-placeholder{position:absolute;inset:0}.otbf-project-hero__media .otbf-project-cover-placeholder{border-radius:16px}
.otbf-project-hero__beneficiaries{margin:14px 0 0;color:#625d78;line-height:1.8}.otbf-project-hero__beneficiaries strong{color:#312363}.otbf-project-summary article{min-width:0}
@media (max-width:620px){.otbf-project-hero__media .otbf-project-cover-placeholder{min-height:230px}}
/* Project page refinements: tighter opening and clear actions. */
.otbf-project-single{padding-top:20px;padding-bottom:72px;background:#fff}
.otbf-project-single .otbf-back{margin-bottom:16px}
.otbf-project-hero__actions{align-items:center}
.otbf-project-hero__actions .otbf-button--github{width:48px;min-width:48px;height:48px;padding:0;border-color:#d4c7f7;border-radius:12px;color:var(--otbf-violet);box-shadow:0 7px 18px rgba(84,39,182,.08)}
.otbf-project-hero__actions .otbf-button--github:hover{border-color:var(--otbf-violet);background:#f5f1ff}
.otbf-project-hero__actions .otbf-button--github svg path{fill:currentColor}
.otbf-project-hero__actions .otbf-button .dashicons{margin-inline-start:7px}
@media (max-width:620px){.otbf-project-single{padding-top:18px;padding-bottom:46px}.otbf-project-hero__actions{flex-direction:row;flex-wrap:wrap}.otbf-project-hero__actions .otbf-button:not(.otbf-button--github){width:auto;flex:1;min-width:160px}}
/* Story steps keep their number beside the title across breakpoints. */
.otbf-project-summary__heading{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.otbf-project-summary .otbf-project-summary__heading h2{margin:0;min-width:0}
.otbf-project-summary__icon{display:inline-grid;flex:none;place-items:center;width:34px;height:34px;border-radius:11px;background:#f0ebff;color:var(--otbf-violet)}
.otbf-project-summary__icon svg{display:block;width:20px;height:20px}
/* Reverse the contact panel and button palette. */
.otbf-project-cta{background:linear-gradient(135deg,#5427b6,#2b5fbc)}
.otbf-project-cta p{color:#eee8ff}
.otbf-project-cta .otbf-button{background:#17131f;color:#fff;box-shadow:0 8px 20px rgba(23,19,31,.2)}
.otbf-project-cta .otbf-button:hover{box-shadow:0 12px 24px rgba(23,19,31,.27)}
/* Match the footer gap to the 40px space above the contact panel. */
.otbf-project-single{padding-bottom:40px}
body.single-otbf_project .wp-site-blocks > footer.wp-block-template-part{margin-block-start:0!important}
@media (max-width:620px){.otbf-project-single{padding-bottom:40px}}
/* Feature titles align with their step badges. */
.otbf-project-feature__heading{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.otbf-project-feature__heading>span{display:grid;flex:none;place-items:center;width:34px;height:34px;border-radius:10px;background:#eee9ff;color:var(--otbf-violet);font-weight:800}
.otbf-project-features .otbf-project-feature__heading h3{margin:0;min-width:0}
/* Components read as a contained part of the project value panel. */
.otbf-project-components{min-width:0;padding:18px 20px;border:1px solid rgba(155,114,242,.22);border-radius:18px;background:rgba(255,255,255,.78)}
.otbf-project-components:only-child{grid-column:1/-1}
/* WordPress block spacing must not double the gap beneath the project. */
body.single-otbf_project .wp-site-blocks > .wp-block-shortcode:has(.otbf-project-single) + *,
.wp-site-blocks:has(.otbf-project-single) > :last-child{margin-block-start:0!important}
/* Distinct surfaces and readable text in the project value section. */
.otbf-project-components{background:#fff;border-color:#c9b5f2;box-shadow:0 8px 22px rgba(48,34,104,.08)}
.otbf-project-components h3{color:#2a2142;font-size:1rem;font-weight:800}
.otbf-project-tags span{background:#efe9ff;border:1px solid #d4c5f5;color:#3d2589;font-weight:800}
.otbf-project-impact-section p{color:#24203b}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Keep mobile project cards compact without hiding their content or changing desktop layout. */
@media (max-width:620px){.otbf-project-card__body{min-height:0;padding:16px 20px 55px}.otbf-project-card__description,.otbf-project-card .otbf-project-impact{min-height:0}.otbf-project-card .otbf-arrow{bottom:16px;left:20px}}
/* Fade only the edge containing more category filters; update as the visitor swipes. */
@media (max-width:620px){.otbf-filters--more-left{mask-image:linear-gradient(to right,transparent 0,#000 26px)}.otbf-filters--more-right{mask-image:linear-gradient(to left,transparent 0,#000 26px)}.otbf-filters--more-left.otbf-filters--more-right{mask-image:linear-gradient(to right,transparent 0,#000 26px,#000 calc(100% - 26px),transparent 100%)}}
/* A full finger-sized link without adding visual bulk to the mobile cards. */
@media (max-width:620px){.otbf-project-card .otbf-arrow{min-height:44px;min-width:44px;padding-inline:12px;bottom:7px;left:8px}}
/* Make keyboard focus unmistakable on navigation, project filters and contact fields. */
.otbf-nav a:focus-visible,.otbf-menu-toggle:focus-visible,.otbf-filters button:focus-visible,.otbf-project-card .otbf-arrow:focus-visible{outline:3px solid #5427b6;outline-offset:2px;background:#f0ebff;color:#312363}
.otbf-filters button.is-active:focus-visible{outline-color:#17131f;outline-offset:3px}
.otbf-project-card:focus-within{border-color:#5427b6}
.otbf-project-card__media:focus-visible{outline:3px solid #5427b6;outline-offset:-5px}
.otbf-form input:focus-visible,.otbf-form textarea:focus-visible{outline:2px solid #5427b6;outline-offset:2px;box-shadow:0 0 0 4px rgba(155,114,242,.17)}
/* The selected purple portrait replaces only the default hero illustration. */
.otbf-hero__visual--portrait{min-height:520px;align-items:center}
.otbf-hero__visual--portrait:after,.otbf-hero__visual--portrait .otbf-shape{display:none}
.otbf-hero__visual--portrait img{display:block;width:min(100%,500px);max-height:none;aspect-ratio:1/1;border-radius:50%;object-fit:cover;filter:none;box-shadow:0 22px 55px rgba(49,27,99,.18)}
@media (max-width:900px){.otbf-hero__visual--portrait{min-height:440px}}
@media (max-width:620px){.otbf-hero__visual--portrait{min-height:310px}.otbf-hero__visual--portrait img{width:min(100%,310px);max-height:none}}
