/*
Theme Name: Ramcon Builders
Theme URI: https://ramconbuilders.com/
Author: Ramcon Builders
Description: Custom responsive Ramcon Builders theme with project portfolio, news, and flexible expertise cards.
Version: 1.5.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: ramcon
*/

:root{--navy:#112c3d;--ink:#182a33;--orange:#b76545;--paper:#f7f6f2;--muted:#657078;--line:#dddeda;--serif:Georgia,"Times New Roman",serif;--sans:"DM Sans",Arial,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:white;font-family:var(--sans);-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
button{cursor:pointer}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{font-weight:400}
p{line-height:1.75}
.wrap{width:min(1320px,calc(100% - 96px));margin:auto}
.accent{color:var(--orange)}
.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase}
.section-label{display:flex;align-items:center;gap:20px;margin-bottom:38px;color:var(--muted)}
.section-label:before{content:"";width:34px;height:2px;background:var(--orange)}
.section-title{font-family:var(--serif);font-size:clamp(36px,4vw,58px);line-height:1.12;letter-spacing:-1.8px}
.body-large{font-size:19px;line-height:1.85}
.muted{color:var(--muted)}
.btn{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;padding:18px 24px;border:1px solid currentColor;font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase;transition:.25s ease}
.btn:hover{background:var(--orange);border-color:var(--orange);color:white}
.btn-light{color:white;border-color:rgba(255,255,255,.7)}
.arrow{font-size:19px;font-weight:400}

/* HEADER */
.site-header{position:relative;z-index:100;background:white;border-bottom:1px solid var(--line)}
.nav{min-height:94px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.brand{display:flex;align-items:center;flex-shrink:0}
.brand img{width:auto;height:99px;max-width:242px;object-fit:contain}
.nav-links{display:flex;align-items:center;gap:32px}
.nav-links a{font-size:12px;font-weight:700;letter-spacing:.7px;transition:color .2s}
.nav-links a:hover,.nav-links a.active{color:var(--orange)}
.nav-links .nav-cta{padding:13px 18px;border:1px solid var(--navy)}
.nav-links .nav-cta:hover{background:var(--navy);color:white}
.menu-toggle{display:none;border:0;background:none;color:var(--navy);font-size:28px}

/* HERO */
.hero{min-height:690px;height:min(790px,85vh);position:relative;overflow:hidden;display:flex;align-items:flex-end;color:white;background:var(--navy)}
.hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 45%;z-index:0}
.hero:after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(8,26,37,.76),rgba(8,26,37,.40) 54%,rgba(8,26,37,.12))}
.hero-content{position:relative;z-index:2;padding-bottom:100px}
.hero h1{max-width:950px;margin:30px 0 38px;font-family:var(--serif);font-size:clamp(50px,6vw,88px);line-height:1.04;letter-spacing:-2.8px}
.hero .lead{max-width:600px;font-size:19px;line-height:1.8;color:#e6e9e8;margin-bottom:35px}

/* INTRO */
.intro{padding:130px 0 145px}
.intro-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:11%;align-items:start}
.intro .section-title{margin-bottom:34px}
.intro-copy{max-width:620px}
.intro-copy p{font-size:18px;line-height:1.9}
.intro-copy .btn{margin-top:20px}

