@charset "UTF-8";
/*
Theme Name: Moriken Set Modern
Theme URI: https://morikensetu.stars.ne.jp/
Description: 森建設株式会社のWordPressサイトを、信頼感と見やすさを両立したモダンで動的なコーポレートデザインへ作り替えるテーマ。施工実績・会社情報・お知らせ・問い合わせ導線を優先構成にしています。
Version: 1.2.10
Author: Hermes Agent
Author URI: https://hermes-agent.nousresearch.com/
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: moriken-set-modern
Tags: corporate, construction, responsive, accessibility, japanese
*/

:root {
  --color-bg: #07130f;
  --color-surface: rgba(255, 255, 255, 0.86);
  --color-surface-solid: #ffffff;
  --color-surface-muted: rgba(255, 255, 255, 0.72);
  --color-ink: #f4fff3;
  --color-text: rgba(244, 255, 243, 0.82);
  --color-text-dark: #0f3d2e;
  --color-text-muted-dark: rgba(15, 61, 46, 0.78);
  --color-border: rgba(255, 255, 255, 0.16);
  --color-primary: #d7ff4a;
  --color-primary-2: #00e5ff;
  --color-accent: #c8a66b;
  --color-danger: #ff6f61;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.18);
  --shadow-md: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 12%, rgba(215, 255, 74, 0.16), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(0, 229, 255, 0.16), transparent 34%),
    linear-gradient(135deg, #07130f 0%, #0b1d17 48%, #07130f 100%);
  color: var(--color-ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Meiryo", "Yu Gothic", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.22em; }
a:hover, a:focus-visible { color: var(--color-primary); }

button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

::selection { background: rgba(15, 61, 46, 0.18); }

.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  transform: translateY(-140%);
  background: var(--color-primary);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
}

.skip-link:focus { transform: translateY(0); }

.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 244, 237, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--color-border);
}

.top-strip {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-block: 5px;
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid var(--color-border);
}

.top-strip__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color:#0f3d2e;
  font-size: 0.875rem;
}

.top-strip a, .top-strip span { text-decoration: none; }
.top-strip a:hover { color: var(--color-primary); }

.primary-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color:#0f3d2e; /* dark green — NOT var(--color-ink) which is light on white header */
  text-decoration: none;
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(200, 166, 107, 0.9), rgba(200, 166, 107, 0.4)),
    var(--color-primary);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.38);
}

.brand__text { display: grid; gap: 1px; line-height: 1.2; }
.brand__name { font-weight: 800; letter-spacing: 0.04em; color:#0f3d2e; } /* dark green */
.brand__tagline { color: rgba(15,61,46,.78); font-size: 0.78rem; white-space: nowrap; }

/* Display layer order (z-index):
   .skip-link:    z-9999 — topmost overlay
   .site-header:  z-1000 — sticky header above all content
   .hero:         isolation(isolate) — creates stacking context for hero grid/floorplan
   sidebar:       position(sticky, no z-index needed — scrolls with content)
*/


.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--color-border); background: #fff; border-radius: 999px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 18px; height: 2px; background: var(--color-primary); border-radius: 999px; transition: transform .2s ease, opacity .2s ease; }

.primary-navigation ul {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0 4px 4px 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.primary-navigation ul::-webkit-scrollbar { display: none; }

.primary-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  color:#0f3d2e;
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
}

.primary-navigation a:hover, .primary-navigation a:focus-visible { background: rgba(15, 61, 46, 0.08); color: var(--color-primary); outline: none; }

.site-search form { display: flex; align-items: center; gap: 6px; width: min(230px, 32vw); }
.site-search input { width: 100%; border: 1px solid var(--color-border); background: #fff; color:#0f3d2e; padding: 9px 12px; border-radius: 999px; outline: none; }
.site-search button { border: 0; background:#0f3d2e; color:#fff; padding: 8px 13px; border-radius: 999px; font-weight: 700; }

.hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(120deg, rgba(15, 61, 46, .97), rgba(23, 90, 67, .94)), url("https://morikensetu.stars.ne.jp/wp-content/uploads/2024/06/07-700x467.jpg") center / cover no-repeat; }

.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 44px 44px; opacity: .18; z-index: -1; }

