/*!
Theme Name: cgm-safety
Theme URI: http://underscores.me/
Author: Arshit Dhameliya
Author URI: https://arshitdhameliya.com/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: cgm-safety
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
  --navy : #102a43;
  --orange : #bc642b;
  --paper : #faf9f6;
  --muted : #536474;
  --line : #d7dde1;
}
* {
  box-sizing : border-box;
}
html {
  scroll-behavior : smooth;
  scroll-padding-top : 105px;
}
body {
  margin : 0;
  background : var(--paper);
  color : var(--navy);
  font-family : Arial, Helvetica, sans-serif;
  -webkit-font-smoothing : antialiased;
}
a {
  color : inherit;
  text-decoration : none;
}
p {
  line-height : 1.8;
}
button, input, select, textarea {
  font : inherit;
}
header {
  height : 100px;
  padding : 12px 6%;
  background : #fff;
  display : flex;
  align-items : center;
  justify-content : space-between;
  position : sticky;
  top : 0;
  z-index : 10;
  border-bottom : 1px solid var(--line);
}
.brand {
  display : flex;
  align-items : center;
  gap : 16px;
  font-size : 18px;
  font-weight : 700;
  letter-spacing : 1.5px;
}
.brand img {
  width : 85px;
  height : 74px;
  object-fit : contain;
}
.brand small {
  display : block;
  font-size : 8px;
  letter-spacing : 1.3px;
  margin-top : 8px;
}
nav {
  display : flex;
  gap : 28px;
  align-items : center;
  font-size : 12px;
  font-weight : 600;
}
.navcta {
  border : 1px solid var(--navy);
  padding : 15px 20px;
}
.menu {
  display : none;
}
.hero {
  position : relative;
  display : grid;
  grid-template-columns : 1fr 1fr;
  min-height : 680px;
  background : #f1f2ef;
  overflow : hidden;
}
.hero-photo {
  position : absolute;
  right : 0;
  top : 0;
  width : 49%;
  height : 100%;
  object-fit : cover;
  object-position : 67% center;
}
.hero-copy {
  position : relative;
  padding : 88px 6vw 92px;
  grid-column : 1;
  max-width : 850px;
}
.eyebrow {
  font-size : 10px;
  font-weight : 700;
  letter-spacing : 2px;
  color : var(--orange);
  margin : 0 0 27px;
  line-height : 1.7;
}
h1 {
  font-size : clamp(43px, 4.7vw, 72px);
  font-weight : 500;
  line-height : 1.06;
  letter-spacing : -3px;
  margin : 0 0 30px;
}
h1 em {
  font-family : Georgia, serif;
  font-weight : 400;
}
.intro {
  font-size : 17px;
  line-height : 1.8;
  color : var(--muted);
  max-width : 440px;
}
.actions {
  display : flex;
  gap : 25px;
  align-items : center;
  flex-wrap : wrap;
  margin-top : 32px;
}
.button {
  display : flex;
  align-items : center;
  justify-content : space-between;
  gap : 30px;
  padding : 18px 23px;
  background : var(--navy);
  color : #fff;
  border : 0;
  font-size : 12px;
  cursor : pointer;
}
.button:hover,
.navcta:hover {
  background : #274a67;
  color : #fff;
}
.textlink {
  font-size : 12px;
  border-bottom : 1px solid #a4b0b8;
  padding-bottom : 7px;
  font-weight : 600;
}
.hero-note {
  font-size : 11px;
  color : var(--muted);
  margin-top : 40px;
}
.dot {
  display : inline-block;
  width : 6px;
  height : 6px;
  background : var(--orange);
  margin-right : 7px;
}
.hero-caption {
  position : absolute;
  right : 3%;
  bottom : 30px;
  max-width : 42%;
  color : #fff;
  background : #102a43ed;
  padding : 20px 24px;
  border-left : 2px solid #dc975a;
}
.hero-caption span {
  display : block;
  font-size : 8px;
  letter-spacing : 1.5px;
}
.hero-caption strong {
  display : block;
  font-size : 14px;
  font-weight : 500;
  margin-top : 8px;
}
.hero-caption small {
  display : block;
  font-size : 9px;
  color : #c7d4df;
  margin-top : 8px;
}
.strip {
  display : flex;
  align-items : center;
  gap : 35px;
  padding : 28px 6%;
  background : white;
  border-bottom : 1px solid var(--line);
}
.strip p {
  margin : 0 auto 0 0;
  font-size : 13px;
}
.strip div {
  font-size : 10px;
  letter-spacing : 1.5px;
}
.strip>span {
  color : var(--orange);
}
.section {
  padding : 95px 6%;
}
.section-head {
  display : grid;
  grid-template-columns : 1fr 1fr;
  gap : 90px;
  align-items : end;
  margin-bottom : 50px;
}
h2 {
  font-size : clamp(32px, 3.2vw, 49px);
  font-weight : 500;
  line-height : 1.18;
  letter-spacing : -1.8px;
  margin : 0;
}
.section-head>p {
  color : var(--muted);
  font-size : 15px;
  max-width : 490px;
  margin-bottom : 0;
}
.services {
  display : grid;
  grid-template-columns : 1fr 1fr;
  column-gap : 65px;
}
.services article {
  display : grid;
  grid-template-columns : 28px 1fr;
  column-gap : 16px;
  border-top : 1px solid var(--line);
  padding : 28px 0;
}
.services article>span {
  font-size : 10px;
  color : var(--orange);
  padding-top : 6px;
}
.services h3 {
  margin : 0;
  font-size : 20px;
  font-weight : 500;
  letter-spacing : -.3px;
  line-height : 1.4;
}
.services p {
  grid-column : 2;
  font-size : 14px;
  color : var(--muted);
  margin : 12px 0 0;
  max-width : 470px;
}
.scope-note {
  font-size : 11px;
  color : var(--muted);
  border-top : 1px solid var(--line);
  padding-top : 20px;
}
.highrise {
  display : grid;
  grid-template-columns : 1fr 1fr;
  gap : 70px;
  align-items : center;
  background : #e9edef;
}
.highrise-image {
  height : 580px;
  position : relative;
  overflow : hidden;
}
.highrise-image img {
  width : 100%;
  height : 100%;
  object-fit : cover;
  object-position : 78% center;
}
.highrise-image>span {
  position : absolute;
  bottom : 0;
  left : 0;
  right : 0;
  padding : 25px 20px;
  background : #102a43ed;
  font-size : 9px;
  letter-spacing : 1.5px;
  color : #fff;
  line-height : 1.8;
}
.highrise-copy>p:not(.eyebrow) {
  font-size : 15px;
  color : var(--muted);
}
.highrise ul {
  padding : 0;
  list-style : none;
  margin : 30px 0;
}
.highrise li {
  border-top : 1px solid #c8d1d7;
  padding : 15px 0;
}
.highrise li strong {
  font-size : 14px;
  font-weight : 600;
  display : block;
}
.highrise li span {
  display : block;
  font-size : 13px;
  color : var(--muted);
  line-height : 1.7;
  margin-top : 6px;
}
.approach {
  background : var(--navy);
  color : #fff;
}
.approach .eyebrow {
  color : #dfa571;
}
.approach .section-head>p, .steps p {
  color : #c6d2dd;
}
.steps {
  display : grid;
  grid-template-columns : repeat(4, 1fr);
  gap : 35px;
}
.steps article {
  border-top : 1px solid #52677a;
  padding-top : 23px;
}
.steps b {
  font-family : Georgia, serif;
  font-weight : 400;
  font-size : 35px;
  color : #dfa571;
}
.steps h3 {
  font-size : 18px;
  line-height : 1.4;
  font-weight : 500;
  margin-top : 25px;
}
.steps p {
  font-size : 13px;
}
.about {
  display : grid;
  grid-template-columns : 1fr 1fr;
  gap : 90px;
}
.about .large {
  font-family : Georgia, serif;
  font-size : 24px;
  line-height : 1.55;
  margin-top : 0;
}
  .about p:not(.large):not(.eyebrow) {
  color : var(--muted);
  font-size : 14px;
}
.contact {
  display : grid;
  grid-template-columns : 1fr 1.1fr;
  gap : 90px;
  background : #e9edef;
}
.contact>div>p:not(.eyebrow) {
  font-size : 15px;
  color : var(--muted);
  max-width : 380px;
}
.contact-link {
  display : block;
  font-size : 31px;
  letter-spacing : -.6px;
  margin-top : 30px;
}
.email {
  display : block;
  font-size : 14px;
  margin-top : 15px;
  overflow-wrap : anywhere;
}
.contact .person {
  font-size : 12px;
  margin-top : 25px;
}
form {
  display : grid;
  grid-template-columns : 1fr 1fr;
  gap : 20px;
  align-content : start;
}
label {
  font-size : 12px;
  font-weight : 600;
}
input, select, textarea {
  width : 100%;
  min-width : 0;
  display : block;
  background : #fff;
  border : 1px solid #c8d2d9;
  border-radius : 0;
  padding : 14px;
  font-size : 14px;
  color : var(--navy);
  margin-top : 9px;
}
textarea {
  resize : vertical;
}
.wide {
  grid-column : 1/-1;
}
.form-note, #status {
  font-size : 11px;
  color : var(--muted);
  margin : 0;
  line-height : 1.6;
}
footer {
  display : flex;
  align-items : center;
  justify-content : space-between;
  gap : 20px;
  padding : 30px 6%;
  background : white;
  font-size : 11px;
}
footer>span {
  font-weight : 700;
  letter-spacing : 1px;
}
footer p {
  color : var(--muted);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline : 3px solid #bf6b32;
  outline-offset : 4px;
}
.skip {
  position : fixed;
  top : -60px;
  left : 20px;
  background : white;
  padding : 12px;
  z-index : 20;
}
.skip:focus {
  top : 10px;
}
@media(min-width : 1600px) {
  .section {
    padding-left : calc((100vw - 1408px)/2);
    padding-right : calc((100vw - 1408px)/2);
 }
}
@media(max-width : 1050px) {
    .brand small {
        display : none;
    }
    nav {
        gap : 18px;
    }
    .hero-copy {
        padding : 70px 5vw;
    }
    .hero h1 {
        font-size : 49px;
    }
    .section-head, .about, .contact {
        gap : 45px;
    }
    .highrise {
        gap : 35px;
    }
    .services {
        column-gap : 35px;
    }
    .strip {
        gap : 18px;
    }
    .steps {
        gap : 24px;
    }
}
@media(max-width : 760px) {
    header {
        height : 78px;
        padding : 8px 5%;
    }
    .brand img {
        width : 64px;
        height : 58px;
    }
    .brand {
        font-size : 14px;
        gap : 10px;
    }
    .menu {
        display : block;
        padding : 10px 14px;
        background : white;
        color : var(--navy);
        border : 1px solid #c5cfd6;
        font-size : 12px;
    }
    nav {
        display : none;
        position : absolute;
        top : 78px;
        left : 0;
        right : 0;
        padding : 22px 5%;
        background : white;
        flex-direction : column;
        align-items : stretch;
        gap : 22px;
    }
    nav.open {
        display : flex;
    }
	.navcta {
		display: inline-block;
		width: fit-content;
	}
    .hero {
        display : flex;
        flex-direction : column;
        min-height : 0;
    }
    .hero-copy {
        padding : 54px 6% 44px;
        order : 0;
    }
    .hero-photo {
        position : relative;
        order : 1;
        width : 100%;
        height : 330px;
        object-position : center 38%;
    }
    .hero h1 {
        font-size : clamp(41px, 9vw, 60px);
        letter-spacing : -2px;
    }
    .hero-caption {
        bottom : 18px;
        right : 6%;
        max-width : 88%;
        padding : 15px 19px;
    }
    .intro {
        font-size : 16px;
    }
    .hero-note {
        margin-top : 28px;
    }
    .strip {
        padding : 25px 6%;
        flex-wrap : wrap;
        gap : 14px;
    }
    .strip p {
        flex-basis : 100%;
    }
    .strip div {
        font-size : 9px;
    }
    .section {
        padding : 62px 6%;
    }
    .section-head, .about, .contact, .highrise {
        grid-template-columns : 1fr;
        gap : 30px;
    }
    .section-head {
        margin-bottom : 32px;
    }
    h2 {
        font-size : 35px;
    }
    .services {
        column-gap : 25px;
    }
    .services article {
        grid-template-columns : 20px 1fr;
        gap : 10px;
    }
    .services h3 {
        font-size : 18px;
    }
    .services p {
        font-size : 13px;
    }
    .highrise-image {
        height : 380px;
    }
    .steps {
        grid-template-columns : 1fr 1fr;
        gap : 30px;
    }
    .about .large {
        font-size : 23px;
    }
    footer {
        flex-wrap : wrap;
    }
    footer p {
        flex-basis : 100%;
        order : 3;
        margin : 0;
    }
}
@media(max-width : 460px) {
    .services{
        grid-template-columns : 1fr;
    }
    form {
        grid-template-columns : 1fr;
    }
    .contact-link {
        font-size : 28px;
    }
    .hero .eyebrow {
        font-size : 9px;
        letter-spacing : 1.4px;
    }
    .hero-caption strong {
        font-size : 12px;
    }
    .steps {
        gap : 20px;
    }
    .steps h3 {
        font-size : 16px;
    }
    .actions {
        gap : 20px;
    }
}
@media(prefers-reduced-motion : reduce) {
    html {
        scroll-behavior : auto;
    }
}
@media print {
    header, nav, .actions, form, .hero-note, .hero-caption, footer a {
        display : none !important;
    }
    .hero {
        display : block;
        min-height : 0;
    }
    .hero-photo {
        position : relative;
        float : right;
        width : 45%;
        height : 260px;
    }
    .hero-copy {
        padding : 20px 0;
    }
    .section {
        padding : 30px 0;
    }
    .approach {
        background : white;
        color : #102a43;
    }
    .approach .steps p, .approach .section-head>p {
        color : #536474;
    }
    .highrise-image {
        height : 300px;
    }
    body {
        background : white;
    }
    .contact {
        display : block;
    }
    .section, article {
        break-inside : avoid;
    }
}