/*
Theme Name: Set & Motion
Theme URI: https://setmotion.co/
Author: Set & Motion
Description: Minimal black homepage with centered logo, email, and editable contact box.
Version: 1.3.0
Requires at least: 5.0
Tested up to: 6.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: set-motion
*/

:root{
  --sm-bg: #000;
  --sm-fg: #fff;
  --sm-muted: rgba(255,255,255,.72);

  --sm-box-bg: #000;
  --sm-box-fg: #fff;
  --sm-box-muted: rgba(255,255,255,.72);
  --sm-box-line: rgba(255,255,255,.25);
  --sm-box-shadow: 0 18px 48px rgba(0,0,0,.35);
  --sm-radius: 10px;
}

html, body { height: 100%; }

body{
  margin:0;
  background: var(--sm-bg);
  color: var(--sm-fg);
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.sm-main{
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 72px 20px;
}

.sm-wrap{
  width: 100%;
  max-width: 860px;
  display: grid;
  justify-items: center;
  gap: 22px;
}

.sm-logo{
  width: min(280px, 72vw);
  height: auto;
  display:block;
}

.sm-email{
  display:inline-block;
  color: var(--sm-fg);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: .02em;
  opacity: .95;
  border-bottom: 1px solid rgba(255,255,255,.35);
  padding-bottom: 3px;
}
.sm-email:hover,
.sm-email:focus-visible{
  border-bottom-color: rgba(255,255,255,.92);
  outline:none;
}

/* Contact box */
.sm-contact{
  width: 100%;
  display: grid;
  place-items: center;
  margin-top: 22px;
}

.sm-contact__card{
  width: 100%;
  max-width: 820px;
  background: var(--sm-box-bg);
  color: var(--sm-box-fg);
  border: 1px solid var(--sm-box-line);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-box-shadow);
  overflow: hidden;
}

/* Header strip */
.sm-contact__header{
  position: relative;
  padding: 18px 24px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: .02em;
  background: var(--sm-box-bg);
  border-bottom: 1px solid var(--sm-box-line);
}

/* Notch */
.sm-contact__header::after{
  content:"";
  position:absolute;
  left: 24px;
  bottom: -12px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid var(--sm-box-bg);
}
.sm-contact__header::before{
  content:"";
  position:absolute;
  left: 23px;
  bottom: -13px;
  width: 0;
  height: 0;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-top: 13px solid var(--sm-box-line);
  opacity: .9;
}

.sm-contact__body{
  padding: 24px 24px 26px;
}

.sm-contact__grid{
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 1fr;
  gap: 26px;
  align-items: start;
}

.sm-contact__kicker{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sm-box-muted);
  margin: 0 0 10px;
}

.sm-contact__name{
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: .01em;
}

.sm-contact__text{
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.86);
}

.sm-contact__block{ margin-top: 14px; }

.sm-contact__link{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.35);
  padding-bottom: 2px;
}
.sm-contact__link:hover,
.sm-contact__link:focus-visible{
  border-bottom-color: rgba(255,255,255,.95);
  outline:none;
}

.sm-contact__list{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: rgba(255,255,255,.86);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 880px){
  .sm-main{ padding: 60px 18px; }
  .sm-contact__grid{ grid-template-columns: 1fr; gap: 18px; }
  .sm-contact__body{ padding: 22px 18px 22px; }
  .sm-contact__header{ padding: 16px 18px; }
  .sm-contact__header::after{ left: 18px; }
  .sm-contact__header::before{ left: 17px; }
}