/* EXPERTISE */
.expertise{background:var(--paper);padding:125px 0}
.expertise-heading{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:end;margin-bottom:65px}
.expertise-heading p{max-width:490px;font-size:18px}
.services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;perspective:1500px}
.service{position:relative;min-width:0;height:330px;perspective:1400px;-webkit-perspective:1400px;background:transparent;border-radius:4px;box-shadow:0 5px 16px rgba(17,44,61,.09),0 15px 32px rgba(17,44,61,.055);transition:box-shadow .3s ease,transform .3s ease}
.service:hover,.service.is-flipped{box-shadow:0 12px 28px rgba(17,44,61,.20),0 22px 44px rgba(17,44,61,.09)}
@media(hover:hover) and (pointer:fine){.service:hover{transform:translateY(-5px)}}
.service-flip{display:block;position:relative;width:100%;height:100%;padding:0;margin:0;border:0;border-radius:4px;background:transparent;color:var(--ink);text-align:left;cursor:pointer;appearance:none;-webkit-appearance:none;-webkit-tap-highlight-color:transparent}
.service-flip:focus-visible{outline:3px solid var(--orange);outline-offset:4px}
.service-inner{position:relative;width:100%;height:100%;border-radius:4px;transform-style:preserve-3d;-webkit-transform-style:preserve-3d;transition:transform .78s cubic-bezier(.25,.75,.25,1)}
.service.is-flipped .service-inner{transform:rotateY(180deg)}
.service-front,.service-back{position:absolute;inset:0;display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden;border-radius:4px;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.service-front{background:white;padding:37px 35px 31px;border:1px solid rgba(17,44,61,.10);justify-content:space-between}
.service-number{color:var(--orange);font-size:12px;font-weight:700;letter-spacing:1px;position:relative;z-index:2}
.service-front-main{position:absolute;top:88px;left:22px;right:22px;bottom:29px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:25px;text-align:center}
.service-icon{width:77px;height:77px;display:flex;align-items:center;justify-content:center;color:var(--navy);transition:transform .3s ease,color .3s ease}
.service-icon svg{width:69px;height:69px;stroke:currentColor;stroke-width:1.35;fill:none;stroke-linecap:round;stroke-linejoin:round}
.service:hover .service-icon{color:var(--orange);transform:translateY(-3px)}
.service-front h3{font-family:var(--serif);font-size:clamp(22px,2.1vw,29px);font-weight:400;line-height:1.2;letter-spacing:-.4px;margin:0;text-align:center;word-break:normal;hyphens:none}
.service-title-rule{width:38px;height:2px;background:var(--orange);opacity:.82;margin-top:-8px}
.service-reveal{position:absolute;top:26px;right:27px;display:flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid rgba(183,101,69,.55);border-radius:50%;color:var(--orange);background:transparent;transition:background .25s ease,color .25s ease,transform .25s ease;z-index:3}
.service-reveal svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round}
.service:hover .service-front .service-reveal,.service-flip:focus-visible .service-reveal{background:var(--orange);border-color:var(--orange);color:white;transform:scale(1.07)}
.service-back{transform:rotateY(180deg);background-color:var(--navy);background-size:cover;background-position:center;color:white;justify-content:flex-end;isolation:isolate}
.service-back:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,21,30,.46),rgba(5,21,30,.65) 35%,rgba(5,21,30,.95));z-index:0}
.service-back-content{position:relative;z-index:1;padding:28px 29px;width:100%}
.service-back-number{color:#edaa8e;font-size:11px;font-weight:700;letter-spacing:1px;margin-bottom:12px}
.service-back p{color:#f3f5f5;font-size:clamp(13px,1.15vw,15px);line-height:1.65;margin:0;overflow-wrap:break-word}
.service-back .service-reveal{border-color:rgba(255,255,255,.65);color:white}
.service:hover .service-back .service-reveal{background:rgba(255,255,255,.18);border-color:white;color:white}

/* SIX CARD PHOTOGRAPHS */
.service-preconstruction .service-back{background-image:url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1000&q=85")}
.service-commercial .service-back{background-image:url("https://images.unsplash.com/photo-1487958449943-2429e8be8625?w=1000&q=85")}
.service-management .service-back{background-image:url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1000&q=85")}
.service-tenant .service-back{background-image:url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?w=1000&q=85")}
.service-specialized .service-back{background-image:url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?w=1000&q=85")}
.service-industrial .service-back{background-image:url("https://images.unsplash.com/photo-1581092580497-e0d23cbdf1dc?w=1000&q=85")}

/* IMAGE FEATURE */
.image-feature{position:relative;min-height:590px;display:flex;align-items:flex-end;color:white;background:var(--navy);overflow:hidden}
.image-feature img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.image-feature:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,21,30,.78),transparent 80%)}
.image-feature .wrap{position:relative;z-index:1;padding-bottom:75px}
.image-feature h2{max-width:820px;font-family:var(--serif);font-size:clamp(42px,5vw,68px);line-height:1.12}

/* PROJECTS */
.projects{padding:125px 0 140px}
.projects-top{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:55px}
.projects-top .section-title{margin-bottom:0}
.project-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:35px}
.project-card img{width:100%;height:470px;object-fit:cover}
.project-caption{display:flex;justify-content:space-between;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}
.project-caption h3{font-family:var(--serif);font-size:25px;margin:0}
.project-caption span{font-size:12px;color:var(--muted)}
.project-note{margin-top:35px;font-size:13px;color:var(--muted)}

/* FEATURED CURRENT PROJECT */
.featured-current{padding:0 0 140px;background:white}
.featured-rule{height:1px;background:var(--line);margin-bottom:80px}
.featured-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:9%;align-items:start}
.featured-copy h2{font-family:var(--serif);font-size:clamp(36px,3.65vw,53px);line-height:1.16;letter-spacing:-1.2px;margin:25px 0 37px}
.featured-meta{display:grid;grid-template-columns:1fr 1fr;gap:27px 18px;border-top:1px solid var(--line);padding-top:24px}
.featured-meta div{display:flex;flex-direction:column;gap:9px}
.featured-meta span{font-size:10px;letter-spacing:1.5px;font-weight:700;color:var(--orange);text-transform:uppercase}
.featured-meta strong{font-size:16px;font-weight:500;color:var(--ink)}
.featured-display{background:#e8e9e6;overflow:hidden}
.featured-display img{width:100%;aspect-ratio:4/3;object-fit:cover}
.featured-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-top:12px}
.featured-thumb{border:2px solid transparent;padding:0;background:transparent;overflow:hidden;cursor:pointer;opacity:.65;transition:opacity .2s,border-color .2s}
.featured-thumb:hover,.featured-thumb.active{opacity:1}
.featured-thumb.active{border-color:var(--orange)}
.featured-thumb img{width:100%;aspect-ratio:4/3;object-fit:cover}
.featured-thumb:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.featured-gallery-caption{font-size:12px;color:var(--muted);margin-top:12px}

/* CONTACT */
.contact{background:var(--navy);color:white;padding:120px 0}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:12%}
.contact h2{font-family:var(--serif);font-size:clamp(38px,4.2vw,58px);line-height:1.15;margin-bottom:38px}
.contact p{color:#cdd6da}
.contact-form{display:grid;gap:20px}
.contact-form label{font-size:11px;letter-spacing:1px;text-transform:uppercase;color:#d5dfe3}
.contact-form input,.contact-form textarea{display:block;width:100%;margin-top:10px;padding:13px 0;color:white;background:transparent;border:0;border-bottom:1px solid #78909b;outline:none;border-radius:0}
.contact-form input:focus,.contact-form textarea:focus{border-color:var(--orange)}
.contact-form button{width:100%;background:white;color:var(--navy);border:0;padding:18px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:1px}
.contact-form button:hover{background:var(--orange);color:white}

/* ABOUT PAGE */
.about-hero{padding:120px 0 125px;background:var(--paper)}
.about-hero h1{max-width:950px;margin:35px 0 40px;font-family:var(--serif);font-size:clamp(54px,6.5vw,86px);line-height:1.07;letter-spacing:-2.5px}
.about-hero .dek{max-width:730px;font-size:21px;line-height:1.8}
.about-intro{padding:95px 0;border-bottom:1px solid var(--line)}
.about-intro-grid{display:grid;grid-template-columns:.65fr 1.35fr;gap:10%}
.about-intro p{font-size:20px;line-height:1.85}
.leader{padding:120px 0}
.leader + .leader{background:var(--paper);border-top:1px solid var(--line)}
.leader-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:9%;align-items:start}

/* PROFESSIONAL HEADSHOTS - RESERVED SPACE */
.leader-photo-group{width:50%;max-width:300px;display:flex;flex-direction:column;align-items:center;gap:20px}
.leader-headshot{
width:100%;
aspect-ratio:1/1;
border-radius:50%;
overflow:hidden;
background:white;
border:4px solid white;
box-shadow:0 10px 35px rgba(17,44,61,.12);
position:relative;
flex-shrink:0;
}
.leader-headshot img{
display:block;
width:100%;
height:100%;
aspect-ratio:1/1;
max-width:100%;
object-fit:cover;
object-position:center center;
position:relative;
left:auto;top:auto;transform:none;
}
.leader-linkedin{display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:700;letter-spacing:1.1px;text-transform:uppercase;color:var(--navy);border-bottom:1px solid var(--orange);padding-bottom:8px;transition:color .2s ease;white-space:nowrap}
.leader-linkedin:hover{color:var(--orange)}
.leader-linkedin svg{width:17px;height:17px;fill:currentColor}
.leader h2{font-family:var(--serif);font-size:clamp(36px,4vw,58px);margin:25px 0 35px}
.leader .bio{font-size:18px;line-height:1.85;margin-bottom:24px}
.leader .role{color:var(--orange);font-size:12px;letter-spacing:1.4px;font-weight:700;text-transform:uppercase}
.project-collection{margin-top:65px}
.project-collection h3{font-family:var(--serif);font-size:31px;margin-bottom:30px}
.project-collection details{border-bottom:1px solid var(--line)}
.project-collection details:first-of-type{border-top:1px solid var(--line)}
.project-collection summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0;list-style:none;cursor:pointer;font-size:17px;font-weight:600}
.project-collection summary::-webkit-details-marker{display:none}
.project-collection summary:after{content:"+";color:var(--orange);font-size:25px}
.project-collection details[open] summary:after{content:"−"}
.project-detail{padding:5px 0 35px}
.project-detail p{font-size:15px}
.project-meta{font-size:12px!important;color:var(--muted)}
.project-detail strong{color:var(--navy)}
.project-detail .project-photo{width:100%;height:280px;object-fit:cover;margin-bottom:10px;background:#e6e8e5}
.project-photo-credit{font-size:12px!important;line-height:1.6;color:var(--muted);margin-bottom:22px}

/* PROJECT GRAPHICS */
.project-photo-placeholder{position:relative;isolation:isolate;width:100%;min-height:260px;margin-bottom:25px;padding:30px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;background:var(--navy);color:white}
.project-photo-placeholder:before{content:"";position:absolute;inset:0;z-index:-2;background:repeating-linear-gradient(90deg,transparent 0 69px,rgba(255,255,255,.035) 70px 71px),repeating-linear-gradient(0deg,transparent 0 55px,rgba(255,255,255,.03) 56px 57px)}
.project-photo-placeholder:after{content:"";position:absolute;z-index:-1;right:-30px;top:15px;width:42%;height:85%;border:1px solid rgba(255,255,255,.075);transform:skewY(-15deg);opacity:.5;pointer-events:none}
.placeholder-top{font-size:11px;font-weight:700;letter-spacing:2px;color:#e6a085;text-transform:uppercase;position:relative;z-index:1}
.placeholder-bottom{font-family:var(--serif);font-size:clamp(26px,3vw,37px);line-height:1.15;letter-spacing:-.5px;color:white;position:relative;z-index:1}
.placeholder-bottom small{display:block;margin-top:12px;font-family:var(--sans);font-size:11px;font-weight:500;letter-spacing:1.5px;line-height:1.5;text-transform:uppercase;color:#bccdd4}
.about-bottom{padding:85px 0;background:var(--navy);color:white}
.about-bottom-grid{display:flex;justify-content:space-between;align-items:center;gap:35px}
.about-bottom h2{font-family:var(--serif);font-size:clamp(32px,3.7vw,52px);margin-bottom:0}

/* FOOTER */
footer{background:#0c2331;color:#c9d2d5;padding:60px 0 30px}
.footer-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:start;padding-bottom:55px}
.footer-logo{display:inline-block;margin-bottom:20px}
.footer-logo img{width:150px;height:auto;max-width:100%;object-fit:contain;filter:none!important}
.footer-nav{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:20px;font-size:13px}
.footer-nav a:hover{color:#e5a087}
.footer-bottom{border-top:1px solid #38505b;padding-top:25px;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#a9b9bf}

/* MOTION */
.reveal{opacity:0;transform:translateY(20px);transition:opacity .7s ease,transform .7s ease}
.reveal.visible{opacity:1;transform:translateY(0)}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}.service,.service-inner,.service-reveal,.service-icon{transition:none}html{scroll-behavior:auto}}

/* MOBILE */
@media(max-width:900px){
.wrap{width:min(100% - 44px,1320px)}
.nav{min-height:82px}
.brand img{height:82px;max-width:205px}
.menu-toggle{display:block}
.nav-links{display:none;position:absolute;top:100%;left:0;right:0;background:white;padding:28px 22px 35px;box-shadow:0 15px 25px rgba(0,0,0,.08);flex-direction:column;align-items:stretch;gap:25px}
.nav-links.open{display:flex}
.hero{height:auto;min-height:690px}
.hero-content{padding-bottom:70px}
.hero h1{letter-spacing:-1.5px}
.intro,.expertise,.projects{padding:80px 0}
.intro-grid,.expertise-heading,.contact-grid,.leader-grid,.about-intro-grid,.featured-grid{grid-template-columns:1fr;gap:35px}
.services{grid-template-columns:1fr 1fr;gap:16px}
.service{height:320px}
.service-front{padding:32px 27px}
.service-front h3{font-size:24px}
.service-front-main{top:80px;left:16px;right:16px;bottom:25px;gap:19px}
.service-icon{width:66px;height:66px}
.service-icon svg{width:60px;height:60px}
.service-back-content{padding:24px 25px}
.service-back p{font-size:13px}
.project-grid{grid-template-columns:1fr}
.project-card img{height:360px}
.projects-top{align-items:start;flex-direction:column}
.featured-current{padding:0 0 85px}
.featured-rule{margin-bottom:55px}
.contact{padding:85px 0}
.about-hero{padding:85px 0}
.about-intro{padding:75px 0}
.leader{padding:80px 0}
.leader-photo-group{width:50%;max-width:275px}
.about-bottom-grid{align-items:start;flex-direction:column}
.footer-grid{grid-template-columns:1fr}
.footer-nav{justify-content:flex-start}
}
@media(max-width:600px){
.services{grid-template-columns:1fr;gap:17px}
.service{height:300px}
.service-front{padding:35px}
.service-front h3{font-size:29px}
.service-front-main{top:78px;bottom:25px;gap:18px}
.service-icon{width:68px;height:68px}
.service-back-content{padding:30px}
.service-back p{font-size:15px}
.leader-photo-group{width:65%;max-width:250px}
}
@media(max-width:540px){
.wrap{width:calc(100% - 36px)}
.hero{min-height:630px}
.hero h1{font-size:clamp(43px,10vw,60px)}
.hero .lead{font-size:17px}
.section-title{font-size:38px}
.image-feature{min-height:450px}
.image-feature h2{font-size:43px}
.about-hero h1{font-size:50px}
.about-hero .dek{font-size:18px}
.contact h2{font-size:40px}
.project-card img{height:280px}
.featured-meta strong{font-size:14px}
.footer-bottom{flex-direction:column}
}

/* WordPress enhancements */
.admin-bar .site-header{z-index:99}.content-page{padding:105px 0 125px}.content-page h1{font-family:var(--serif);font-size:clamp(46px,5vw,76px)}.content-page .entry-content{max-width:850px;font-size:18px;line-height:1.8}.archive-top{background:var(--paper);padding:100px 0 85px}.archive-top h1{font:400 clamp(50px,6vw,76px)/1.1 var(--serif);margin:20px 0}.filters{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:45px}.filters a{border:1px solid var(--line);padding:11px 18px;font-size:13px}.filters a.active,.filters a:hover{background:var(--navy);color:white}.listing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px}.listing-card img{width:100%;aspect-ratio:4/3;object-fit:cover}.listing-card h2{font:400 27px var(--serif);margin:18px 0 10px}.listing-card .meta{font-size:12px;color:var(--muted)}.placeholder-image{aspect-ratio:4/3;background:var(--navy);color:white;display:grid;place-items:center;font-family:var(--serif);font-size:24px;padding:20px;text-align:center}.pagination{margin-top:45px}.pagination .page-numbers{margin-right:14px}.pagination .current{color:var(--orange)}.project-hero-image{width:100%;max-height:620px;object-fit:cover;margin:45px 0}.project-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:25px 0;margin:25px 0;border-block:1px solid var(--line)}.project-facts div span{display:block;color:var(--orange);font-size:11px;text-transform:uppercase;letter-spacing:1px;margin-bottom:9px}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:35px}.gallery-grid img{width:100%;aspect-ratio:4/3;object-fit:cover}.post-date{font-size:12px;letter-spacing:1px;color:var(--orange)}.about-layout-editorial .leader-grid{grid-template-columns:1fr 1fr}.about-layout-editorial .leader-photo-group{width:65%}.about-layout-portrait .leader-grid{grid-template-columns:.95fr 1.05fr}.about-layout-portrait .leader-photo-group{width:90%;max-width:440px}.about-layout-portrait .leader-headshot{border-radius:4px;aspect-ratio:4/5}.about-layout-portrait .leader-headshot img{aspect-ratio:4/5}.about-layout-portrait .leader:nth-of-type(odd) .leader-grid{direction:rtl}.about-layout-portrait .leader:nth-of-type(odd) .leader-grid>*{direction:ltr}.site-header .nav-links a[aria-current=page]{color:var(--orange)}.contact-message{margin-top:12px;font-size:14px}.screen-reader-text{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden} @media(max-width:900px){.listing-grid{grid-template-columns:1fr 1fr}.about-layout-editorial .leader-grid,.about-layout-portrait .leader-grid{grid-template-columns:1fr}.about-layout-portrait .leader:nth-of-type(odd) .leader-grid{direction:ltr}}@media(max-width:600px){.listing-grid,.project-facts,.gallery-grid{grid-template-columns:1fr}}

/* Editable biographies preserve original paragraph spacing */
.leader-bio p{font-size:18px;line-height:1.85;margin-bottom:24px}

.ramcon-hp{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}
.contact-message{color:#fff;font-size:15px;line-height:1.5;margin:0}

/* v1.3 WordPress-managed header and footer menus */
.nav-links .ramcon-menu,.footer-nav .ramcon-menu{display:flex;align-items:center;gap:32px;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.nav-links .ramcon-menu li,.footer-nav .ramcon-menu li{list-style:none;margin:0;padding:0}
.nav-links .ramcon-menu a{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.7px;transition:color .2s}
.nav-links .ramcon-menu a:hover,.nav-links .ramcon-menu .current-menu-item>a{color:var(--orange)}
.nav-links .ramcon-menu .menu-item-cta>a{padding:13px 18px;border:1px solid var(--navy)}
.nav-links .ramcon-menu .menu-item-cta>a:hover{background:var(--navy);color:white}
.footer-nav .ramcon-menu{gap:20px;justify-content:flex-end}
.footer-nav .ramcon-menu a{font-size:13px}
.nav-links .sub-menu{list-style:none;position:absolute;background:white;box-shadow:0 10px 18px rgba(0,0,0,.12);padding:14px;display:none;min-width:175px}
.nav-links li:hover>.sub-menu,.nav-links li:focus-within>.sub-menu{display:block}
.nav-links li.menu-item-has-children{position:relative}
.nav-links .sub-menu li{padding:8px 0}
.ramcon-template-flexible .entry-content{max-width:none}
.ramcon-template-photo .ramcon-photo-hero{position:relative;background:var(--navy);color:white;min-height:420px;display:flex;align-items:flex-end;background-size:cover;background-position:center}
.ramcon-template-photo .ramcon-photo-hero.has-photo:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,26,37,.78),rgba(8,26,37,.25))}
.ramcon-photo-hero-content{position:relative;padding:100px 0 80px}
.ramcon-photo-hero h1{font:400 clamp(48px,6vw,80px)/1.08 var(--serif);margin:25px 0}
.ramcon-photo-hero .lead{font-size:19px;max-width:720px}
.ramcon-template-flexible .entry-content .wp-block-columns{gap:45px}
@media(max-width:900px){.nav-links .ramcon-menu{display:flex;align-items:stretch;flex-direction:column;gap:25px;width:100%;flex-wrap:nowrap}.nav-links .sub-menu{display:block;position:static;box-shadow:none;padding:8px 0 0 20px}.footer-nav .ramcon-menu{justify-content:flex-start}}

