/*
Theme Name: Robblee Modern
Theme URI: https://therobbleegroup.com/
Author: The Robblee Group
Description: A warm, accessible WordPress theme for The Robblee Group.
Version: 1.2.0
Text Domain: robblee-modern
*/

:root {
	--ink: #17231f;
	--forest: #203d32;
	--forest-deep: #142a23;
	--sage: #dce5d8;
	--paper: #f7f5ef;
	--cream: #efe9dc;
	--clay: #b96f4b;
	--line: rgba(23, 35, 31, .14);
	--muted: #5e6b64;
	--white: #fff;
	--serif: Georgia, "Times New Roman", serif;
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #d88c5e; outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 20; padding: .7rem 1rem; color: var(--white); background: var(--forest); }
.skip-link:focus { top: 1rem; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; color: var(--white); }
.header-inner { width: min(1200px, calc(100% - 3rem)); min-height: 86px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid rgba(255,255,255,.25); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: 0 0 auto; }
.brand-name { display: block; font-family: var(--serif); font-size: 1.18rem; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.brand-tagline { display: block; margin-top: .25rem; color: rgba(255,255,255,.75); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.4rem); }
.main-nav a { color: var(--white); font-size: .86rem; text-decoration: none; }
.main-nav a:hover { color: #e4bd9c; }
.main-nav .nav-cta { padding: .7rem 1rem; border: 1px solid rgba(255,255,255,.65); border-radius: 2px; }
.menu-toggle { display: none; border: 1px solid rgba(255,255,255,.55); border-radius: 2px; padding: .5rem .7rem; color: var(--white); background: transparent; font: inherit; }

.hero { position: relative; min-height: 760px; min-height: min(840px, 100svh); display: flex; align-items: center; overflow: hidden; color: var(--white); background: var(--forest-deep) url("assets/willamette-home.jpg") center 52% / cover no-repeat; }
.hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(13, 30, 24, .88) 0%, rgba(16, 35, 28, .69) 39%, rgba(16, 35, 28, .13) 100%), linear-gradient(0deg, rgba(11, 24, 19, .5), transparent 33%); }
.hero-inner { position: relative; z-index: 1; width: min(1200px, calc(100% - 3rem)); margin: 6rem auto 0; padding: 5rem 0 7rem; }
.eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.2rem; color: #e4bd9c; font-size: .74rem; font-weight: 700; letter-spacing: .17em; line-height: 1.3; text-transform: uppercase; }
.eyebrow::before { width: 34px; height: 1px; content: ""; background: currentColor; }
.hero h1 { max-width: 740px; margin: 0; font-family: var(--serif); font-size: clamp(3.5rem, 7.5vw, 6.7rem); font-weight: 400; letter-spacing: -.055em; line-height: .99; }
.hero-copy { max-width: 550px; margin: 1.5rem 0 2rem; color: rgba(255,255,255,.86); font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: .8rem 1.25rem; border: 1px solid transparent; border-radius: 2px; font-size: .87rem; font-weight: 700; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--clay); }
.button-primary:hover { background: #a75e3c; }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.04); }
.button-ghost:hover { background: rgba(255,255,255,.12); }
.hero-note { position: absolute; right: max(1.5rem, calc((100vw - 1200px) / 2)); bottom: 2rem; z-index: 1; color: rgba(255,255,255,.72); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }

.section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.container { width: min(1200px, calc(100% - 3rem)); margin-inline: auto; }
.section-kicker { margin: 0 0 .8rem; color: var(--clay); font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section h2 { max-width: 780px; margin: 0; font-family: var(--serif); font-size: clamp(2.45rem, 4.6vw, 4.25rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.07; }
.section-lead { max-width: 660px; margin: 1.25rem 0 0; color: var(--muted); font-size: 1.08rem; }
.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(2rem, 8vw, 8rem); align-items: start; }
.intro-copy { padding-top: .5rem; }
.intro-copy p { margin: 0 0 1rem; color: var(--muted); }
.intro-quote { padding: 1.6rem 0 1.6rem 1.6rem; border-left: 2px solid var(--clay); font-family: var(--serif); font-size: clamp(1.55rem, 2.8vw, 2.35rem); line-height: 1.22; }
.intro-quote strong { color: var(--forest); font-weight: 400; }

.services { color: var(--white); background: var(--forest); }
.services .section-kicker { color: #e4bd9c; }
.services .section-lead { color: rgba(255,255,255,.72); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 3.2rem; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.22); }
.service-card { min-height: 310px; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--forest); }
.service-number { color: #e4bd9c; font-family: var(--serif); font-size: 1.15rem; }
.service-card h3 { margin: 2.8rem 0 .75rem; font-family: var(--serif); font-size: 1.7rem; font-weight: 400; letter-spacing: -.02em; }
.service-card p { max-width: 330px; margin: 0; color: rgba(255,255,255,.72); font-size: .95rem; }

.local { background: var(--cream); }
.local-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2.5rem, 8vw, 8rem); }
.local-panel { position: relative; min-height: 410px; padding: clamp(2rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: var(--white); background: var(--forest-deep); }
.local-panel::before, .local-panel::after { position: absolute; content: ""; border: 1px solid rgba(229, 193, 160, .35); border-radius: 50%; }
.local-panel::before { width: 390px; height: 390px; top: -100px; right: -60px; }
.local-panel::after { width: 290px; height: 290px; top: -50px; right: -10px; }
.local-panel-label { position: relative; color: #e4bd9c; font-size: .73rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.local-panel h3 { position: relative; max-width: 400px; margin: .8rem 0 1rem; font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 400; line-height: 1.05; }
.local-panel p { position: relative; max-width: 400px; margin: 0; color: rgba(255,255,255,.75); }
.local-copy h2 { margin-bottom: 1.2rem; }
.local-copy > p { color: var(--muted); }
.local-list { margin: 1.6rem 0 0; padding: 0; list-style: none; }
.local-list li { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.local-list li::before { margin-right: .7rem; color: var(--clay); content: "↗"; }

.approach { background: var(--paper); }
.approach-top { display: flex; align-items: end; justify-content: space-between; gap: 3rem; }
.approach-top .section-lead { max-width: 420px; margin-bottom: .35rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; }
.step { padding-top: 1.3rem; border-top: 1px solid var(--line); }
.step span { color: var(--clay); font-family: var(--serif); font-size: 1.15rem; }
.step h3 { margin: 1.3rem 0 .45rem; font-family: var(--serif); font-size: 1.65rem; font-weight: 400; }
.step p { max-width: 330px; margin: 0; color: var(--muted); font-size: .95rem; }

.community { padding: 0 0 clamp(4rem, 8vw, 7.5rem); background: var(--paper); }
.community-card { display: grid; grid-template-columns: 1fr .9fr; overflow: hidden; color: var(--white); background: var(--clay); }
.community-copy { padding: clamp(2rem, 5vw, 4rem); }
.community .section-kicker { color: #f6dfcc; }
.community h2 { max-width: 520px; font-size: clamp(2.4rem, 4vw, 3.7rem); }
.community-copy p { max-width: 510px; color: rgba(255,255,255,.86); }
.community-aside { display: flex; align-items: end; padding: clamp(2rem, 5vw, 4rem); background: linear-gradient(140deg, rgba(32,61,50,.92), rgba(20,42,35,.97)); }
.community-aside p { max-width: 350px; margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.2; }

.contact { color: var(--white); background: var(--forest-deep); }
.contact .section-kicker { color: #e4bd9c; }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2.5rem, 8vw, 8rem); align-items: start; }
.contact-copy p { max-width: 420px; color: rgba(255,255,255,.74); }
.contact-aside { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.68); font-size: .86rem; }
.contact-form-wrap { padding: clamp(1.4rem, 3.5vw, 2.6rem); color: var(--ink); background: var(--paper); }
.contact-form-wrap .wpcf7 form { margin: 0; }
.contact-form-wrap .wpcf7 p { margin: 0 0 1rem; }
.contact-form-wrap .wpcf7 label { display: block; margin: 0 0 .45rem; color: var(--forest); font-size: .84rem; font-weight: 700; }
.contact-form-wrap .wpcf7 input:not([type="submit"]), .contact-form-wrap .wpcf7 textarea { width: 100%; margin-top: .4rem; padding: .8rem .9rem; border: 1px solid #c9cec7; border-radius: 2px; background: #fff; color: var(--ink); font: inherit; }
.contact-form-wrap .wpcf7 textarea { min-height: 130px; resize: vertical; }
.contact-form-wrap .wpcf7 input[type="submit"] { min-height: 48px; padding: .75rem 1.3rem; border: 0; border-radius: 2px; color: var(--white); background: var(--clay); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; }
.contact-form-wrap .wpcf7 input[type="submit"]:hover { background: #a75e3c; }
.contact-form-wrap .wpcf7 .wpcf7-not-valid-tip { color: #a33824; font-size: .8rem; }
.contact-form-wrap .wpcf7 .wpcf7-response-output { margin: 1rem 0 0; padding: .8rem; border-color: var(--forest); }

.site-footer { padding: 1.7rem 0; color: rgba(255,255,255,.68); background: #10221c; font-size: .8rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-brand { color: var(--white); font-family: var(--serif); font-size: 1rem; }
.site-footer p { margin: 0; }

.team { background: var(--cream); }
.team-heading { display: grid; grid-template-columns: 1fr .72fr; align-items: end; gap: 3rem; }
.team-heading .section-lead { margin: 0 0 .35rem; }
.team-story { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; gap: clamp(2rem, 6vw, 5rem); margin-top: 3rem; }
.team-group-photo { display: block; width: 100%; height: 100%; min-height: 390px; object-fit: cover; object-position: center 42%; }
.team-story-copy { padding: clamp(1.8rem, 4vw, 3rem); background: var(--paper); }
.team-story-copy h3 { max-width: 480px; margin: 0; font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.08; }
.team-story-copy > p:not(.section-kicker) { color: var(--muted); }
.office-card { display: grid; grid-template-columns: minmax(130px, .8fr) 1fr; align-items: center; gap: 1.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.office-logo { display: block; width: 100%; max-width: 210px; height: auto; }
.office-card strong { display: block; color: var(--forest); font-size: .82rem; }
.office-card address { margin-top: .35rem; color: var(--muted); font-size: .88rem; font-style: normal; line-height: 1.5; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 3.5rem; }
.team-card { min-width: 0; background: var(--paper); }
.team-portrait { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 38%; }
.team-card-body { padding: clamp(1.2rem, 2.4vw, 1.8rem); }
.team-card h3 { margin: 0; font-family: var(--serif); font-size: 1.8rem; font-weight: 400; letter-spacing: -.025em; line-height: 1.1; }
.team-role { margin: .45rem 0 1rem; color: var(--clay); font-size: .72rem; font-weight: 800; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.team-contact-links { display: grid; gap: .35rem; font-size: .88rem; overflow-wrap: anywhere; }
.team-contact-links a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.team-license-list { margin: 1rem 0 0; padding: .8rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.team-license-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem .8rem; padding: .25rem 0; color: var(--muted); font-size: .78rem; }
.team-license-list strong { color: var(--ink); font-weight: 700; }

@media (max-width: 820px) {
	.header-inner { width: min(100% - 2rem, 1200px); min-height: 74px; gap: 1rem; }
	.brand-mark { width: 33px; height: 33px; }
	.menu-toggle { display: inline-flex; align-items: center; gap: .5rem; }
	.main-nav { position: absolute; top: 73px; left: 0; right: 0; display: none; padding: 1rem; flex-direction: column; align-items: stretch; gap: 0; background: var(--forest-deep); }
	.main-nav.is-open { display: flex; }
	.main-nav a { padding: .75rem .25rem; font-size: .9rem; }
	.main-nav .nav-cta { margin-top: .3rem; padding: .7rem; text-align: center; }
	.hero { min-height: 700px; min-height: min(780px, 100svh); background-position: 59% center; }
	.hero-inner, .container { width: min(100% - 2rem, 1200px); }
	.intro-grid, .local-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
	.local-panel { min-height: 330px; }
	.approach-top { display: block; }
	.approach-top .section-lead { max-width: 620px; }
	.team-heading, .team-story { grid-template-columns: 1fr; gap: 2rem; }
	.team-group-photo { min-height: 0; aspect-ratio: 1.3; }
	.team-grid { gap: .8rem; }
	.team-card-body { padding: 1.1rem; }
	.team-card h3 { font-size: 1.5rem; }
}
@media (max-width: 600px) {
	.header-inner { align-items: center; }
	.brand-name { font-size: 1.04rem; }
	.brand-tagline { font-size: .58rem; }
	.hero { min-height: 700px; min-height: 92svh; background-position: 61% center; }
	.hero::before { background: linear-gradient(90deg, rgba(13,30,24,.83), rgba(16,35,28,.35)), linear-gradient(0deg, rgba(11,24,19,.58), transparent 45%); }
	.hero-inner { margin-top: 4rem; padding: 4rem 0 6.5rem; }
	.hero h1 { max-width: 520px; font-size: clamp(3.4rem, 15vw, 5.2rem); }
	.hero-copy { max-width: 440px; }
	.hero-note { right: 1rem; bottom: 1.2rem; font-size: .62rem; }
	.button-row { align-items: stretch; flex-direction: column; max-width: 300px; }
	.button { width: 100%; }
	.service-grid, .steps, .community-card { grid-template-columns: 1fr; }
	.service-card { min-height: auto; }
	.service-card h3 { margin-top: 1.5rem; }
	.community-aside { min-height: 220px; }
	.footer-inner { align-items: flex-start; flex-direction: column; }
	.team-grid { grid-template-columns: 1fr; gap: 1rem; }
	.team-card { display: grid; grid-template-columns: minmax(110px, .72fr) 1fr; align-items: start; }
	.team-portrait { height: 100%; min-height: 230px; aspect-ratio: auto; }
	.team-card-body { padding: 1rem; }
	.team-card h3 { font-size: 1.45rem; }
	.team-role { font-size: .65rem; }
	.team-contact-links { font-size: .78rem; }
	.team-license-list li { display: block; font-size: .72rem; }
	.team-license-list strong { display: block; }
	.office-card { grid-template-columns: 1fr; gap: 1rem; }
	.office-logo { max-width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; }
}

@media (max-width: 820px) {
	.menu-toggle { display: inline-flex; align-items: center; gap: .5rem; }
	.main-nav { position: absolute; top: 73px; left: 0; right: 0; display: none; padding: 1rem; flex-direction: column; align-items: stretch; gap: 0; background: var(--forest-deep); }
	.main-nav.is-open { display: flex; }
	.main-nav a { padding: .75rem .25rem; font-size: .9rem; }
	.main-nav .nav-cta { margin-top: .3rem; padding: .7rem; text-align: center; }
}

@media (max-width: 1100px) {
	.menu-toggle { display: inline-flex; align-items: center; gap: .5rem; }
	.main-nav { position: absolute; top: 73px; left: 0; right: 0; display: none; padding: 1rem; flex-direction: column; align-items: stretch; gap: 0; background: var(--forest-deep); }
	.main-nav.is-open { display: flex; }
	.main-nav a { padding: .75rem .25rem; font-size: .9rem; }
	.main-nav .nav-cta { margin-top: .3rem; padding: .7rem; text-align: center; }
}