.hero__inner { min-height: clamp(520px, 72vh, 760px); display: grid; align-items: center; padding-block: clamp(72px, 9vw, 120px); color: #fff; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 7vw, 80px); align-items: end; }

.eyebrow { margin: 0 0 14px; color: #d9cfae; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; }
.hero h1 { margin: 0; font-size: clamp(2.5rem, 7vw, 5.4rem); line-height: 1.03; letter-spacing: -.04em; max-width: 760px; }
.hero__lead { margin: 24px 0 0; color:rgba(255,255,255,.94); font-size: clamp(1rem, 1.8vw, 1.25rem); max-width: 760px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; text-decoration: none; font-weight: 800; transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-1px); }
.read-more { color: var(--color-primary-2); font-weight: 900; text-decoration: none; }
.btn--primary { background:#0f3d2e; color:#fff; box-shadow: 0 12px 30px rgba(0,0,0,.16); }
.btn--ghost { border: 1px solid rgba(255,255,255,.48); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }

.hero-card {
  align-self: stretch;
  display: grid;
  gap: 16px;
}

.info-panel {
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.12);
  color: #fff;
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.info-panel h2 { margin: 0 0 14px; font-size: 1.1rem; letter-spacing: .06em; }
.info-list { display: grid; gap: 8px; margin: 0; color: rgba(255,255,255,.88); font-size: .95rem; }
.info-list strong { display: block; color: #fff; font-weight: 800; }

.section { padding-block: clamp(64px, 9vw, 110px); }
.compact-list { padding-block: clamp(32px, 5vw, 56px); }
.section--light { background: #ffffff; color:#0f3d2e; border-block: 1px solid var(--color-border); }

.section__header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.kicker { color: var(--color-primary-2); font-weight: 900; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; }
/* Text color brightness fixes (lighter colors for readability) */
.section--light .kicker, .section--light > .kicker { color:#2d6b58; } /* brighter than #0f3d2e */
.section h2 { margin: 6px 0 0; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.15; letter-spacing: -.03em; }
.section--light .section h2 { color:#1a5c47; } /* brighter for light bg readability */
.section__intro { max-width: 620px; color:var(--color-text-muted-dark); margin: 0; }

.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.section--light a:not(.btn) { color:#1a5c47; text-decoration-thickness:.08em; } /* lighter green */
.section--light .intro-copy p { color:var(--color-text-muted-dark); font-size: 1.04rem; }
.section--light .btn--ghost { color:#1a5c47; border-color:rgba(15,61,46,.22); background:rgba(255,255,255,.72); } /* lighter green */
.intro-copy p { margin: 0 0 16px; color: rgba(15,61,46,.78); font-size: 1.04rem; } /* dark text for light bg */

.intro-points { display: grid; gap: 12px; margin-top: 28px; }
.point { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--color-border); background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.point__num { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(15,61,46,.08); color: var(--color-primary); font-weight: 900; }
.point strong { display: block; margin-bottom: 2px; color:#1a5c47; } /* lighter green for better readability */

.company-info-panel { padding-block: clamp(34px, 5vw, 56px); }
.company-info-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin-top: 24px; color:#1a5c47; font-size: .95rem; } /* lighter green */
.company-info-list div { border-top: 1px solid rgba(15,61,46,.10); padding-top: 14px; }
.company-info-list dt { margin-bottom: 4px; color:#2d6b58; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; } /* lighter green, not cyan */
.company-info-list dd { margin: 0; color: rgba(15,61,46,.86); line-height: 1.7; }

.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.project-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.project-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-surface-muted); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.project-card:hover img { transform: scale(1.035); }
.project-card__body { padding: 20px; display: grid; gap: 12px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: rgba(15,61,46,.7); font-size: .84rem; } /* visible on white cards */
.post-list .meta-row { color: rgba(15,61,46,.78); }
.pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 9px; border-radius: 999px; background: rgba(15,61,46,.07); color:#2d6b58; font-weight: 800; } /* lighter green */
.post-list .pill { color:#1a5c47; } /* visible on white bg */
.project-card h3 { margin: 0; line-height: 1.35; font-size: 1.1rem; letter-spacing: -.01em; color:#0f3d2e; } /* dark text on white cards */
.project-card p { margin: 0; color: rgba(15,61,46,.78); } /* dark text for light bg — NOT var(--color-text) which is light */

.news-list { display: grid; gap: 12px; }
.news-item { display: grid; grid-template-columns: minmax(130px, .45fr) 1fr auto; gap: 18px; align-items: center; padding: 18px; border: 1px solid var(--color-border); background: #fff; border-radius: var(--radius-md); }
.news-item__date { color: #2d6b58; font-weight: 900; text-align: right; line-height: 1.35; } /* lighter green for light bg */
.news-item h3 { margin: 0; font-size: 1.08rem; line-height: 1.45; color:#1a5c47; } /* visible on white bg */
.news-item a { color:#2d6b58; font-weight: 900; text-decoration: none; white-space: nowrap; } /* green, not cyan */

.cta-band { background: linear-gradient(135deg, var(--color-primary), #174f3b); color: #fff; border-radius: clamp(28px, 6vw, 48px); padding: clamp(30px, 6vw, 58px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; box-shadow: var(--shadow-md); overflow: hidden; position: relative; }
.cta-band::after { content: ""; position: absolute; right: -90px; top: -130px; width: 360px; height: 360px; border-radius: 50%; background: rgba(200,166,107,.18); }
.cta-band h2 { position: relative; margin: 0 0 10px; font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1.15; letter-spacing: -.03em; color:#fff; } /* solid white */
.cta-band p { position: relative; max-width: 720px; margin: 0; color:#fff; font-size: 1.06rem; } /* solid white */

.footer-grid { display: grid; grid-template-columns: minmax(220px, .9fr) repeat(2, minmax(160px, .5fr)); gap: 34px; align-items: start; }
.footer-brand h2 { margin: 0 0 10px; color: #fff; font-size: 1.2rem; letter-spacing: .08em; }
.site-footer { background: radial-gradient(circle at top left, rgba(215, 255, 74, .12), transparent 34%), #07130f; color:#f4fff3; padding-block: 42px; }
.footer-brand p { margin: 0; max-width: 360px; color:rgba(244, 255, 243, .86); }
.footer-nav a { text-decoration: none; color:rgba(244, 255, 243, .86); transition: color .18s ease; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 34px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; color:rgba(244, 255, 243, .78); font-size: .88rem; }

.archive-header { background: #fff; border-bottom: 1px solid var(--color-border); padding-block: clamp(40px, 7vw, 76px); color:#1a5c47; } /* solid white */
.archive-title h1 { margin: 0; color: #1a5c47; font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.08; letter-spacing: -.04em; } /* lighter green */
.archive-title p { max-width: 760px; margin: 16px 0 0; color: rgba(15,61,46,.82); font-size: 1.05rem; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.main-column { min-width: 0; }
.post-list { display: grid; gap: 16px; }
.post-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow-sm); }
.post-card h2 { margin-top: 18px; margin-bottom: 0; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.25; letter-spacing: -.03em; color:#1a5c47; } /* lighter green */
.post-card p { color: rgba(15,61,46,.78); } /* dark text for white card bg — NOT var(--color-text) which is light */
.post-card__media { display:block; overflow:hidden; border-radius: calc(var(--radius-lg) - 6px); background: rgba(7,19,15,.86); box-shadow: inset 0 0 0 1px rgba(244,255,243,.06); }
.post-card__media img { display:block; width:100%; height:clamp(190px, 26vw, 270px); object-fit:cover; transition: transform .35s ease, filter .35s ease; }
.post-card__media:hover img { transform: scale(1.04); filter:saturate(1.08) contrast(1.03); }

.sidebar { position: sticky; top: 96px; display: grid; gap: 18px; align-self: start; }
.widget { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-sm); }
.widget h3 { margin: 0 0 14px; font-size: 1rem; color:#2d6b58; letter-spacing: .08em; text-transform: uppercase; } /* lighter green, not cyan */
.widget ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.widget a { text-decoration: none; color:#2d6b58; font-weight: 600; } /* visible green on white */

.article-header { background: #fff; border-bottom: 1px solid var(--color-border); padding-block: clamp(36px, 7vw, 70px); }
.article-content { display: grid; gap: 24px; font-size: 1.08rem; color: rgba(15,61,46,.85); } /* dark text for white bg */
.article-content h2, .article-content h3 { color: #0f3d2e; line-height: 1.35; letter-spacing: -.02em; } /* dark green on white — NOT var(--color-ink) which is light */
.article-content p { margin-block: 1em; }

.search-results { display: grid; gap: 16px; }
.search-result { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.search-result h2 { margin: 8px 0 0; font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.35; letter-spacing: -.02em; color:#1a5c47; } /* lighter green */

.error-box { background: #fff; border: 1px solid rgba(159,58,47,.22); color: rgba(15,61,46,.85); padding: clamp(28px, 6vw, 56px); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.error-box h1 { margin: 0; color: var(--color-danger); font-size: clamp(2rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.04em; }



/* Dynamic cool effects */
[data-tilt] { will-change: transform; }
.project-card, .post-card, .search-result, .news-item, .point, .info-panel { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease; }
.project-card:hover, .project-card:focus-within, .post-card:hover, .search-result:hover, .news-item:hover, .point:hover, .info-panel:hover { transform: translateY(-4px); border-color: rgba(215, 255, 74, 0.36); box-shadow: var(--shadow-md); }
.project-card__media img { transition: transform .35s ease; }
.project-card:hover img { transform: scale(1.045) rotate(.4deg); }

.hero-card { animation: floatCard 7s ease-in-out infinite; }
.info-panel { background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.14)); border-color: rgba(255,255,255,.3); } /* slightly more opaque for readability */
.info-panel__title { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.2; letter-spacing: -.03em; }
.info-panel__title::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--color-primary-2); box-shadow: 0 0 28px rgba(0, 229, 255, .7); }
.info-list { display: grid; gap: 10px; margin: 0; color: rgba(255,255,255,.86); font-size: .95rem; }
.info-list strong { display: block; color: #fff; font-weight: 900; }

.section__header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.kicker { color: var(--color-primary-2); font-weight: 900; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; }
.section h2 { margin: 6px 0 0; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.15; letter-spacing: -.03em; color: var(--color-ink); }
.section__intro { max-width: 620px; color:var(--color-text-muted-dark); margin: 0; }

.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.intro-copy p { margin: 0 0 16px; color: rgba(15,61,46,.82); font-size: 1.04rem; } /* dark text for light bg */
.intro-points { display: grid; gap: 12px; margin-top: 28px; }
.point { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--color-border); background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.point__num { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(215, 255, 74, .16); color: var(--color-primary); font-weight: 900; }
.point strong { display: block; margin-bottom: 2px; color:#1a5c47; } /* lighter green */

.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.project-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease; }
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.project-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #f0f0f0; } /* neutral gray placeholder */
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.project-card:hover img { transform: scale(1.035) rotate(.4deg); }
.project-card__body { padding: 20px; display: grid; gap: 12px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: rgba(15,61,46,.7); font-size: .84rem; } /* visible on white cards */
.post-list .meta-row { color: rgba(15,61,46,.78); }
.pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 9px; border-radius: 999px; background: rgba(15,61,46,.07); color:#2d6b58; font-weight: 800; } /* lighter green */
.post-list .pill { color:#1a5c47; } /* visible on white bg */
.project-card h3 { margin: 0; line-height: 1.35; font-size: 1.1rem; letter-spacing: -.01em; color:#0f3d2e; } /* dark text on white cards */
.project-card p { margin: 0; color: rgba(15,61,46,.78); } /* dark text for light bg — NOT var(--color-text) */
.section--light .project-card h3, .section--light .project-card p { color:#1a5c47; } /* brighter green */
.section--light .project-card p { color:rgba(15,61,46,.78); }

.news-list { display: grid; gap: 12px; }
.news-item { display: grid; grid-template-columns: minmax(130px, .45fr) 1fr auto; gap: 18px; align-items: center; padding: 18px; border: 1px solid var(--color-border); background: #fff; border-radius: var(--radius-md); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.news-item__date { color: #2d6b58; font-weight: 900; text-align: right; line-height: 1.35; } /* lighter green */
.news-item__thumb { display:block; overflow:hidden; margin-top: 4px; border-radius: var(--radius-md); background: rgba(7,19,15,.86); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.news-item__thumb img { display:block; width:100%; aspect-ratio: 4 / 3; object-fit:cover; transition: transform .35s ease; }
.news-item:hover img { transform: scale(1.035); }
.news-item h3 { margin: 8px 0 0; font-size: 1.08rem; line-height: 1.45; color:#1a5c47; } /* lighter green */
.news-item a { color:#2d6b58; font-weight: 900; text-decoration: none; white-space: nowrap; } /* brighter green for links */

.cta-band { background: linear-gradient(135deg, var(--color-primary), #174f3b); color: #fff; border-radius: clamp(28px, 6vw, 48px); padding: clamp(30px, 6vw, 58px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; box-shadow: var(--shadow-md); overflow: hidden; position: relative; }
.cta-band::after { content: ""; position: absolute; right: -90px; top: -130px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255, 255, 255, .28); animation: meshShift 14s ease-in-out infinite alternate; }
.cta-band h2 { position: relative; margin: 0 0 10px; font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1.15; letter-spacing: -.03em; color:#fff; } /* solid white on brand gradient */
.cta-band p { position: relative; max-width: 720px; margin: 0; color:#fff; font-size: 1.06rem; } /* solid white on brand gradient */

.site-footer { background: radial-gradient(circle at top left, rgba(215, 255, 74, .12), transparent 34%), #07130f; color:#f4fff3; padding-block: 42px; }
.footer-grid { display: grid; grid-template-columns: minmax(220px, .9fr) repeat(2, minmax(160px, .5fr)); gap: 34px; align-items: start; }
.footer-brand h2 { margin: 0 0 10px; color: #fff; font-size: 1.2rem; letter-spacing: .08em; }
.footer-brand p { margin: 0; max-width: 360px; color:rgba(244, 255, 243, .86); }
.footer-nav ul { display: grid; gap: 8px; list-style: none; padding: 0; margin: 0; }
.footer-nav a { text-decoration: none; color:rgba(244, 255, 243, .86); transition: color .18s ease; }
.footer-nav a:hover { color: var(--color-primary); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 34px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; color:rgba(244, 255, 243, .78); font-size: .88rem; }

.archive-header { background: #fff; border-bottom: 1px solid var(--color-border); padding-block: clamp(40px, 7vw, 76px); color:#1a5c47; } /* solid white for light bg */
.archive-title h1 { margin: 0; color: #1a5c47; font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.08; letter-spacing: -.04em; } /* lighter green */
.archive-title p { max-width: 760px; margin: 16px 0 0; color: rgba(15,61,46,.82); font-size: 1.05rem; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.main-column { min-width: 0; }
.post-list { display: grid; gap: 16px; }
.post-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.post-card:hover { transform: translateY(-4px); border-color: rgba(215, 255, 74, .36); box-shadow: var(--shadow-md); }
.post-card h2 { margin-top: 18px; margin-bottom: 0; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.25; letter-spacing: -.03em; color:#1a5c47; } /* lighter green */
.post-card p { color: rgba(15,61,46,.78); }
.post-card__media { display:block; overflow:hidden; border-radius: calc(var(--radius-lg) - 6px); background: rgba(7,19,15,.86); box-shadow: inset 0 0 0 1px rgba(244,255,243,.06); }
.post-card__media img { display:block; width:100%; height:clamp(190px, 26vw, 270px); object-fit:cover; transition: transform .35s ease, filter .35s ease; }
.post-card__media:hover img { transform: scale(1.04); filter:saturate(1.08) contrast(1.03); }

.sidebar { position: sticky; top: 96px; display: grid; gap: 18px; align-self: start; }
.widget { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.widget:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.widget h3 { margin: 0 0 14px; font-size: 1rem; color:#1a5c47; letter-spacing: .08em; text-transform: uppercase; } /* lighter green */
.widget ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.widget a { text-decoration: none; color:#1a5c47; } /* lighter green for light bg */

.article-header { background: linear-gradient(135deg, rgba(215, 255, 74, .08), transparent 46%), var(--color-bg); border-bottom: 1px solid var(--color-border); padding-block: clamp(36px, 7vw, 70px); }
.article-content { display: grid; gap: 24px; font-size: 1.08rem; color:#f4fff3; }
.article-content h2, .article-content h3 { color:#fff; line-height: 1.35; letter-spacing: -.02em; }
.article-content p { margin-block: 1em; color:#0f3d2e; } /* dark green for light bg */

.search-results { display: grid; gap: 16px; }
.search-result { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.search-result:hover { transform: translateY(-4px); border-color: rgba(0, 229, 255, .36); box-shadow: var(--shadow-md); }
.search-result h2 { margin: 8px 0 0; font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.35; letter-spacing: -.02em; color:#1a5c47; } /* lighter green */

.error-box { background: #fff; border: 1px solid rgba(255, 111, 97, .32); color: rgba(15,61,46,.82); padding: clamp(28px, 6vw, 56px); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.error-box h1 { margin: 0; color: #c73a2e; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.04em; }

@keyframes markSpin { to { transform: rotate(360deg); } }
@keyframes meshShift { 0% { transform: translate3d(-2%, -1%, 0) scale(1); } 100% { transform: translate3d(4%, 3%, 0) scale(1.08); } }
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }



@media (max-width: 980px) {
  .top-strip__inner { align-items: center; flex-direction: row; gap: 12px; padding-block: 6px; }
  .primary-navigation { min-height: auto; padding-bottom: 12px; flex-wrap: wrap; position: relative; }
  .menu-toggle { display: inline-flex; order: 3; margin-left: auto; }
  .site-search { width: 100%; order: 4; }
  .primary-navigation ul {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-top: 0;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 10px;
    box-shadow: var(--shadow-sm);
  }
  .menu-toggle:checked ~ ul { display: flex; }
  .primary-navigation a { width: 100%; justify-content: space-between; min-height: 42px; font-size: .95rem; white-space: nowrap; color: #0f3d2e; }
  .hero__grid, .intro-grid, .cta-band { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-item { align-items: flex-start; grid-template-columns: 1fr; gap: 8px; }
  .news-item__date { text-align: left; }
  .news-item a { white-space: normal; }
  .company-info-list { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  :root { --container: 100%; }
  .brand__tagline { display: none; }
  .hero-card { grid-template-columns: 1fr; }
  .project-grid, .sidebar { grid-template-columns: 1fr; }
  .section__header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}



.js [data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(8px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1), filter .7s ease; }
.js .is-visible[data-reveal] { opacity: 1; transform: translateY(0); filter: blur(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
}