/* Contact form: in-place feedback and editable confirmation text (v1.4) */
.contact-message{display:none;margin:0;padding:23px 25px;border-radius:4px;line-height:1.65;font-size:17px;color:#fff}
.contact-message.is-visible{display:block}
.contact-message.is-success{background:#214557;border:1px solid #98c1b9;border-left:5px solid #b9d7c6}
.contact-message.is-error{background:#512e2c;border:1px solid #d1a5a0;border-left:5px solid #e6b7b0}
.contact-message h3{font-family:var(--serif);font-size:clamp(27px,2.7vw,38px);line-height:1.2;color:#fff;margin:0 0 14px}
.contact-message p{font-size:17px;line-height:1.7;color:#fff;margin:0}
.contact-form.is-complete>label,.contact-form.is-complete>button,.contact-form.is-complete>.ramcon-hp{display:none}
.contact-form.is-complete{align-content:start}
.contact-form button.is-sending{opacity:.75;cursor:progress}
.contact-form .contact-message:focus{outline:2px solid #e5a087;outline-offset:4px}

/* v1.5 configurable form fields */
.contact-form select{display:block;width:100%;margin-top:10px;padding:13px 0;color:white;background:var(--navy);border:0;border-bottom:1px solid #78909b;border-radius:0;font:inherit;outline:none}
.contact-form select:focus{border-color:var(--orange)}.contact-form .ramcon-required{color:#e5a087;font-size:15px}.contact-form input,.contact-form textarea{font-size:16px}
